Hello,
j’ai suivi cette doc:
https://doc.jeedom.com/fr_FR/plugins/communication/sms/
J’ai acheté une clé Huawei E220 avec une SIM Free à 2€. testé sur le tel, le sms fonctionne bien.
Par contre comme bcp deamon KO. Je suis a jour sur le jeedom core et le plugin sms.
[2024-08-28 22:25:03] INFO : Lancement démon sms : /usr/bin/python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 --loglevel debug --socketport 55002 --serialrate 115200 --pin 1234 --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey VYpaDA7hr9lHxxxxQn0aLpVF --pid /tmp/jeedom/sms/deamon.pid
[2024-08-28 22:25:03] INFO : Start smsd
[2024-08-28 22:25:03] INFO : Log level : debug
[2024-08-28 22:25:03] INFO : Socket port : 55002
[2024-08-28 22:25:03] INFO : Socket host : 127.0.0.1
[2024-08-28 22:25:03] INFO : PID file : /tmp/jeedom/sms/deamon.pid
[2024-08-28 22:25:03] INFO : Device : /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0
[2024-08-28 22:25:03] INFO : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2024-08-28 22:25:03] INFO : Cycle : 30.0
[2024-08-28 22:25:03] INFO : Serial rate : 115200
[2024-08-28 22:25:03] INFO : Pin : 1234
[2024-08-28 22:25:03] INFO : Text mode : no
[2024-08-28 22:25:03] INFO : SMSC : None
[2024-08-28 22:25:03] DEBUG : Writing PID 43057 to /tmp/jeedom/sms/deamon.pid
[2024-08-28 22:25:03] DEBUG : Init request module v2.31.0
[2024-08-28 22:25:03] DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2024-08-28 22:25:03] DEBUG : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=VYpaDA7hr9lHxxx7YNXQn0aLpVF HTTP/1.1" 200 0
[2024-08-28 22:25:03] DEBUG : Socket interface started
[2024-08-28 22:25:03] DEBUG : LoopNetServer Thread started
[2024-08-28 22:25:03] DEBUG : Start listening...
[2024-08-28 22:25:03] DEBUG : Listening on: [127.0.0.1:55002]
[2024-08-28 22:25:03] DEBUG : Connecting to GSM Modem...
[2024-08-28 22:25:03] DEBUG : Text mode false
[2024-08-28 22:25:03] DEBUG : Enter pin code : 1234
[2024-08-28 22:25:03] INFO : Connecting to modem on port /dev/serial/by-id/usb-HUAWEI_Technologies_HUAWEI_Mobile-if00-port0 at 115200bps
[2024-08-28 22:25:03] DEBUG : write: AT
[2024-08-28 22:25:03] DEBUG : response: ['OK']
[2024-08-28 22:25:03] DEBUG : write: ATZ
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write ATZ done
[2024-08-28 22:25:04] DEBUG : write: ATE0
[2024-08-28 22:25:04] DEBUG : response: ['ATE0\r', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CFUN?
[2024-08-28 22:25:04] DEBUG : response: ['+CFUN: 1', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CMEE=1
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CPIN?
[2024-08-28 22:25:04] DEBUG : response: ['+CPIN: READY', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CLAC
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT^CVOICE=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT+VTS=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT^DTMF=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT^USSDMODE=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT+WIND=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT+ZPAS=?
[2024-08-28 22:25:04] DEBUG : response: ['COMMAND NOT SUPPORT']
[2024-08-28 22:25:04] DEBUG : write: AT+CSCS=?
[2024-08-28 22:25:04] DEBUG : response: ['+CSCS: ("IRA","GSM","UCS2")', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CNUM=?
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CGMI
[2024-08-28 22:25:04] DEBUG : response: ['huawei', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CGMI
[2024-08-28 22:25:04] DEBUG : response: ['huawei', 'OK']
[2024-08-28 22:25:04] INFO : Loading Huawei call state update table
[2024-08-28 22:25:04] DEBUG : write: AT+COPS=3,0
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CMGF=0
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CSCA?
[2024-08-28 22:25:04] DEBUG : response: ['+CSCA: "+33695000695",145', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CSMP=49,167,0,0
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CSCA?
[2024-08-28 22:25:04] DEBUG : response: ['+CSCA: "+33695000695",145', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CPMS=?
[2024-08-28 22:25:04] DEBUG : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CPMS="ME","ME","ME"
[2024-08-28 22:25:04] DEBUG : response: ['+CPMS: 0,255,0,255,0,255', 'OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CNMI=2,1,0,2
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CLIP=1
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CRC=1
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : write: AT+CVHU=0
[2024-08-28 22:25:04] DEBUG : response: ['OK']
[2024-08-28 22:25:04] DEBUG : Waiting for network...
[2024-08-28 22:25:04] DEBUG : write: AT+CREG?
[2024-08-28 22:25:04] DEBUG : response: ['+CREG: 0,0', 'OK']
[2024-08-28 22:25:04] ERROR : Global listen exception of type InvalidStateException occurred: Device not searching for network operator
[2024-08-28 22:25:04] DEBUG : Send to jeedom : {'number': 'none', 'message': 'Device not searching for network operator'}
[2024-08-28 22:25:04] ERROR : Exit 1 because this exeption is fatal
[2024-08-28 22:25:04] DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2024-08-28 22:25:04] DEBUG : Shutdown
[2024-08-28 22:25:04] DEBUG : Removing PID file /tmp/jeedom/sms/deamon.pid
[2024-08-28 22:25:04] DEBUG : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=VYpaDA7hrxxxs7YNXQn0aLpVF HTTP/1.1" 200 0
[2024-08-28 22:25:04] DEBUG : LoopNetServer Thread stopped
[2024-08-28 22:25:04] DEBUG : Exit 0
[2024-08-28 22:25:34] ERROR : Impossible de lancer le démon sms, vérifiez le port
Je ne vois pas quoi faire, j’ai suivi à la lettre la doc
Sans oublier la page santé