je viens d'installer une clef 3G que j'ai acheté il y a quelques temps mais jamais pris le temps...
La première fois elle a été detectée come "ZD technologie" et maintenant elle est détectée comme Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Le démon était NOK, avec une erreur CME 13. Après avoir choisi le bon port il est toujours NOK mais je n'ai plus cette erreur.
J'ai essayé de changer la vitesse du port sans succès.
Si quelqu'un a une piste pour m'aider!
merci
Freddy
Un petit extrait des logs:
[2018-11-06 10:40:03][INFO] : Lancement démon sms : /usr/bin/python /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyUSB2 --loglevel debug --socketport 55002 --serialrate 9600 --pin 1205 --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey xxxxxxx --pid /tmp/jeedom/sms/deamon.pid
[2018-11-06 10:40:03][INFO] : Start smsd
[2018-11-06 10:40:03][INFO] : Log level : debug
[2018-11-06 10:40:03][INFO] : Socket port : 55002
[2018-11-06 10:40:03][INFO] : Socket host : 127.0.0.1
[2018-11-06 10:40:03][INFO] : PID file : /tmp/jeedom/sms/deamon.pid
[2018-11-06 10:40:03][INFO] : Device : /dev/ttyUSB2
[2018-11-06 10:40:03][INFO] : Apikey : xxxxxxx
[2018-11-06 10:40:03][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2018-11-06 10:40:03][INFO] : Cycle : 30.0
[2018-11-06 10:40:03][INFO] : Serial rate : 9600
[2018-11-06 10:40:03][INFO] : Pin : 1205
[2018-11-06 10:40:03][INFO] : Text mode : no
[2018-11-06 10:40:03][INFO] : SMSC : None
[2018-11-06 10:40:03][DEBUG] : Writing PID 16697 to /tmp/jeedom/sms/deamon.pid
[2018-11-06 10:40:03][DEBUG] : Init request module v2.19.1
[2018-11-06 10:40:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2018-11-06 10:40:03][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxx HTTP/1.1" 200 0
[2018-11-06 10:40:03][DEBUG] : Socket interface started
[2018-11-06 10:40:03][DEBUG] : LoopNetServer Thread started
[2018-11-06 10:40:03][DEBUG] : Start listening...
[2018-11-06 10:40:03][DEBUG] : Listening on: [127.0.0.1:55002]
[2018-11-06 10:40:03][DEBUG] : Connecting to GSM Modem...
[2018-11-06 10:40:03][DEBUG] : Text mode false
[2018-11-06 10:40:03][DEBUG] : Enter pin code : xxxx
[2018-11-06 10:40:03][INFO] : Connecting to modem on port /dev/ttyUSB2 at 9600bps
[2018-11-06 10:40:03][DEBUG] : write: ATZ
[2018-11-06 10:40:08][ERROR] : Exception: None
[2018-11-06 10:40:08][ERROR] : Exit 1 because this exeption is fatal
[2018-11-06 10:40:08][DEBUG] : Send to jeedom : {'message': 'None', 'number': 'none'}
[2018-11-06 10:40:08][DEBUG] : Shutdown
[2018-11-06 10:40:08][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid
[2018-11-06 10:40:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2018-11-06 10:40:08][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxxxxxx HTTP/1.1" 200 0
[2018-11-06 10:40:09][DEBUG] : LoopNetServer Thread stopped
[2018-11-06 10:40:09][DEBUG] : Exit 0