J'ai une clé compatible:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 006: ID 1bbb:0017 T & A Mobile Phones
Depuis mon passage sur strech il me semble cela ne fonctionne plus:
[2019-05-23 21:31:00][ERROR] : Exception: [Errno 32] Broken pipe
[2019-05-23 21:31:00][ERROR] : Exit 1 because this exeption is fatal
Code : Tout sélectionner
2019-05-23 22:30:56][ERROR] : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consecutivement
[2019-05-23 22:30:58][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 115200 --pin 1512 --textmode yes --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
[2019-05-23 21:31:00][INFO] : Start smsd
[2019-05-23 21:31:00][INFO] : Log level : debug
[2019-05-23 21:31:00][INFO] : Socket port : 55002
[2019-05-23 21:31:00][INFO] : Socket host : 127.0.0.1
[2019-05-23 21:31:00][INFO] : PID file : /tmp/jeedom/sms/deamon.pid
[2019-05-23 21:31:00][INFO] : Device : /dev/ttyUSB0
[2019-05-23 21:31:00][INFO] : Apikey : xxxx
[2019-05-23 21:31:00][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2019-05-23 21:31:00][INFO] : Cycle : 30.0
[2019-05-23 21:31:00][INFO] : Serial rate : 115200
[2019-05-23 21:31:00][INFO] : Pin : 0000
[2019-05-23 21:31:00][INFO] : Text mode : yes
[2019-05-23 21:31:00][INFO] : SMSC : None
[2019-05-23 21:31:00][DEBUG] : Writing PID 5551 to /tmp/jeedom/sms/deamon.pid
[2019-05-23 21:31:00][DEBUG] : Init request module v2.12.4
[2019-05-23 21:31:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-05-23 21:31:00][DEBUG] : http://127.0.0.1:80 "GET /plugins/sms/core/php/jeeSMS.php?apikey=xxxxHTTP/1.1" 200 0
[2019-05-23 21:31:00][DEBUG] : Socket interface started
[2019-05-23 21:31:00][DEBUG] : LoopNetServer Thread started
[2019-05-23 21:31:00][DEBUG] : Listening on: [127.0.0.1:55002]
[2019-05-23 21:31:00][DEBUG] : Start listening...
[2019-05-23 21:31:00][DEBUG] : Connecting to GSM Modem...
[2019-05-23 21:31:00][DEBUG] : Text mode true
[2019-05-23 21:31:00][DEBUG] : Enter pin code : 1512
[2019-05-23 21:31:00][INFO] : Connecting to modem on port /dev/ttyUSB0 at 115200bps
[2019-05-23 21:31:00][ERROR] : Exception: [Errno 32] Broken pipe
[2019-05-23 21:31:00][ERROR] : Exit 1 because this exeption is fatal
[2019-05-23 21:31:00][DEBUG] : Shutdown
[2019-05-23 21:31:00][DEBUG] : Removing PID file /tmp/jeedom/sms/deamon.pid
[2019-05-23 21:31:00][DEBUG] : Send to jeedom : {'message': '[Errno 32] Broken pipe', 'number': 'none'}
[2019-05-23 21:31:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2019-05-23 21:31:00][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=xxxHTTP/1.1" 200 0
Toujours le meme souci; Avez vous eu ce pb ?pi@raspberrypi:~ $ more /etc/group |grep dialout
dialout20:pi,www-data
pi@raspberrypi:~ $ sudo usermod -aG dialout www-data
Merci