Après plusieurs heures de recherche, je me résouts à demander aux experts de la question.
J'ai cherché dans le forum et je n'ai pas trouvé de réponse. Mais devant le volume, elle existe probablement.
Voilà, je cherche à intégrer les capteurs Xiaomi sur mon Jeedom (sous Pi3). La passerelle est connecté et la plupart des connecteurs fonctionne.
L'idée est de commencer simplement en voulant allumer un yeelight avec un interrupteur (nouveau) lequel autorise le simple et double clic.
D'abord, les capteurs sont reconnus sous Jeedom et je les vois répondre à mes sollicitations. La Yeelight aussi. L’interrupteur produit les clics et double-clic qu'on lui demande.
Après avoir construit un scénario, l'action des interrupteurs se perd. Bien sur, le scénario ne fonctionne pas. Peut-être est-il faux ?
Mais le plus curieux est que les tests sur l'interrupteur renvoie toujours la même information. Bref, il est figé.
Le seul moyen que j'ai trouvé pour le ramener à la vie est de le supprimer, de relancer le démon et de l'intégrer à nouveau par inclusion.
Merci de votre aide.
Code : Tout sélectionner
[2018-02-10 23:09:50][INFO] : Start listening...
[2018-02-10 23:09:50][DEBUG] : Listening on: [127.0.0.1:55019]
[2018-02-10 23:09:50][DEBUG] : Read Socket Thread Launched
[2018-02-10 23:09:50][DEBUG] : Aquara Thread Launched
[2018-02-10 23:09:51][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:09:51][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:09:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:09:53][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:09:54][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:09:56][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"double_click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:09:56][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:09:56][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'double_click'}}}}
[2018-02-10 23:09:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:09:56][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:09:57][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"double_click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:09:57][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'double_click'}}}}
[2018-02-10 23:09:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:09:57][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'tiPNqy2NYWicFPtO', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:09:57][DEBUG] : {u'34ce0091ec0e': u'34ce0091ec0e', u'cmd': u'get_id_list'}
[2018-02-10 23:09:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:09:57][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'tiPNqy2NYWicFPtO', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:09:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:09:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:03][DEBUG] : Rafraîchissement de Yeelight : Yeel
[2018-02-10 23:10:03][DEBUG] : execute : action yeelight refresh
[2018-02-10 23:10:03][DEBUG] : Client connected to [127.0.0.1:57482]
[2018-02-10 23:10:03][DEBUG] : Message read from socket: {"apikey":"a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG","type":"yeelight","cmd":"refresh","model":"mono","dest":"192.168.1.2","token":"","devtype":"54","serial":"0x0000000003621098","id":"192.168.1.2"}
[2018-02-10 23:10:03][DEBUG] : Client disconnected from [127.0.0.1:57482]
[2018-02-10 23:10:03][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-02-10 23:10:03][DEBUG] : Received command from jeedom : refresh
[2018-02-10 23:10:03][DEBUG] : Refreshing : mono
[2018-02-10 23:10:03][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'flow_params', 'music_on', 'name'], 'id': 0, 'method': 'get_prop'}
[2018-02-10 23:10:03][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'off', u'100', u'', u'', u'', u'', u'2', u'0', u'0', u'', u'', u'']}
[2018-02-10 23:10:03][DEBUG] : Send to jeedom : {u'devices': {u'yeelight_192.168.1.2': {'ip': u'192.168.1.2', 'capabilities': {'hue': None, 'color_mode': u'2', 'name': None, 'power': u'off', 'music_on': None, 'delayoff': u'0', 'bright': u'100', 'rgb': None, 'flowing': u'0', 'flow_params': None, 'sat': None, 'id': u'192.168.1.2', 'ct': None}}}}
[2018-02-10 23:10:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:04][DEBUG] : Rafraîchissement de Aqara : Gateway
[2018-02-10 23:10:07][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'mIvYRFxAOlzvHxuV', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:07][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'mIvYRFxAOlzvHxuV', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:10][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:10:10][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:10:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:13][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:10:13][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:10:13][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:13][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:17][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'K9LPpkW7Zp22UxRe', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:17][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'K9LPpkW7Zp22UxRe', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:17][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:10:17][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:10:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:20][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"double_click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:10:20][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'double_click'}}}}
[2018-02-10 23:10:20][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:23][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:10:23][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:10:23][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:24][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:25][DEBUG] : {u'model': u'sensor_motion.aq2', u'cmd': u'report', u'data': u'{"no_motion":"120"}', u'short_id': 27471, u'sid': u'158d0001e53b8f'}
[2018-02-10 23:10:25][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001e53b8f': {'short_id': 27471, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001e53b8f', 'model': u'sensor_motion.aq2', 'data': {u'no_motion': u'120'}}}}
[2018-02-10 23:10:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:27][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'0CRnKOwMWXp6xV4W', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:27][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'0CRnKOwMWXp6xV4W', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:27][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:27][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:37][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'y6JlzqWhQAjY2UnU', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:37][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'y6JlzqWhQAjY2UnU', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:47][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'WSnRGl2AThoEvdci', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:47][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'WSnRGl2AThoEvdci', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:47][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:47][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:10:57][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'nznm7rr0SQjPRrZl', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:10:57][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'nznm7rr0SQjPRrZl', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:10:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:10:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:02][DEBUG] : Rafraîchissement de Yeelight : Yeel
[2018-02-10 23:11:02][DEBUG] : execute : action yeelight refresh
[2018-02-10 23:11:02][DEBUG] : Client connected to [127.0.0.1:57514]
[2018-02-10 23:11:02][DEBUG] : Message read from socket: {"apikey":"a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG","type":"yeelight","cmd":"refresh","model":"mono","dest":"192.168.1.2","token":"","devtype":"54","serial":"0x0000000003621098","id":"192.168.1.2"}
[2018-02-10 23:11:02][DEBUG] : Client disconnected from [127.0.0.1:57514]
[2018-02-10 23:11:02][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-02-10 23:11:02][DEBUG] : Received command from jeedom : refresh
[2018-02-10 23:11:02][DEBUG] : Refreshing : mono
[2018-02-10 23:11:02][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'flow_params', 'music_on', 'name'], 'id': 0, 'method': 'get_prop'}
[2018-02-10 23:11:02][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'off', u'100', u'', u'', u'', u'', u'2', u'0', u'0', u'', u'', u'']}
[2018-02-10 23:11:02][DEBUG] : Send to jeedom : {u'devices': {u'yeelight_192.168.1.2': {'ip': u'192.168.1.2', 'capabilities': {'hue': None, 'color_mode': u'2', 'name': None, 'power': u'off', 'music_on': None, 'delayoff': u'0', 'bright': u'100', 'rgb': None, 'flowing': u'0', 'flow_params': None, 'sat': None, 'id': u'192.168.1.2', 'ct': None}}}}
[2018-02-10 23:11:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:07][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'YoqIan4L1pYiVPKT', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:07][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'YoqIan4L1pYiVPKT', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:07][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:17][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'OHpfeziDEqXRLWKQ', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:17][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'OHpfeziDEqXRLWKQ', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:17][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:18][DEBUG] : execute : action yeelight on
[2018-02-10 23:11:18][DEBUG] : Client connected to [127.0.0.1:57524]
[2018-02-10 23:11:18][DEBUG] : Message read from socket: {"apikey":"a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG","type":"yeelight","cmd":"send","dest":"192.168.1.2","model":"mono","sid":"0x0000000003621098","short_id":"54","command":"turn on","option":"","id":"192.168.1.2","sup":""}
[2018-02-10 23:11:18][DEBUG] : Client disconnected from [127.0.0.1:57524]
[2018-02-10 23:11:18][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-02-10 23:11:18][DEBUG] : Received command from jeedom : send
[2018-02-10 23:11:18][DEBUG] : Executing action on : mono
[2018-02-10 23:11:18][DEBUG] : {u'apikey': u'a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG', u'option': u'', u'short_id': u'54', u'dest': u'192.168.1.2', u'cmd': u'send', u'sup': u'', u'command': u'turn on', u'sid': u'0x0000000003621098', u'model': u'mono', u'type': u'yeelight', u'id': u'192.168.1.2'}
[2018-02-10 23:11:18][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['on', 'smooth', 500], 'id': 0, 'method': 'set_power'}
[2018-02-10 23:11:18][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'ok']}
[2018-02-10 23:11:20][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'flow_params', 'music_on', 'name'], 'id': 0, 'method': 'get_prop'}
[2018-02-10 23:11:20][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'on', u'100', u'', u'', u'', u'', u'2', u'0', u'0', u'', u'', u'']}
[2018-02-10 23:11:20][DEBUG] : Send to jeedom : {u'devices': {u'yeelight_192.168.1.2': {'ip': u'192.168.1.2', 'capabilities': {'hue': None, 'color_mode': u'2', 'name': None, 'power': u'on', 'music_on': None, 'delayoff': u'0', 'bright': u'100', 'rgb': None, 'flowing': u'0', 'flow_params': None, 'sat': None, 'id': u'192.168.1.2', 'ct': None}}}}
[2018-02-10 23:11:20][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:20][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:25][DEBUG] : {u'model': u'sensor_motion.aq2', u'cmd': u'report', u'data': u'{"no_motion":"180"}', u'short_id': 27471, u'sid': u'158d0001e53b8f'}
[2018-02-10 23:11:25][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001e53b8f': {'short_id': 27471, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001e53b8f', 'model': u'sensor_motion.aq2', 'data': {u'no_motion': u'180'}}}}
[2018-02-10 23:11:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:26][DEBUG] : execute : action yeelight brightnessAct
[2018-02-10 23:11:26][DEBUG] : Slider : 0
[2018-02-10 23:11:26][DEBUG] : Client connected to [127.0.0.1:57534]
[2018-02-10 23:11:26][DEBUG] : Message read from socket: {"apikey":"a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG","type":"yeelight","cmd":"send","dest":"192.168.1.2","model":"mono","sid":"0x0000000003621098","short_id":"54","command":"turn off","option":"0","id":"192.168.1.2","sup":""}
[2018-02-10 23:11:26][DEBUG] : Client disconnected from [127.0.0.1:57534]
[2018-02-10 23:11:26][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-02-10 23:11:26][DEBUG] : Received command from jeedom : send
[2018-02-10 23:11:26][DEBUG] : Executing action on : mono
[2018-02-10 23:11:26][DEBUG] : {u'apikey': u'a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG', u'option': u'0', u'short_id': u'54', u'dest': u'192.168.1.2', u'cmd': u'send', u'sup': u'', u'command': u'turn off', u'sid': u'0x0000000003621098', u'model': u'mono', u'type': u'yeelight', u'id': u'192.168.1.2'}
[2018-02-10 23:11:26][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['off', 'smooth', 500], 'id': 0, 'method': 'set_power'}
[2018-02-10 23:11:26][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'ok']}
[2018-02-10 23:11:26][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Z9THJrvRZhcT98NP', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:27][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'Z9THJrvRZhcT98NP', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:27][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:27][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:28][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'flow_params', 'music_on', 'name'], 'id': 0, 'method': 'get_prop'}
[2018-02-10 23:11:28][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'off', u'100', u'', u'', u'', u'', u'2', u'0', u'0', u'', u'', u'']}
[2018-02-10 23:11:28][DEBUG] : Send to jeedom : {u'devices': {u'yeelight_192.168.1.2': {'ip': u'192.168.1.2', 'capabilities': {'hue': None, 'color_mode': u'2', 'name': None, 'power': u'off', 'music_on': None, 'delayoff': u'0', 'bright': u'100', 'rgb': None, 'flowing': u'0', 'flow_params': None, 'sat': None, 'id': u'192.168.1.2', 'ct': None}}}}
[2018-02-10 23:11:28][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:28][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:36][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'zfTP2hpVRcqu4v0f', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:36][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'zfTP2hpVRcqu4v0f', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:40][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:11:40][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:11:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:46][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'jLhEIglSZrpPKsSw', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:46][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'jLhEIglSZrpPKsSw', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:46][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:47][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Aeng57zcLcMeybBc', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:11:56][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'Aeng57zcLcMeybBc', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:11:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:11:57][DEBUG] : {u'model': u'sensor_switch.aq2', u'cmd': u'report', u'data': u'{"status":"click"}', u'short_id': 21, u'sid': u'158d0001a673c5'}
[2018-02-10 23:11:57][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0001a673c5': {'short_id': 21, 'cmd': u'report', 'source': '192.168.1.95', 'token': '', 'sid': u'158d0001a673c5', 'model': u'sensor_switch.aq2', 'data': {u'status': u'click'}}}}
[2018-02-10 23:11:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:11:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:12:03][DEBUG] : Rafraîchissement de Yeelight : Yeel
[2018-02-10 23:12:03][DEBUG] : execute : action yeelight refresh
[2018-02-10 23:12:03][DEBUG] : Client connected to [127.0.0.1:57554]
[2018-02-10 23:12:03][DEBUG] : Message read from socket: {"apikey":"a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG","type":"yeelight","cmd":"refresh","model":"mono","dest":"192.168.1.2","token":"","devtype":"54","serial":"0x0000000003621098","id":"192.168.1.2"}
[2018-02-10 23:12:03][DEBUG] : Client disconnected from [127.0.0.1:57554]
[2018-02-10 23:12:03][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2018-02-10 23:12:03][DEBUG] : Received command from jeedom : refresh
[2018-02-10 23:12:03][DEBUG] : Refreshing : mono
[2018-02-10 23:12:03][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> > {'params': ['power', 'bright', 'ct', 'rgb', 'hue', 'sat', 'color_mode', 'flowing', 'delayoff', 'flow_params', 'music_on', 'name'], 'id': 0, 'method': 'get_prop'}
[2018-02-10 23:12:03][DEBUG] : Bulb<192.168.1.2:55443, type=BulbType.Unknown> < {u'id': 0, u'result': [u'off', u'100', u'', u'', u'', u'', u'2', u'0', u'0', u'', u'', u'']}
[2018-02-10 23:12:03][DEBUG] : Send to jeedom : {u'devices': {u'yeelight_192.168.1.2': {'ip': u'192.168.1.2', 'capabilities': {'hue': None, 'color_mode': u'2', 'name': None, 'power': u'off', 'music_on': None, 'delayoff': u'0', 'bright': u'100', 'rgb': None, 'flowing': u'0', 'flow_params': None, 'sat': None, 'id': u'192.168.1.2', 'ct': None}}}}
[2018-02-10 23:12:03][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:12:03][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:12:06][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'o8CcHvUqQS9ELqLl', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:12:06][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'o8CcHvUqQS9ELqLl', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:12:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:12:07][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:12:16][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'lriGxLwHjTby8QD6', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:12:16][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'lriGxLwHjTby8QD6', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:12:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1
[2018-02-10 23:12:17][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=a1m0YQdavkFwkVWBkqYNLsXwOYwRTxvG HTTP/1.1" 200 0
[2018-02-10 23:12:26][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'YZdZ8rqj6kcifmNL', u'sid': u'34ce0091ec0e', u'model': u'gateway', u'data': u'{"ip":"192.168.1.95"}'}
[2018-02-10 23:12:26][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ec0e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.95', 'token': u'YZdZ8rqj6kcifmNL', 'sid': u'34ce0091ec0e', 'model': u'gateway', 'data': {u'ip': u'192.168.1.95'}}}}
[2018-02-10 23:12:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1