Bonjour,
J’ai depuis quelques temps un soucis avec mon pluggin Xiaomihome. La communication ne s’effectue plus avec la passerelle.
Je suis en Debian 10.10 dans une VM virtual box, Jeedom version 4.3.12, Xiaomihome version 2022-06-06 01:02:25.
J’ai essayé une restauration sur une fresh install Debian+Jeedom: même symptôme.
J’ai cherché dans les discussions, je n’ai rien trouvé qui se rapproche.
Si une âme charitable à une idée.
Merci,
Nicolas
J’ai remplacé API Key et password par XXX
[2022-12-12 16:00:18]INFO : Lancement démon xiaomihome : /usr/bin/python3 /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey XXX --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2022-12-12 16:00:19.226]INFO : Start xiaomihomed
[2022-12-12 16:00:19.226]INFO : Log level : debug
[2022-12-12 16:00:19.226]INFO : Socket port : 55019
[2022-12-12 16:00:19.226]INFO : Socket host : 127.0.0.1
[2022-12-12 16:00:19.226]INFO : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2022-12-12 16:00:19.226]INFO : Apikey : XXX
[2022-12-12 16:00:19.226]INFO : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2022-12-12 16:00:19.226]INFO : Cycle : 0.05
[2022-12-12 16:00:19.226]DEBUG : Writing PID 11726 to /tmp/jeedom/xiaomihome/deamon.pid
[2022-12-12 16:00:19.234]DEBUG : Init request module v2.28.1
[2022-12-12 16:00:19.237]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-12-12 16:00:19]DEBUG : Format Invalide
[2022-12-12 16:00:19.258]DEBUG : http://127.0.0.1:80 "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2022-12-12 16:00:19.259]DEBUG : Socket interface started
[2022-12-12 16:00:19.259]DEBUG : LoopNetServer Thread started
[2022-12-12 16:00:19.259]INFO : Start listening...
[2022-12-12 16:00:19.259]DEBUG : Listening on: [127.0.0.1:55019]
[2022-12-12 16:00:19.267]DEBUG : Read Socket Thread Launched
[2022-12-12 16:00:19.267]DEBUG : Aquara Thread Launched
[2022-12-12 16:01:02]DEBUG : execute : action aquara refresh
[2022-12-12 16:01:03]DEBUG : Envoi : {"apikey":"XXX","type":"aquara","model":"read","cmd":"refresh","dest":"192.168.10.98","password":"XXX","sidG":"04cf8c97f21c","sid":"158d0002862849"}
[2022-12-12 16:01:03.355]DEBUG : Client connected to [127.0.0.1:39232]
[2022-12-12 16:01:03.355]DEBUG : Message read from socket: b'{"apikey":"XXX","type":"aquara","model":"read","cmd":"refresh","dest":"192.168.10.98","password":"XXX","sidG":"04cf8c97f21c","sid":"158d0002862849"}'
[2022-12-12 16:01:03.355]DEBUG : Client disconnected from [127.0.0.1:39232]
[2022-12-12 16:01:03.454]DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-12-12 16:01:03.454]DEBUG : SOCKET-READ------Received command from jeedom : refresh
[2022-12-12 16:01:03.454]DEBUG : SOCKET-READ------Refreshing : read
[2022-12-12 16:01:03.454]DEBUG : executing {'apikey': 'XXX', 'type': 'aquara', 'model': 'read', 'cmd': 'refresh', 'dest': '192.168.10.98', 'password': 'XXX', 'sidG': '04cf8c97f21c', 'sid': '158d0002862849'}
[2022-12-12 16:01:03.457]ERROR : SOCKET-READ------Exception on socket : '04cf8c97f21c'
[2022-12-12 16:02:02]DEBUG : execute : action aquara refresh
[2022-12-12 16:02:03]DEBUG : Envoi : {"apikey":"XXX","type":"aquara","model":"read","cmd":"refresh","dest":"192.168.10.98","password":"XXX","sidG":"04cf8c97f21c","sid":"158d0002862849"}
[2022-12-12 16:02:03.211]DEBUG : Client connected to [127.0.0.1:34992]
[2022-12-12 16:02:03.213]DEBUG : Message read from socket: b'{"apikey":"XXX","type":"aquara","model":"read","cmd":"refresh","dest":"192.168.10.98","password":"XXX","sidG":"04cf8c97f21c","sid":"158d0002862849"}'
[2022-12-12 16:02:03.214]DEBUG : Client disconnected from [127.0.0.1:34992]
[2022-12-12 16:02:03.264]DEBUG : SOCKET-READ------Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-12-12 16:02:03.264]DEBUG : SOCKET-READ------Received command from jeedom : refresh
[2022-12-12 16:02:03.264]DEBUG : SOCKET-READ------Refreshing : read
[2022-12-12 16:02:03.264]DEBUG : executing {'apikey': 'XXX', 'type': 'aquara', 'model': 'read', 'cmd': 'refresh', 'dest': '192.168.10.98', 'password': 'XXX', 'sidG': '04cf8c97f21c', 'sid': '158d0002862849'}
[2022-12-12 16:02:03.264]ERROR : SOCKET-READ------Exception on socket : '04cf8c97f21c'