Bonjour,
Je viens d’acquérir un module avec puce SIM800C suite à de bons retours utilisateurs sur ce forum et une carte SIM Free.
J’ai installé le plugin SMS et voici le log. Le démon est NOK.
Merci par avance pour votre aide.
[2021-07-06 14:32:58][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2021-07-06 14:32:59][INFO] : Lancement démon sms : /usr/bin/python /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyUSB0 --loglevel debug --socketport 55002 --serialrate 9600 --pin 1234 --textmode no --smsc +33695000695 --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey mIsROCFLwRSdRHTLC6RJFqOqe6jkVmav --pid /tmp/jeedom/sms/deamon.pid
[2021-07-06 12:33:00][INFO] : Start smsd
[2021-07-06 12:33:00][INFO] : Log level : debug
[2021-07-06 12:33:00][INFO] : Socket port : 55002
[2021-07-06 12:33:00][INFO] : Socket host : 127.0.0.1
[2021-07-06 12:33:00][INFO] : PID file : /tmp/jeedom/sms/deamon.pid
[2021-07-06 12:33:00][INFO] : Device : /dev/ttyUSB0
[2021-07-06 12:33:00][INFO] : Apikey : xxxxxxx
[2021-07-06 12:33:00][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2021-07-06 12:33:00][INFO] : Cycle : 30.0
[2021-07-06 12:33:00][INFO] : Serial rate : 9600
[2021-07-06 12:33:00][INFO] : Pin : 1234
[2021-07-06 12:33:00][INFO] : Text mode : no
[2021-07-06 12:33:00][INFO] : SMSC : +33695000695
[2021-07-06 12:33:00][DEBUG] : Writing PID 3116 to /tmp/jeedom/sms/deamon.pid
[2021-07-06 12:33:00][DEBUG] : Init request module v2.25.1
[2021-07-06 12:33:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-07-06 12:33:00][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxx
HTTP/1.1" 200 0
[2021-07-06 12:33:00][DEBUG] : Socket interface started
[2021-07-06 12:33:00][DEBUG] : LoopNetServer Thread started
[2021-07-06 12:33:00][DEBUG] : Start listening...
[2021-07-06 12:33:00][DEBUG] : Listening on: [127.0.0.1:55002]
[2021-07-06 12:33:00][DEBUG] : Connecting to GSM Modem...
[2021-07-06 12:33:00][DEBUG] : Text mode false
[2021-07-06 12:33:00][DEBUG] : Enter pin code : 1234
[2021-07-06 12:33:00][INFO] : Connecting to modem on port /dev/ttyUSB0 at 9600bps
[2021-07-06 12:33:00][DEBUG] : write: ATZ
[2021-07-06 12:33:00][DEBUG] : response: ['OK']
[2021-07-06 12:33:00][DEBUG] : write: ATE0
[2021-07-06 12:33:00][DEBUG] : response: ['ATE0
', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CFUN?
[2021-07-06 12:33:00][DEBUG] : response: ['+CFUN: 1', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CMEE=1
[2021-07-06 12:33:00][DEBUG] : response: ['OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CPIN?
[2021-07-06 12:33:00][DEBUG] : response: ['+CPIN: READY', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CLAC
[2021-07-06 12:33:00][DEBUG] : response: ['+CME ERROR: 100']
[2021-07-06 12:33:00][DEBUG] : write: AT+WIND?
[2021-07-06 12:33:00][DEBUG] : response: ['+CME ERROR: 100']
[2021-07-06 12:33:00][DEBUG] : write: AT+CGMI
[2021-07-06 12:33:00][DEBUG] : response: ['SIMCOM_Ltd', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+ZPAS?
[2021-07-06 12:33:00][DEBUG] : response: ['+CME ERROR: 100']
[2021-07-06 12:33:00][INFO] : Unknown/generic modem type - will use polling for call state updates
[2021-07-06 12:33:00][DEBUG] : write: AT+COPS=3,0
[2021-07-06 12:33:00][DEBUG] : response: ['OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CMGF=0
[2021-07-06 12:33:00][DEBUG] : response: ['OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CSCA?
[2021-07-06 12:33:00][DEBUG] : response: ['+CSCA: "+33695000695",145', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CSMP=49,167,0,0
[2021-07-06 12:33:00][DEBUG] : response: ['OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CSCA?
[2021-07-06 12:33:00][DEBUG] : response: ['+CSCA: "+33695000695",145', 'OK']
[2021-07-06 12:33:00][DEBUG] : write: AT+CPMS=?
[2021-07-06 12:33:01][DEBUG] : response: ['+CPMS: ("SM","ME","SM_P","ME_P","MT"),("SM","ME","SM_P","ME_P","MT"),("SM","ME","SM_P","ME_P","MT")', 'OK']
[2021-07-06 12:33:01][DEBUG] : write: AT+CPMS="ME","ME","ME"
[2021-07-06 12:33:01][DEBUG] : response: ['+CPMS: 0,0,0,0,0,0', 'OK']
[2021-07-06 12:33:01][DEBUG] : write: AT+CNMI=2,1,0,2
[2021-07-06 12:33:01][DEBUG] : response: ['+CMS ERROR: 325']
[2021-07-06 12:33:01][WARNING] : Incoming SMS notifications not supported by modem. SMS receiving unavailable.
[2021-07-06 12:33:01][DEBUG] : write: AT+CLIP=1
[2021-07-06 12:33:01][DEBUG] : response: ['OK']
[2021-07-06 12:33:01][DEBUG] : write: AT+CRC=1
[2021-07-06 12:33:01][DEBUG] : response: ['OK']
[2021-07-06 12:33:01][DEBUG] : write: AT+CVHU=0
[2021-07-06 12:33:01][DEBUG] : response: ['OK']
[2021-07-06 12:33:01][DEBUG] : Configure smsc : +33695000695
[2021-07-06 12:33:01][DEBUG] : write: AT+CSCA="+33695000695"
[2021-07-06 12:33:01][DEBUG] : response: ['OK']
[2021-07-06 12:33:01][DEBUG] : Waiting for network...
[2021-07-06 12:33:01][DEBUG] : write: AT+CREG?
[2021-07-06 12:33:01][DEBUG] : response: ['+CREG: 0,0', 'OK']
[2021-07-06 12:33:01][ERROR] : Exception: Device not searching for network operator
[2021-07-06 12:33:01][ERROR] : Exit 1 because this exeption is fatal
[2021-07-06 12:33:01][DEBUG] : Send to jeedom : {'message': 'Device not searching for network operator', 'number': 'none'}
[2021-07-06 12:33:01][DEBUG] : Shutdown
[2021-07-06 12:33:01][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-07-06 12:33:01][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid
[2021-07-06 12:33:01][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxx
HTTP/1.1" 200 0
[2021-07-06 12:33:01][DEBUG] : LoopNetServer Thread stopped
[2021-07-06 12:33:01][DEBUG] : Exit 0