Les commandes ne fonctionnent plus, les infos si!

Bonsoir,

Depuis quelques heures, je rencontre un comportement bizarre avec mes équipements Xiaomi et Yeelight:
Toutes les informations (températures, humidités, des capteurs, statuts des interrupteurs, statuts des yeelights, etc…) remontent bien dans jeedom MAIS il m’est impossible de leurs envoyer des commandes !
Impossible d’allumer/éteindre les lumières, bandeux, bulb, etc !
La commande semble bien « partir » mais l’équipement ne fait rien.
Tout fonctionne bien pourtant avec les applis xiaomi home & yeelight.

Extrait de log:

[2020-05-16 01:36:54][DEBUG] : execute : action aquara channel_0-off
[2020-05-16 01:36:54][DEBUG] : Client connected to [127.0.0.1:39356]
[2020-05-16 01:36:54][DEBUG] : Message read from socket: {"apikey":"XXXXXXXXXXXXXXXXXX","type":"aquara","cmd":"send","dest":"192.168.31.201","password":"YYYYYYYYYYYYYY","model":"ctrl_neutral1","sidG":"7811dcb23b8e","sid":"158d000159aaa8","short_id":"1631","switch":"channel_0","request":"off","vol":""}
[2020-05-16 01:36:54][DEBUG] : Client disconnected from [127.0.0.1:39356]
[2020-05-16 01:37:00][DEBUG] : {u'model': u'sensor_motion.aq2', u'cmd': u'report', u'data': u'{"no_motion":"1200"}', u'short_id': 26454, u'sid': u'158d0002253762'}
[2020-05-16 01:37:00][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0002253762': {'short_id': 26454, 'cmd': u'report', 'source': '192.168.31.202', 'token': '', 'sid': u'158d0002253762', 'model': u'sensor_motion.aq2', 'data': {u'no_motion': u'1200'}}}}
[2020-05-16 01:37:00][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'zHyp3tNkvCbZXxFF', u'sid': u'7811dcb23b8e', u'model': u'gateway', u'data': u'{"ip":"192.168.31.201"}'}
[2020-05-16 01:37:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-05-16 01:37:00][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXXXXXXXXXXXXXXXX HTTP/1.1" 200 0
[2020-05-16 01:37:00][DEBUG] : Send to jeedom : {u'devices': {u'aquara_7811dcb23b8e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.31.201', 'token': u'zHyp3tNkvCbZXxFF', 'sid': u'7811dcb23b8e', 'model': u'gateway', 'data': {u'ip': u'192.168.31.201'}}}}
[2020-05-16 01:37:00][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2020-05-16 01:37:00][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXXXXXXXXXXXXXXXXX HTTP/1.1" 200 0
[2020-05-16 01:37:01][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'zqEUgwypjCF08L03', u'sid': u'f0b429cc3e9f', u'model': u'gateway', u'data': u'{"ip":"192.168.31.202"}'}
[2020-05-16 01:37:01][DEBUG] : Send to jeedom : {u'devices': {u'aquara_f0b429cc3e9f': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.31.202', 'token': u'zqEUgwypjCF08L03', 'sid': u'f0b429cc3e9f', 'model': u'gateway', 'data': {u'ip': u'192.168.31.202'}}}}

Yeelight:

[2020-05-16 01:58:46][DEBUG] : execute : action yeelight rgbAct
[2020-05-16 01:58:46][DEBUG] : Client connected to [127.0.0.1:41648]
[2020-05-16 01:58:46][DEBUG] : Message read from socket: {"apikey":"XXXXXXXXXXXXXXX","type":"yeelight","cmd":"send","dest":"192.168.31.205","model":"stripe","sid":"0x000000000457555d","short_id":"44","command":"turn off","option":"000000","id":"192.168.31.205","sup":""}
[2020-05-16 01:58:46][DEBUG] : Client disconnected from [127.0.0.1:41648]

Notes:

  1. Je constate aussi que le processus du démon xiaomi tourne à 100% alors qu’il restait aux alentours de 4-5% en tps normal…
  2. J’ai deux gateway qui fonctionnent très bien avec l’appli (infos & cmd)
  3. je n’ai pas touché au mode développeur dans l’appli
Starting Nmap 7.40 ( https://nmap.org ) at 2020-05-16 01:54 CEST
Nmap scan report for 192.168.31.202
Host is up (0.067s latency).
PORT     STATE SERVICE
9898/udp open  monkeycom
MAC Address: F0:B4:29:CC:3E:9F (Xiaomi Communications)

Nmap done: 1 IP address (1 host up) scanned in 0.99 seconds
pi@jeedom:~ $ sudo nmap -p 9898 -sU 192.168.31.201

Starting Nmap 7.40 ( https://nmap.org ) at 2020-05-16 01:54 CEST
Nmap scan report for 192.168.31.201
Host is up (0.022s latency).
PORT     STATE SERVICE
9898/udp open  monkeycom
MAC Address: 78:11:DC:B2:3B:8E (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.03 seconds
pi@jeedom:~ $

J’ai réinstallé le plugin, rebooté, etc… rien n’y fait…

Merci de votre aide !

Salut,

En quelle version de Jeedom ? v3.x v4.0.x ou v4.1.x ?
Plugin en stable ou beta et version de quelle date ?

Hum…
Après pas mal de temps à chercher, tout re-fonctionne sans que je comprenne pourquoi …

Mystères de l’informatique …

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.