[2020-07-20 10:20:04][DEBUG] : write: ATZ [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: ATE0 [2020-07-20 10:20:04][DEBUG] : response: ['ATE0 ', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CFUN? [2020-07-20 10:20:04][DEBUG] : response: ['+CFUN: 1', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CMEE=1 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CPIN? [2020-07-20 10:20:04][DEBUG] : response: ['+CPIN: READY', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CLAC [2020-07-20 10:20:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:20:04][DEBUG] : write: AT+WIND? [2020-07-20 10:20:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:20:04][DEBUG] : write: AT+CGMI [2020-07-20 10:20:04][DEBUG] : response: ['huawei', 'OK'] [2020-07-20 10:20:04][INFO] : Loading Huawei call state update table [2020-07-20 10:20:04][DEBUG] : write: AT+COPS=3,0 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CMGF=0 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:20:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CSMP=49,167,0,0 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:20:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CPMS=? [2020-07-20 10:20:04][DEBUG] : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:20:04][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CNMI=2,1,0,2 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CLIP=1 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CRC=1 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : write: AT+CVHU=0 [2020-07-20 10:20:04][DEBUG] : response: ['OK'] [2020-07-20 10:20:04][DEBUG] : Waiting for network... [2020-07-20 10:20:04][DEBUG] : write: AT+CREG? [2020-07-20 10:20:04][DEBUG] : response: ['+CREG: 0,1', 'OK'] [2020-07-20 10:20:05][DEBUG] : write: AT+CSQ [2020-07-20 10:20:05][DEBUG] : response: ['+CSQ: 11,99', 'OK'] [2020-07-20 10:20:05][DEBUG] : Ok [2020-07-20 10:20:05][DEBUG] : write: AT+COPS? [2020-07-20 10:20:05][DEBUG] : response: ['+COPS: 0,0,"Orange F",0', 'OK'] [2020-07-20 10:20:05][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:20:05][DEBUG] : Send to jeedom : {'message': 'Orange F', 'number': 'network_name'} [2020-07-20 10:20:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:20:05][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:20:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:20:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:20:05][DEBUG] : response: ['OK'] [2020-07-20 10:20:05][DEBUG] : write: AT+CPMS="SM","SM","SM" [2020-07-20 10:20:05][DEBUG] : response: ['+CPMS: 0,50,0,50,0,50', 'OK'] [2020-07-20 10:20:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:20:05][DEBUG] : response: ['OK'] [2020-07-20 10:20:35][DEBUG] : write: AT+CREG? [2020-07-20 10:20:35][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:36][DEBUG] : write: AT+CREG? [2020-07-20 10:20:36][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:37][DEBUG] : write: AT+CREG? [2020-07-20 10:20:37][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:38][DEBUG] : write: AT+CREG? [2020-07-20 10:20:38][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:39][DEBUG] : write: AT+CREG? [2020-07-20 10:20:39][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:40][DEBUG] : write: AT+CREG? [2020-07-20 10:20:40][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:41][DEBUG] : write: AT+CREG? [2020-07-20 10:20:41][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:42][DEBUG] : write: AT+CREG? [2020-07-20 10:20:42][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:20:43][DEBUG] : write: AT+CREG? [2020-07-20 10:20:43][DEBUG] : response: ['+CREG: 0,0', 'OK'] [2020-07-20 10:20:43][ERROR] : Exception on GSM : Device not searching for network operator [2020-07-20 10:20:43][ERROR] : Exit 1 because this exeption is fatal [2020-07-20 10:20:43][DEBUG] : Shutdown [2020-07-20 10:20:43][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid [2020-07-20 10:20:43][DEBUG] : LoopNetServer Thread stopped [2020-07-20 10:20:43][DEBUG] : Exit 0 [2020-07-20 10:25:04][INFO] : Start smsd [2020-07-20 10:25:04][INFO] : Log level : debug [2020-07-20 10:25:04][INFO] : Socket port : 55002 [2020-07-20 10:25:04][INFO] : Socket host : 127.0.0.1 [2020-07-20 10:25:04][INFO] : PID file : /tmp/jeedom/sms/deamon.pid [2020-07-20 10:25:04][INFO] : Device : auto [2020-07-20 10:25:04][INFO] : Apikey : mXK7HYsN5CwS2pwgPwsRCct7dUVLWVxe [2020-07-20 10:25:04][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php [2020-07-20 10:25:04][INFO] : Cycle : 30.0 [2020-07-20 10:25:04][INFO] : Serial rate : 115200 [2020-07-20 10:25:04][INFO] : Pin : 0000 [2020-07-20 10:25:04][INFO] : Text mode : no [2020-07-20 10:25:04][INFO] : SMSC : None [2020-07-20 10:25:04][INFO] : Find device : /dev/ttyUSB1 [2020-07-20 10:25:04][DEBUG] : Writing PID 18085 to /tmp/jeedom/sms/deamon.pid [2020-07-20 10:25:04][DEBUG] : Init request module v2.12.4 [2020-07-20 10:25:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:25:04][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:25:04][DEBUG] : Socket interface started [2020-07-20 10:25:04][DEBUG] : LoopNetServer Thread started [2020-07-20 10:25:04][DEBUG] : Start listening... [2020-07-20 10:25:04][DEBUG] : Listening on: [127.0.0.1:55002] [2020-07-20 10:25:04][DEBUG] : Connecting to GSM Modem... [2020-07-20 10:25:04][DEBUG] : Text mode false [2020-07-20 10:25:04][DEBUG] : Enter pin code : 0000 [2020-07-20 10:25:04][INFO] : Connecting to modem on port /dev/ttyUSB1 at 115200bps [2020-07-20 10:25:04][DEBUG] : write: ATZ [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: ATE0 [2020-07-20 10:25:04][DEBUG] : response: ['ATE0 ', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CFUN? [2020-07-20 10:25:04][DEBUG] : response: ['+CFUN: 1', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CMEE=1 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CPIN? [2020-07-20 10:25:04][DEBUG] : response: ['+CPIN: READY', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CLAC [2020-07-20 10:25:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:25:04][DEBUG] : write: AT+WIND? [2020-07-20 10:25:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:25:04][DEBUG] : write: AT+CGMI [2020-07-20 10:25:04][DEBUG] : response: ['huawei', 'OK'] [2020-07-20 10:25:04][INFO] : Loading Huawei call state update table [2020-07-20 10:25:04][DEBUG] : write: AT+COPS=3,0 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CMGF=0 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:25:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CSMP=49,167,0,0 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:25:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CPMS=? [2020-07-20 10:25:04][DEBUG] : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:25:04][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CNMI=2,1,0,2 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CLIP=1 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CRC=1 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : write: AT+CVHU=0 [2020-07-20 10:25:04][DEBUG] : response: ['OK'] [2020-07-20 10:25:04][DEBUG] : Waiting for network... [2020-07-20 10:25:04][DEBUG] : write: AT+CREG? [2020-07-20 10:25:04][DEBUG] : response: ['+CREG: 0,1', 'OK'] [2020-07-20 10:25:05][DEBUG] : write: AT+CSQ [2020-07-20 10:25:05][DEBUG] : response: ['+CSQ: 11,99', 'OK'] [2020-07-20 10:25:05][DEBUG] : Ok [2020-07-20 10:25:05][DEBUG] : write: AT+COPS? [2020-07-20 10:25:05][DEBUG] : response: ['+COPS: 0,0,"Orange F",0', 'OK'] [2020-07-20 10:25:05][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:25:05][DEBUG] : Send to jeedom : {'message': 'Orange F', 'number': 'network_name'} [2020-07-20 10:25:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:25:05][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:25:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:25:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:25:05][DEBUG] : response: ['OK'] [2020-07-20 10:25:05][DEBUG] : write: AT+CPMS="SM","SM","SM" [2020-07-20 10:25:05][DEBUG] : response: ['+CPMS: 0,50,0,50,0,50', 'OK'] [2020-07-20 10:25:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:25:05][DEBUG] : response: ['OK'] [2020-07-20 10:25:35][DEBUG] : write: AT+CREG? [2020-07-20 10:25:35][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:25:36][DEBUG] : write: AT+CREG? [2020-07-20 10:25:36][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:25:37][DEBUG] : write: AT+CREG? [2020-07-20 10:25:37][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:25:38][DEBUG] : write: AT+CREG? [2020-07-20 10:25:38][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:25:39][DEBUG] : write: AT+CREG? [2020-07-20 10:25:39][DEBUG] : response: ['+CREG: 0,0', 'OK'] [2020-07-20 10:25:39][ERROR] : Exception on GSM : Device not searching for network operator [2020-07-20 10:25:39][ERROR] : Exit 1 because this exeption is fatal [2020-07-20 10:25:39][DEBUG] : Shutdown [2020-07-20 10:25:39][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid [2020-07-20 10:25:40][DEBUG] : LoopNetServer Thread stopped [2020-07-20 10:25:40][DEBUG] : Exit 0 [2020-07-20 10:30:05][INFO] : Start smsd [2020-07-20 10:30:05][INFO] : Log level : debug [2020-07-20 10:30:05][INFO] : Socket port : 55002 [2020-07-20 10:30:05][INFO] : Socket host : 127.0.0.1 [2020-07-20 10:30:05][INFO] : PID file : /tmp/jeedom/sms/deamon.pid [2020-07-20 10:30:05][INFO] : Device : auto [2020-07-20 10:30:05][INFO] : Apikey : mXK7HYsN5CwS2pwgPwsRCct7dUVLWVxe [2020-07-20 10:30:05][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php [2020-07-20 10:30:05][INFO] : Cycle : 30.0 [2020-07-20 10:30:05][INFO] : Serial rate : 115200 [2020-07-20 10:30:05][INFO] : Pin : 0000 [2020-07-20 10:30:05][INFO] : Text mode : no [2020-07-20 10:30:05][INFO] : SMSC : None [2020-07-20 10:30:05][INFO] : Find device : /dev/ttyUSB1 [2020-07-20 10:30:05][DEBUG] : Writing PID 28684 to /tmp/jeedom/sms/deamon.pid [2020-07-20 10:30:05][DEBUG] : Init request module v2.12.4 [2020-07-20 10:30:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:30:05][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:30:05][DEBUG] : Socket interface started [2020-07-20 10:30:05][DEBUG] : LoopNetServer Thread started [2020-07-20 10:30:05][DEBUG] : Listening on: [127.0.0.1:55002] [2020-07-20 10:30:05][DEBUG] : Start listening... [2020-07-20 10:30:05][DEBUG] : Connecting to GSM Modem... [2020-07-20 10:30:05][DEBUG] : Text mode false [2020-07-20 10:30:05][DEBUG] : Enter pin code : 0000 [2020-07-20 10:30:05][INFO] : Connecting to modem on port /dev/ttyUSB1 at 115200bps [2020-07-20 10:30:05][DEBUG] : write: ATZ [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: ATE0 [2020-07-20 10:30:05][DEBUG] : response: ['ATE0 ', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CFUN? [2020-07-20 10:30:05][DEBUG] : response: ['+CFUN: 1', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CMEE=1 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CPIN? [2020-07-20 10:30:05][DEBUG] : response: ['+CPIN: READY', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CLAC [2020-07-20 10:30:05][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:30:05][DEBUG] : write: AT+WIND? [2020-07-20 10:30:05][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:30:05][DEBUG] : write: AT+CGMI [2020-07-20 10:30:05][DEBUG] : response: ['huawei', 'OK'] [2020-07-20 10:30:05][INFO] : Loading Huawei call state update table [2020-07-20 10:30:05][DEBUG] : write: AT+COPS=3,0 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CMGF=0 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CSCA? [2020-07-20 10:30:05][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CSMP=49,167,0,0 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CSCA? [2020-07-20 10:30:05][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CPMS=? [2020-07-20 10:30:05][DEBUG] : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:30:05][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CNMI=2,1,0,2 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CLIP=1 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CRC=1 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : write: AT+CVHU=0 [2020-07-20 10:30:05][DEBUG] : response: ['OK'] [2020-07-20 10:30:05][DEBUG] : Waiting for network... [2020-07-20 10:30:05][DEBUG] : write: AT+CREG? [2020-07-20 10:30:05][DEBUG] : response: ['+CREG: 0,1', 'OK'] [2020-07-20 10:30:06][DEBUG] : write: AT+CSQ [2020-07-20 10:30:06][DEBUG] : response: ['+CSQ: 11,99', 'OK'] [2020-07-20 10:30:06][DEBUG] : Ok [2020-07-20 10:30:06][DEBUG] : write: AT+COPS? [2020-07-20 10:30:06][DEBUG] : response: ['+COPS: 0,0,"Orange F",0', 'OK'] [2020-07-20 10:30:06][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:30:06][DEBUG] : Send to jeedom : {'message': 'Orange F', 'number': 'network_name'} [2020-07-20 10:30:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:30:06][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:30:06][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:30:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:30:06][DEBUG] : response: ['OK'] [2020-07-20 10:30:06][DEBUG] : write: AT+CPMS="SM","SM","SM" [2020-07-20 10:30:06][DEBUG] : response: ['+CPMS: 0,50,0,50,0,50', 'OK'] [2020-07-20 10:30:06][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:30:06][DEBUG] : response: ['OK'] [2020-07-20 10:30:36][DEBUG] : write: AT+CREG? [2020-07-20 10:30:36][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:30:37][DEBUG] : write: AT+CREG? [2020-07-20 10:30:37][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:30:38][DEBUG] : write: AT+CREG? [2020-07-20 10:30:38][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:30:39][DEBUG] : write: AT+CREG? [2020-07-20 10:30:39][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:30:40][DEBUG] : write: AT+CREG? [2020-07-20 10:30:40][DEBUG] : response: ['+CREG: 0,0', 'OK'] [2020-07-20 10:30:40][ERROR] : Exception on GSM : Device not searching for network operator [2020-07-20 10:30:40][ERROR] : Exit 1 because this exeption is fatal [2020-07-20 10:30:40][DEBUG] : Shutdown [2020-07-20 10:30:40][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid [2020-07-20 10:30:41][DEBUG] : LoopNetServer Thread stopped [2020-07-20 10:30:41][DEBUG] : Exit 0 [2020-07-20 10:35:04][INFO] : Start smsd [2020-07-20 10:35:04][INFO] : Log level : debug [2020-07-20 10:35:04][INFO] : Socket port : 55002 [2020-07-20 10:35:04][INFO] : Socket host : 127.0.0.1 [2020-07-20 10:35:04][INFO] : PID file : /tmp/jeedom/sms/deamon.pid [2020-07-20 10:35:04][INFO] : Device : auto [2020-07-20 10:35:04][INFO] : Apikey : mXK7HYsN5CwS2pwgPwsRCct7dUVLWVxe [2020-07-20 10:35:04][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php [2020-07-20 10:35:04][INFO] : Cycle : 30.0 [2020-07-20 10:35:04][INFO] : Serial rate : 115200 [2020-07-20 10:35:04][INFO] : Pin : 0000 [2020-07-20 10:35:04][INFO] : Text mode : no [2020-07-20 10:35:04][INFO] : SMSC : None [2020-07-20 10:35:04][INFO] : Find device : /dev/ttyUSB1 [2020-07-20 10:35:04][DEBUG] : Writing PID 6691 to /tmp/jeedom/sms/deamon.pid [2020-07-20 10:35:04][DEBUG] : Init request module v2.12.4 [2020-07-20 10:35:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:35:04][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:35:04][DEBUG] : Socket interface started [2020-07-20 10:35:04][DEBUG] : Start listening... [2020-07-20 10:35:04][DEBUG] : Connecting to GSM Modem... [2020-07-20 10:35:04][DEBUG] : Text mode false [2020-07-20 10:35:04][DEBUG] : LoopNetServer Thread started [2020-07-20 10:35:04][DEBUG] : Enter pin code : 0000 [2020-07-20 10:35:04][DEBUG] : Listening on: [127.0.0.1:55002] [2020-07-20 10:35:04][INFO] : Connecting to modem on port /dev/ttyUSB1 at 115200bps [2020-07-20 10:35:04][DEBUG] : write: ATZ [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: ATE0 [2020-07-20 10:35:04][DEBUG] : response: ['ATE0 ', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CFUN? [2020-07-20 10:35:04][DEBUG] : response: ['+CFUN: 1', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CMEE=1 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CPIN? [2020-07-20 10:35:04][DEBUG] : response: ['+CPIN: READY', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CLAC [2020-07-20 10:35:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:35:04][DEBUG] : write: AT+WIND? [2020-07-20 10:35:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:35:04][DEBUG] : write: AT+CGMI [2020-07-20 10:35:04][DEBUG] : response: ['huawei', 'OK'] [2020-07-20 10:35:04][INFO] : Loading Huawei call state update table [2020-07-20 10:35:04][DEBUG] : write: AT+COPS=3,0 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CMGF=0 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:35:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CSMP=49,167,0,0 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:35:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CPMS=? [2020-07-20 10:35:04][DEBUG] : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:35:04][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CNMI=2,1,0,2 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CLIP=1 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CRC=1 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : write: AT+CVHU=0 [2020-07-20 10:35:04][DEBUG] : response: ['OK'] [2020-07-20 10:35:04][DEBUG] : Waiting for network... [2020-07-20 10:35:04][DEBUG] : write: AT+CREG? [2020-07-20 10:35:04][DEBUG] : response: ['+CREG: 0,1', 'OK'] [2020-07-20 10:35:05][DEBUG] : write: AT+CSQ [2020-07-20 10:35:05][DEBUG] : response: ['+CSQ: 11,99', 'OK'] [2020-07-20 10:35:05][DEBUG] : Ok [2020-07-20 10:35:05][DEBUG] : write: AT+COPS? [2020-07-20 10:35:05][DEBUG] : response: ['+COPS: 0,0,"Orange F",0', 'OK'] [2020-07-20 10:35:05][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:35:05][DEBUG] : Send to jeedom : {'message': 'Orange F', 'number': 'network_name'} [2020-07-20 10:35:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:35:05][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:35:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:35:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:35:05][DEBUG] : response: ['OK'] [2020-07-20 10:35:05][DEBUG] : write: AT+CPMS="SM","SM","SM" [2020-07-20 10:35:05][DEBUG] : response: ['+CPMS: 0,50,0,50,0,50', 'OK'] [2020-07-20 10:35:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:35:05][DEBUG] : response: ['OK'] [2020-07-20 10:35:35][DEBUG] : write: AT+CREG? [2020-07-20 10:35:35][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:36][DEBUG] : write: AT+CREG? [2020-07-20 10:35:36][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:37][DEBUG] : write: AT+CREG? [2020-07-20 10:35:37][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:38][DEBUG] : write: AT+CREG? [2020-07-20 10:35:38][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:39][DEBUG] : write: AT+CREG? [2020-07-20 10:35:39][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:40][DEBUG] : write: AT+CREG? [2020-07-20 10:35:40][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:41][DEBUG] : write: AT+CREG? [2020-07-20 10:35:41][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:42][DEBUG] : write: AT+CREG? [2020-07-20 10:35:42][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:43][DEBUG] : write: AT+CREG? [2020-07-20 10:35:43][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:44][DEBUG] : write: AT+CREG? [2020-07-20 10:35:44][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:35:45][DEBUG] : write: AT+CREG? [2020-07-20 10:35:45][DEBUG] : response: ['+CREG: 0,0', 'OK'] [2020-07-20 10:35:45][ERROR] : Exception on GSM : Device not searching for network operator [2020-07-20 10:35:45][ERROR] : Exit 1 because this exeption is fatal [2020-07-20 10:35:45][DEBUG] : Shutdown [2020-07-20 10:35:45][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid [2020-07-20 10:35:46][DEBUG] : LoopNetServer Thread stopped [2020-07-20 10:35:46][DEBUG] : Exit 0 [2020-07-20 10:40:04][INFO] : Start smsd [2020-07-20 10:40:04][INFO] : Log level : debug [2020-07-20 10:40:04][INFO] : Socket port : 55002 [2020-07-20 10:40:04][INFO] : Socket host : 127.0.0.1 [2020-07-20 10:40:04][INFO] : PID file : /tmp/jeedom/sms/deamon.pid [2020-07-20 10:40:04][INFO] : Device : auto [2020-07-20 10:40:04][INFO] : Apikey : mXK7HYsN5CwS2pwgPwsRCct7dUVLWVxe [2020-07-20 10:40:04][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php [2020-07-20 10:40:04][INFO] : Cycle : 30.0 [2020-07-20 10:40:04][INFO] : Serial rate : 115200 [2020-07-20 10:40:04][INFO] : Pin : 0000 [2020-07-20 10:40:04][INFO] : Text mode : no [2020-07-20 10:40:04][INFO] : SMSC : None [2020-07-20 10:40:04][INFO] : Find device : /dev/ttyUSB1 [2020-07-20 10:40:04][DEBUG] : Writing PID 17173 to /tmp/jeedom/sms/deamon.pid [2020-07-20 10:40:04][DEBUG] : Init request module v2.12.4 [2020-07-20 10:40:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:40:04][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:40:04][DEBUG] : Socket interface started [2020-07-20 10:40:04][DEBUG] : LoopNetServer Thread started [2020-07-20 10:40:04][DEBUG] : Start listening... [2020-07-20 10:40:04][DEBUG] : Listening on: [127.0.0.1:55002] [2020-07-20 10:40:04][DEBUG] : Connecting to GSM Modem... [2020-07-20 10:40:04][DEBUG] : Text mode false [2020-07-20 10:40:04][DEBUG] : Enter pin code : 0000 [2020-07-20 10:40:04][INFO] : Connecting to modem on port /dev/ttyUSB1 at 115200bps [2020-07-20 10:40:04][DEBUG] : write: ATZ [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: ATE0 [2020-07-20 10:40:04][DEBUG] : response: ['ATE0 ', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CFUN? [2020-07-20 10:40:04][DEBUG] : response: ['+CFUN: 1', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CMEE=1 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CPIN? [2020-07-20 10:40:04][DEBUG] : response: ['+CPIN: READY', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CLAC [2020-07-20 10:40:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:40:04][DEBUG] : write: AT+WIND? [2020-07-20 10:40:04][DEBUG] : response: ['COMMAND NOT SUPPORT'] [2020-07-20 10:40:04][DEBUG] : write: AT+CGMI [2020-07-20 10:40:04][DEBUG] : response: ['huawei', 'OK'] [2020-07-20 10:40:04][INFO] : Loading Huawei call state update table [2020-07-20 10:40:04][DEBUG] : write: AT+COPS=3,0 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CMGF=0 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:40:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CSMP=49,167,0,0 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CSCA? [2020-07-20 10:40:04][DEBUG] : response: ['+CSCA: "xxxxxxxxxxxxxxx",145', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CPMS=? [2020-07-20 10:40:04][DEBUG] : response: ['+CPMS: ("ME","MT","SM","SR"),("ME","MT","SM","SR"),("ME","MT","SM","SR")', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:40:04][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CNMI=2,1,0,2 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CLIP=1 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CRC=1 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : write: AT+CVHU=0 [2020-07-20 10:40:04][DEBUG] : response: ['OK'] [2020-07-20 10:40:04][DEBUG] : Waiting for network... [2020-07-20 10:40:04][DEBUG] : write: AT+CREG? [2020-07-20 10:40:04][DEBUG] : response: ['+CREG: 0,1', 'OK'] [2020-07-20 10:40:05][DEBUG] : write: AT+CSQ [2020-07-20 10:40:05][DEBUG] : response: ['+CSQ: 11,99', 'OK'] [2020-07-20 10:40:05][DEBUG] : Ok [2020-07-20 10:40:05][DEBUG] : write: AT+COPS? [2020-07-20 10:40:05][DEBUG] : response: ['+COPS: 0,0,"Orange F",0', 'OK'] [2020-07-20 10:40:05][DEBUG] : write: AT+CPMS="ME","ME","ME" [2020-07-20 10:40:05][DEBUG] : Send to jeedom : {'message': 'Orange F', 'number': 'network_name'} [2020-07-20 10:40:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1 [2020-07-20 10:40:05][DEBUG] : response: ['+CPMS: 0,255,0,255,0,255', 'OK'] [2020-07-20 10:40:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:40:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxxxxxxxxxx HTTP/1.1" 200 0 [2020-07-20 10:40:05][DEBUG] : response: ['OK'] [2020-07-20 10:40:05][DEBUG] : write: AT+CPMS="SM","SM","SM" [2020-07-20 10:40:05][DEBUG] : response: ['+CPMS: 0,50,0,50,0,50', 'OK'] [2020-07-20 10:40:05][DEBUG] : write: AT+CMGD=1,4 [2020-07-20 10:40:05][DEBUG] : response: ['OK'] [2020-07-20 10:40:36][DEBUG] : write: AT+CREG? [2020-07-20 10:40:36][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:37][DEBUG] : write: AT+CREG? [2020-07-20 10:40:37][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:38][DEBUG] : write: AT+CREG? [2020-07-20 10:40:38][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:39][DEBUG] : write: AT+CREG? [2020-07-20 10:40:39][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:40][DEBUG] : write: AT+CREG? [2020-07-20 10:40:40][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:41][DEBUG] : write: AT+CREG? [2020-07-20 10:40:41][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:42][DEBUG] : write: AT+CREG? [2020-07-20 10:40:42][DEBUG] : response: ['+CREG: 0,2', 'OK'] [2020-07-20 10:40:43][DEBUG] : write: AT+CREG? [2020-07-20 10:40:43][DEBUG] : response: ['+CREG: 0,0', 'OK'] [2020-07-20 10:40:43][ERROR] : Exception on GSM : Device not searching for network operator [2020-07-20 10:40:43][ERROR] : Exit 1 because this exeption is fatal [2020-07-20 10:40:43][DEBUG] : Shutdown [2020-07-20 10:40:43][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid [2020-07-20 10:40:43][DEBUG] : LoopNetServer Thread stopped [2020-07-20 10:40:43][DEBUG] : Exit 0