Bonjour.
J’ai installé la dernière version stable du plugin SMS. Des messages de « SyntaxWarning » apparaissent dans la log. A noter que ceux ci ne semblent pas ’impacter le bon fonctionnement du plugin et ce post n’est là pour le signaler
[2024-09-01 11:31:27][INFO] : Début d'activation du plugin
[2024-09-01 11:31:28][INFO] : Info sur le démon : {"log":"sms","state":"nok","launchable":"ok","launchable_message":"Gestion automatique d\u00e9sactiv\u00e9e","auto":"0","last_launch":"2024-08-30 09:20:02"}
[2024-09-01 11:31:42][INFO] : Lancement démon sms : python3 /var/www/html/plugins/sms/resources/smsd/smsd.py --device /dev/ttyUSB1 --loglevel info --socketport 55002 --serialrate 115200 --pin 0000 --textmode no --smsc None --cycle 30 --callback http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php --apikey vw9CxD5EhcgpEhIlIGWNmfcKOU7T6mpiuFOmK3PXXCwxcvKw --pid /tmp/jeedom/sms/deamon.pid
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:820: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if selected_phonebook is not "ON":
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:826: SyntaxWarning: "is" with a literal. Did you mean "=="?
if response is "OK": # command is supported, but no number is set
/var/www/html/plugins/sms/resources/smsd/gsmmodem/modem.py:846: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if actual_phonebook is not "ON":
[2024-09-01 11:31:42][INFO] : Start smsd
[2024-09-01 11:31:42][INFO] : Log level : info
[2024-09-01 11:31:42][INFO] : Socket port : 55002
[2024-09-01 11:31:42][INFO] : Socket host : 127.0.0.1
[2024-09-01 11:31:42][INFO] : PID file : /tmp/jeedom/sms/deamon.pid
[2024-09-01 11:31:42][INFO] : Device : /dev/ttyUSB1
[2024-09-01 11:31:42][INFO] : Callback : http://127.0.0.1:80/plugins/sms/core/php/jeeSMS.php
[2024-09-01 11:31:42][INFO] : Cycle : 30.0
[2024-09-01 11:31:42][INFO] : Serial rate : 115200
[2024-09-01 11:31:42][INFO] : Pin : 0000
[2024-09-01 11:31:42][INFO] : Text mode : no
[2024-09-01 11:31:42][INFO] : SMSC : None
[2024-09-01 11:31:42][INFO] : Connecting to modem on port /dev/ttyUSB1 at 115200bps
[2024-09-01 11:31:42][INFO] : Loading Huawei call state update table
[
Informations Jeedom
Core : 4.4.14 (master)
DNS Jeedom : oui
Plugin : SMS
Version : 2024-09-01 01:06:24 (stable)
Statut Démon : Démarré - (2024-09-01 11:31:40)