Bonjour
J’utilise une clef Huawei E3531i-2, sur Jeedom 4.2.14, la clef est bien reconnue et communique.
Cependans lorsque j’envoie une message j’obtiens en debug unicode strings are not supported, please encode to bytes: u’Ceci est un test de message pour la commande Manu\x1a’
[2022-04-01 18:17:42][DEBUG] : Client connected to [127.0.0.1:46178]
[2022-04-01 18:17:42][DEBUG] : Message read from socket: {"apikey":"bELeZwCa27j3W6nndAuVLHugp5ESLJLA4WgB72u8vNBSUIgqakSK03aEXrq2VxOn","number":"0032499943737","message":"Ceci est un test de message pour la commande Manu"}
[2022-04-01 18:17:42][DEBUG] : Client disconnected from [127.0.0.1:46178]
[2022-04-01 18:17:56][DEBUG] : write: AT+CREG?
[2022-04-01 18:17:56][DEBUG] : response: ['+CREG: 2,1,"2C24","00003A2B"', 'OK']
[2022-04-01 18:17:56][INFO] : +CREG check disabled due to invalid response or unsupported command
[2022-04-01 18:17:57][DEBUG] : write: AT+CSQ
[2022-04-01 18:17:57][DEBUG] : response: ['+CSQ: 10,99', 'OK']
[2022-04-01 18:17:57][DEBUG] : write: AT+CMGL="REC UNREAD"
[2022-04-01 18:17:57][DEBUG] : response: ['OK']
[2022-04-01 18:17:57][DEBUG] : write: AT+CSQ
[2022-04-01 18:17:57][DEBUG] : response: ['+CSQ: 10,99', 'OK']
[2022-04-01 18:17:57][DEBUG] : write: AT+CSQ
[2022-04-01 18:17:57][DEBUG] : response: ['+CSQ: 10,99', 'OK']
[2022-04-01 18:17:57][DEBUG] : write: AT+CSQ
[2022-04-01 18:17:57][DEBUG] : response: ['+CSQ: 10,99', 'OK']
[2022-04-01 18:17:57][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-04-01 18:17:57][DEBUG] : Send to jeedom : {'message': '10', 'number': 'signal_strength'}
[2022-04-01 18:17:57][DEBUG] : write: AT+CREG?
[2022-04-01 18:17:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2022-04-01 18:17:57][DEBUG] : response: ['+CREG: 2,1,"2C24","00003A2B"', 'OK']
[2022-04-01 18:17:57][INFO] : +CREG check disabled due to invalid response or unsupported command
[2022-04-01 18:17:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/sms/core/php/jeeSMS.php?apikey=bELeZwCa27j3W6nndAuVLHugp5ESLJLA4WgB72u8vNBSUIgqakSK03aEXrq2VxOn HTTP/1.1" 200 0
[2022-04-01 18:17:58][DEBUG] : write: AT+CSQ
[2022-04-01 18:17:58][DEBUG] : response: ['+CSQ: 10,99', 'OK']
[2022-04-01 18:17:58][DEBUG] : write: AT+CMGS="00324999XXXXXX"
[2022-04-01 18:17:58][DEBUG] : response: ['> ']
[2022-04-01 18:17:58][DEBUG] : write: Ceci est un test de message pour la commande Manu
[2022-04-01 18:17:58][ERROR] : unicode strings are not supported, please encode to bytes: u'Ceci est un test de message pour la commande Manu\x1a'
[2022-04-01 18:18:28][DEBUG] : write: AT+CREG?
[2022-04-01 18:18:33][ERROR] : Exception on GSM : None
En suite la clef se bloque sur le prompt [’> ']
Quelqu’un aurait il une piste ?
Merci