Démon SMS ne démarre pas

Bonjour, je dispose de 2 rpi identiques sur 2 sites différents
tous les 2 sont en 4.4.19
tous les 2 ont le même module serie usb vers GSM SIM800C (voir photo jointe)
sur le premier RPI tout est ok et sur le second, pas moyen de démarrer le démon
voici le log

[2025-02-06 16:11:46] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-02-06 16:11:48] INFO  : Lancement démon sms : python3  /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey xxxxx
--pid /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:11:48] INFO  : Start smsd
[2025-02-06 16:11:48] INFO  : Log level : debug
[2025-02-06 16:11:48] INFO  : Socket port : 55002
[2025-02-06 16:11:48] INFO  : Socket host : 127.0.0.1
[2025-02-06 16:11:48] INFO  : PID file : /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:11:48] INFO  : Device : /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
[2025-02-06 16:11:48] INFO  : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2025-02-06 16:11:48] INFO  : Cycle : 30.0
[2025-02-06 16:11:48] INFO  : Serial rate : 115200
[2025-02-06 16:11:48] INFO  : Pin : None
[2025-02-06 16:11:48] INFO  : Text mode : no
[2025-02-06 16:11:48] INFO  : SMSC : None
[2025-02-06 16:11:48] DEBUG  : Writing PID 16437 to /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:11:48] DEBUG  : Init request module v2.32.3
[2025-02-06 16:11:48] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:11:48] DEBUG  : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxx HTTP/1.1" 200 0
[2025-02-06 16:11:48] DEBUG  : Socket interface started
[2025-02-06 16:11:48] DEBUG  : LoopNetServer Thread started
[2025-02-06 16:11:48] DEBUG  : Start listening...
[2025-02-06 16:11:48] DEBUG  : Listening on: [127.0.0.1:55002]
[2025-02-06 16:11:48] DEBUG  : Connecting to GSM Modem...
[2025-02-06 16:11:48] DEBUG  : Text mode false
[2025-02-06 16:11:48] INFO  : Connecting to modem on port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 at 115200bps
[2025-02-06 16:11:48] DEBUG  : write: AT
[2025-02-06 16:11:48] DEBUG  : response: ['OK']
[2025-02-06 16:11:48] DEBUG  : write: ATZ
[2025-02-06 16:11:48] DEBUG  : response: ['OK']
[2025-02-06 16:11:48] DEBUG  : write ATZ done
[2025-02-06 16:11:48] DEBUG  : write: ATE0
[2025-02-06 16:11:48] DEBUG  : response: ['ATE0\r', 'OK']
[2025-02-06 16:11:48] DEBUG  : write: AT+CFUN?
[2025-02-06 16:11:48] DEBUG  : response: ['+CFUN: 1', 'OK']
[2025-02-06 16:11:48] DEBUG  : write: AT+CMEE=1
[2025-02-06 16:11:48] DEBUG  : response: ['OK']
[2025-02-06 16:11:48] DEBUG  : write: AT+CPIN?
[2025-02-06 16:11:48] DEBUG  : response: ['+CME ERROR: 10']
[2025-02-06 16:11:48] ERROR  : Global listen exception of type CmeError occurred: CME 10
[2025-02-06 16:11:48] DEBUG  : Send to jeedom :  {'number': 'none', 'message': 'CME 10'}
[2025-02-06 16:11:48] ERROR  : Exit 1 because this exeption is fatal
[2025-02-06 16:11:48] DEBUG  : Shutdown
[2025-02-06 16:11:48] DEBUG  : Removing PID file /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:11:48] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:11:48] DEBUG  : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxx HTTP/1.1" 200 0
[2025-02-06 16:11:48] DEBUG  : LoopNetServer Thread stopped
[2025-02-06 16:11:48] DEBUG  : Exit 0
[2025-02-06 16:12:19] ERROR  : Impossible de lancer le démon sms, vérifiez le port
[2025-02-06 16:15:03] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-02-06 16:15:04] INFO  : Lancement démon sms : python3  /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey xxxx
--pid /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:15:05] INFO  : Start smsd
[2025-02-06 16:15:05] INFO  : Log level : debug
[2025-02-06 16:15:05] INFO  : Socket port : 55002
[2025-02-06 16:15:05] INFO  : Socket host : 127.0.0.1
[2025-02-06 16:15:05] INFO  : PID file : /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:15:05] INFO  : Device : /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
[2025-02-06 16:15:05] INFO  : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2025-02-06 16:15:05] INFO  : Cycle : 30.0
[2025-02-06 16:15:05] INFO  : Serial rate : 115200
[2025-02-06 16:15:05] INFO  : Pin : None
[2025-02-06 16:15:05] INFO  : Text mode : no
[2025-02-06 16:15:05] INFO  : SMSC : None
[2025-02-06 16:15:05] DEBUG  : Writing PID 17125 to /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:15:05] DEBUG  : Init request module v2.32.3
[2025-02-06 16:15:05] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:15:05] DEBUG  : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxx HTTP/1.1" 200 0
[2025-02-06 16:15:05] DEBUG  : Socket interface started
[2025-02-06 16:15:05] DEBUG  : LoopNetServer Thread started
[2025-02-06 16:15:05] DEBUG  : Start listening...
[2025-02-06 16:15:05] DEBUG  : Listening on: [127.0.0.1:55002]
[2025-02-06 16:15:05] DEBUG  : Connecting to GSM Modem...
[2025-02-06 16:15:05] DEBUG  : Text mode false
[2025-02-06 16:15:05] INFO  : Connecting to modem on port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 at 115200bps
[2025-02-06 16:15:05] DEBUG  : write: AT
[2025-02-06 16:15:05] DEBUG  : response: ['OK']
[2025-02-06 16:15:05] DEBUG  : write: ATZ
[2025-02-06 16:15:05] DEBUG  : response: ['OK']
[2025-02-06 16:15:05] DEBUG  : write ATZ done
[2025-02-06 16:15:05] DEBUG  : write: ATE0
[2025-02-06 16:15:05] DEBUG  : response: ['ATE0\r', 'OK']
[2025-02-06 16:15:05] DEBUG  : write: AT+CFUN?
[2025-02-06 16:15:05] DEBUG  : response: ['+CFUN: 1', 'OK']
[2025-02-06 16:15:05] DEBUG  : write: AT+CMEE=1
[2025-02-06 16:15:05] DEBUG  : response: ['OK']
[2025-02-06 16:15:05] DEBUG  : write: AT+CPIN?
[2025-02-06 16:15:05] DEBUG  : response: ['+CME ERROR: 10']
[2025-02-06 16:15:05] ERROR  : Global listen exception of type CmeError occurred: CME 10
[2025-02-06 16:15:05] DEBUG  : Send to jeedom :  {'number': 'none', 'message': 'CME 10'}
[2025-02-06 16:15:05] ERROR  : Exit 1 because this exeption is fatal
[2025-02-06 16:15:05] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:15:05] DEBUG  : Shutdown
[2025-02-06 16:15:05] DEBUG  : Removing PID file /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:15:05] DEBUG  : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxx HTTP/1.1" 200 0
[2025-02-06 16:15:05] DEBUG  : LoopNetServer Thread stopped
[2025-02-06 16:15:05] DEBUG  : Exit 0
[2025-02-06 16:15:35] ERROR  : Impossible de lancer le démon sms, vérifiez le port
[2025-02-06 16:20:03] ERROR  : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-02-06 16:20:04] INFO  : Lancement démon sms : python3  /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 --loglevel debug --socketport 55002 --serialrate 115200 --pin None --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey xxx --pid /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:20:04] INFO  : Start smsd
[2025-02-06 16:20:04] INFO  : Log level : debug
[2025-02-06 16:20:04] INFO  : Socket port : 55002
[2025-02-06 16:20:04] INFO  : Socket host : 127.0.0.1
[2025-02-06 16:20:04] INFO  : PID file : /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:20:04] INFO  : Device : /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
[2025-02-06 16:20:04] INFO  : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2025-02-06 16:20:04] INFO  : Cycle : 30.0
[2025-02-06 16:20:04] INFO  : Serial rate : 115200
[2025-02-06 16:20:04] INFO  : Pin : None
[2025-02-06 16:20:04] INFO  : Text mode : no
[2025-02-06 16:20:04] INFO  : SMSC : None
[2025-02-06 16:20:04] DEBUG  : Writing PID 17848 to /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:20:04] DEBUG  : Init request module v2.32.3
[2025-02-06 16:20:04] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:20:04] DEBUG  : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxx HTTP/1.1" 200 0
[2025-02-06 16:20:04] DEBUG  : Socket interface started
[2025-02-06 16:20:04] DEBUG  : LoopNetServer Thread started
[2025-02-06 16:20:04] DEBUG  : Start listening...
[2025-02-06 16:20:04] DEBUG  : Listening on: [127.0.0.1:55002]
[2025-02-06 16:20:04] DEBUG  : Connecting to GSM Modem...
[2025-02-06 16:20:04] DEBUG  : Text mode false
[2025-02-06 16:20:04] INFO  : Connecting to modem on port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 at 115200bps
[2025-02-06 16:20:04] DEBUG  : write: AT
[2025-02-06 16:20:04] DEBUG  : response: ['OK']
[2025-02-06 16:20:04] DEBUG  : write: ATZ
[2025-02-06 16:20:04] DEBUG  : response: ['OK']
[2025-02-06 16:20:04] DEBUG  : write ATZ done
[2025-02-06 16:20:04] DEBUG  : write: ATE0
[2025-02-06 16:20:04] DEBUG  : response: ['ATE0\r', 'OK']
[2025-02-06 16:20:04] DEBUG  : write: AT+CFUN?
[2025-02-06 16:20:04] DEBUG  : response: ['+CFUN: 1', 'OK']
[2025-02-06 16:20:04] DEBUG  : write: AT+CMEE=1
[2025-02-06 16:20:04] DEBUG  : response: ['OK']
[2025-02-06 16:20:04] DEBUG  : write: AT+CPIN?
[2025-02-06 16:20:04] DEBUG  : response: ['+CME ERROR: 10']
[2025-02-06 16:20:04] ERROR  : Global listen exception of type CmeError occurred: CME 10
[2025-02-06 16:20:04] DEBUG  : Send to jeedom :  {'number': 'none', 'message': 'CME 10'}
[2025-02-06 16:20:04] ERROR  : Exit 1 because this exeption is fatal
[2025-02-06 16:20:04] DEBUG  : Starting new HTTP connection (1): 127.0.0.1:80
[2025-02-06 16:20:04] DEBUG  : Shutdown
[2025-02-06 16:20:04] DEBUG  : Removing PID file /tmp/jeedom/sms/deamon.pid
[2025-02-06 16:20:04] DEBUG  : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxx HTTP/1.1" 200 0
[2025-02-06 16:20:05] DEBUG  : LoopNetServer Thread stopped
[2025-02-06 16:20:05] DEBUG  : Exit 0
[2025-02-06 16:20:35] ERROR  : Impossible de lancer le démon sms, vérifiez le port

Pouvez vous m’aider merci d’avance

:thinking:

oui le port a été verifié avec la commande
ls -l /dev/serial/by-id

Et le choix du port dans le plugin?

Choisissez un autre du coup si celui là ne va pas.

Avez-vous cherché parmi les Sujets avec l'étiquette plugin-sms ?

Des questions similaires existent.

je pense avoir trouvé le pb : ma clé GSM ne fait que du 2G or en testant ma carte sim (free à 2€) sur un telephone portable en 2G je n’ai pas de connexion réseau…
cela fait partie du démantelement programmé de la 2G…
sur mon autre site le 2G fonctionne encore
quelle clé USB supportant la 4G pouvez vous me conseiller compatible avec jeedom

merci

Ça, c’est plutôt lorsque tu as ce type de logs.

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.