Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

[Plugin Tiers] Xiaomi Home

pipolas
Timide
Messages : 7
Inscription : 30 juin 2016, 16:36

Re: [Plugin Tiers] Xiaomi Home

Message par pipolas » 19 août 2017, 10:41

Pax24 a écrit :
18 août 2017, 16:03
pipolas a écrit :
17 août 2017, 21:21
Pour faire suite à mon message, ci-joint le log lors d'une tentative de désactivation de la prise connectée. Une idée d'où peut venir ce soucis de "aqara Offline"? J'ai tenté de passer la bbox en wifi b/g/n, puis b/g, différents canaux etc...
Pas de soucis du côté de mihome!
J'ai eu le problème quelques pages avant. Pour ma part c'est l'IP réservée de la GW qui avait sauté de ma box du coup elle n'était plus à la bonne IP dans Jeedom et donc indiquée offline et c'était vicieux parce que certains trucs marchaient quand même (en gros tout ce qui est info marche, les actions marchent pas dont les prises).
Commence donc par vérifier ça dans l'app regarde l'IP de ta GW dans les infos network puis compare avec celle dans Jeedom sur sa page équipement. ;)
Hello Pax24,
Merci pour ton message. J'avais en effet vu ton problème, et j'avais vérifié: l'IP est OK. Mais je garde en tête cette histoire d'IP pour le jour ou elle sautera!
Mais dans mon cas, les commandes passent parfois, parfois tout de suite, parfois au bout de 15 secondes, parfois pas du tout!
On m'a conseillé de changer le routeur, je dois en commander un aujourd'hui, je ferai un retour en début de semaine!
Ca fera pas de mal de changer le routeur/wifi de la bbox (le routeur/la box sont pas mal, mais le wifi est vraiment naze) et il semble que ca ait déjà résolu le même problème que celui que je rencontre..mais j'ai du mal à comprendre (fonctionnellement et techniquement) comment les commandes ne pourraient passer "qu'à moitié", surtout qu'il n'y a pas de soucis depuis mihome! Si jamais le nouveau routeur résout le problème comme prévu, j'investiguerai pour avoir ma réponse!

Avatar de l’utilisateur
Ultraboss
Timide
Messages : 51
Inscription : 21 mai 2017, 20:42

Re: [Plugin Tiers] Xiaomi Home

Message par Ultraboss » 19 août 2017, 10:56

Bonjour,

j'aimerais savoir si d'autres sont dans mon cas, à ne plus avoir le détail des capteurs dans la log xiaomihome (même en debug) :

Code : Tout sélectionner

[2017-08-19 10:10:05][DEBUG] : Status Array (     [ip] => 192.168.0.109     [model] => vacuum     [get_status] => Array         (             [msg_ver] => 5             [clean_area] => 5             [battery] => 100             [error_code] => Tout va bien             [dnd_enabled] => 0             [fan_power] => 77             [state] => En charge             [map_present] => 0             [in_cleaning] => 0             [clean_time] => 0:10:12s             [msg_seq] => 78         )      [get_consumable] => Array         (             [sensor_dirty_time] => 77654             [main_brush_work_time] => 77949             [side_brush_work_time] => 77949             [filter_work_time] => 77949         )  )
[2017-08-19 10:11:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:11:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:12:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:12:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:13:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:13:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:13:37][DEBUG] : execute : action aquara status-on
[2017-08-19 10:14:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:14:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:15:04][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:15:04][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:15:04][DEBUG] : Refresh de Aqara : Gateway
[2017-08-19 10:15:04][DEBUG] : Refresh de XiaomiWifi : Aspirateur
[2017-08-19 10:15:04][DEBUG] : execute : action wifi refresh
[2017-08-19 10:15:05][DEBUG] : Status Array (     [ip] => 192.168.0.109     [model] => vacuum     [get_status] => Array         (             [msg_ver] => 5             [clean_area] => 5             [battery] => 100             [error_code] => Tout va bien             [dnd_enabled] => 0             [fan_power] => 77             [state] => En charge             [map_present] => 0             [in_cleaning] => 0             [clean_time] => 0:10:12s             [msg_seq] => 79         )      [get_consumable] => Array         (             [sensor_dirty_time] => 77654             [main_brush_work_time] => 77949             [side_brush_work_time] => 77949             [filter_work_time] => 77949         )  )
[2017-08-19 10:16:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:16:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:16:29][DEBUG] : execute : action aquara status-off
[2017-08-19 10:17:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:17:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:18:33][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:18:33][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:19:33][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:19:33][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:20:05][DEBUG] : Refresh de Aqara : Gateway
[2017-08-19 10:20:05][DEBUG] : Refresh de XiaomiWifi : Aspirateur
[2017-08-19 10:20:05][DEBUG] : execute : action wifi refresh
[2017-08-19 10:20:05][DEBUG] : Status Array (     [ip] => 192.168.0.109     [model] => vacuum     [get_status] => Array         (             [msg_ver] => 5             [clean_area] => 5             [battery] => 100             [error_code] => Tout va bien             [dnd_enabled] => 0             [fan_power] => 77             [state] => En charge             [map_present] => 0             [in_cleaning] => 0             [clean_time] => 0:10:12s             [msg_seq] => 80         )      [get_consumable] => Array         (             [sensor_dirty_time] => 77654             [main_brush_work_time] => 77949             [side_brush_work_time] => 77949             [filter_work_time] => 77949         )  )
[2017-08-19 10:20:34][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:20:34][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:21:33][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:21:33][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:22:04][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:22:04][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:23:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:23:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:24:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:24:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:25:03][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:25:03][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:25:04][DEBUG] : Refresh de Aqara : Gateway
[2017-08-19 10:25:04][DEBUG] : Refresh de XiaomiWifi : Aspirateur
[2017-08-19 10:25:04][DEBUG] : execute : action wifi refresh
[2017-08-19 10:25:04][DEBUG] : Status Array (     [ip] => 192.168.0.109     [model] => vacuum     [get_status] => Array         (             [msg_ver] => 5             [clean_area] => 5             [battery] => 100             [error_code] => Tout va bien             [dnd_enabled] => 0             [fan_power] => 77             [state] => En charge             [map_present] => 0             [in_cleaning] => 0             [clean_time] => 0:10:12s             [msg_seq] => 84         )      [get_consumable] => Array         (             [sensor_dirty_time] => 77654             [main_brush_work_time] => 77949             [side_brush_work_time] => 77949             [filter_work_time] => 77949         )  )
[2017-08-19 10:25:51][DEBUG] : execute : action aquara status-off
[2017-08-19 10:26:04][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:26:04][DEBUG] : execute : action yeelight refresh
[2017-08-19 10:27:04][DEBUG] : Refresh de Yeelight : Salon_lamp
[2017-08-19 10:27:04][DEBUG] : execute : action yeelight refresh
Pourtant le status des capteurs fonctionne bien.
Je me servais des détails des capteurs pour paramétrer mes scénarios.
Les commandes envoyées ne sont plus logguées dans une log séparée ?

En niveau info, je suis spammé de "[2017-08-18 14:27:02][INFO] : Starting new HTTP connection (1): 127.0.0.1" mais pas en debug alors que logiquement info est inclus dans debug ?

Sinon j'ai remarqué un loupé concernant le status d'une prise aqara allumée manuellement, le status est resté sur ON alors que la prise était bien éteinte (mon ON/OFF n'a duré que quelques secondes). Si on l'allume/éteint via le widget, pas de soucis d'état.

Merci
Jeedom core 3.0.11 sur RPI3 et plugin du 15/08 1h03
RPI3/Jeedom V3/Xiaomi gateway/Nest thermostat/Yi ants 720/Mijia 1080/ZW090 Z-Stick Gen5 EU

Avatar de l’utilisateur
bravan
Timide
Messages : 202
Inscription : 30 janv. 2015, 21:25
Localisation : Dijon

Re: [Plugin Tiers] Xiaomi Home

Message par bravan » 19 août 2017, 12:07

Il faut redemarrer le daemon apres etre passé en debug
Jeedom 3.2.9 sur Pi3
RFXcom - GCE Téléinformation USB - Jeedouino - Xiaomi - BLEA

benj29
Actif
Messages : 3983
Inscription : 26 mars 2017, 09:57
Contact :

Re: [Plugin Tiers] Xiaomi Home

Message par benj29 » 19 août 2017, 13:05

Alors quelques logs de mon côté, une baie vitrée qui s'ouvre du milieu, effectivement j'ai l'impression d'avoir quelques rebonds.

Code : Tout sélectionner

[2017-08-19 13:01:46][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'4gDG6fFXiQU3nGL4', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-19 13:01:46][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'4gDG6fFXiQU3nGL4', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-19 13:01:46][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:46][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:48][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'EqVMt286I2JqtlxX', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.249"}'}
[2017-08-19 13:01:48][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.249', 'token': u'EqVMt286I2JqtlxX', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.249'}}}}
[2017-08-19 13:01:48][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:48][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:50][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:50][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:01:50][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:50][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:51][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"[b]close[/b]"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:52][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-19 13:01:52][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:52][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:53][DEBUG] : {u'model': u'magnet', u'cmd': u'heartbeat', u'data': u'{"voltage":3045,"status":[b]"close"[/b]}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:53][DEBUG] : {u'cmd': u'get_id_list', u'158d000113819d': u'158d000113819d'}
[2017-08-19 13:01:53][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close', u'voltage': 3045}}}}
[2017-08-19 13:01:53][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:53][DEBUG] : {u'token': u'XvyPWxkZdho9y6Op', u'cmd': u'get_id_list_ack', u'data': u'["158d0001581070","158d00012553c9","158d000110a82d","158d00015aec4d","158d0001137f7d","158d00015aec93","158d00012db89b","158d000159c952","158d00010fb3f1","158d000111a056","158d00012aec55","158d000159ee6c","158d000110ab1e","158d0001265ddb","158d0001a3f808","158d00018719ec","158d0001a5ed94","158d0001a4a2dc","158d00013e7a40"]', u'sid': u'f0b429cc40b2'}
[2017-08-19 13:01:53][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:53][DEBUG] : {u'cmd': u'read', u'sid': u'158d0001581070'}
[2017-08-19 13:01:53][DEBUG] : {u'cmd': u'read', u'sid': u'158d00012553c9'}
[2017-08-19 13:01:53][DEBUG] : {u'cmd': u'read', u'sid': u'158d000110a82d'}
[2017-08-19 13:01:53][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:54][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:01:54][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:54][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:55][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:55][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-19 13:01:55][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:55][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'mTVk54ZbsurA9R4A', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-19 13:01:56][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'mTVk54ZbsurA9R4A', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-19 13:01:56][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:56][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:56][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:56][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:01:56][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:57][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:58][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'8rbckloowbNaUuSH', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.249"}'}
[2017-08-19 13:01:58][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:58][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close', u'ip': u'192.168.2.249'}}}}
[2017-08-19 13:01:58][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:58][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:01:59][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:01:59][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:01:59][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:01:59][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:00][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:02:00][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-19 13:02:00][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:01][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:02][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:02:02][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:02:02][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:02][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:02:02][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:02][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-19 13:02:02][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:04][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:02:04][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:04][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-19 13:02:04][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:04][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:05][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 26415, u'sid': u'158d000113819d'}
[2017-08-19 13:02:05][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 26415, 'cmd': u'report', 'source': '192.168.2.40', 'token': '', 'sid': u'158d000113819d', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-19 13:02:05][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:05][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-19 13:02:06][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'XY2ECGIiov2zxpM0', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-19 13:02:06][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'XY2ECGIiov2zxpM0', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-19 13:02:06][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-19 13:02:06][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
Je vais essayer de faire maintenant la porte intermédiaire qui semble se louper plus souvent (je le vois surtout car j'ai mis une alerte si porte ouverte alors sms...).

EDIT : j'avais mis en gras les deux close quand ils se suivent mais les balises ne sont pas comprises...

Avatar de l’utilisateur
Ultraboss
Timide
Messages : 51
Inscription : 21 mai 2017, 20:42

Re: [Plugin Tiers] Xiaomi Home

Message par Ultraboss » 19 août 2017, 13:10

Oh la bonne idée merci ! Je pensais que c'était fait lors d'une màj.
RPI3/Jeedom V3/Xiaomi gateway/Nest thermostat/Yi ants 720/Mijia 1080/ZW090 Z-Stick Gen5 EU

phifi
Actif
Messages : 994
Inscription : 25 juin 2014, 19:51
Localisation : Ile de France

Re: [Plugin Tiers] Xiaomi Home

Message par phifi » 19 août 2017, 18:48

Zitoune a écrit :
19 août 2017, 07:36
@lunarok et @sarakah63 comment je fais si moi j'ai jamais eu de soucis, ni avant juillet, ni après juillet :D ??

- Une chose est certaine avec quelque log au moment du problème et surtout avec une explication pour reproduire le problème, ben nos dev ils sont hypers efficace !!

- J'en connais un qui a perdu son bras a force de jouer avec une magnet, donc si vous passer vers chez @sarakh63 prévoyez deux ou trois heures pour donner des coups de pioche car le pauvre garçon a perdu l'usage de son bras et ne pourra pas donc faire son Jardin ce week-end comme prévu.

PS : le principe est de passer chez lui avec qq saucisses, du charbon de bois et surtout une pioche et une pelle ds le coffre de la voiture.
PS2 : Si vous habitez loin, mais que vous avez des piles de rechange pour ces modules, vous pouvez aussi lui envoyer un joli paquet avec une ou deux, car pour le coup sa pile a du perdre 50 ou 60% :lol: .
PS3 : Pour moi, laissez tomber, car j'ai jamais réussi a reproduire le problème et je suis hyper musclé donc j'ai pas de problème de piles, ni de bras.. Par-contre si qq s'ennuie j'ai de la peinture et de l'enduis a faire !! Mon bbq est toujours prêt a servir (une fois l'enduis et les peintures faite) :shock:
Ou tout simplement en passant par un don Paypal sur les blogs respectifs ;)
NUC + ESXI + Jeedom en bêta avec Z-Stick Gen5

benj29
Actif
Messages : 3983
Inscription : 26 mars 2017, 09:57
Contact :

Re: [Plugin Tiers] Xiaomi Home

Message par benj29 » 20 août 2017, 12:35

Bon j'ai passé quelques minutes à faire des tests et apparemment Jeedom me loupe des envois...
J'ai réussi à isoler un log, à noter que côté Xiaomi, il voit bien les open/close.

J'ai isolé l'exemple là, le log est plus complet en bas :

Code : Tout sélectionner

[2017-08-20 12:26:11][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:12][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:12][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:12][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:12][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":972}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:26:12][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:12][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 972, u'rgb': 16777215}}}}
Image

Code : Tout sélectionner

[2017-08-20 12:23:47][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'p9p1zkVFqofOcmLM', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:23:47][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'p9p1zkVFqofOcmLM', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:23:47][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:47][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Aa94LnRHZqEjb5Uz', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:23:50][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'Aa94LnRHZqEjb5Uz', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:23:50][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:50][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:52][DEBUG] : {u'model': u'plug', u'cmd': u'heartbeat', u'data': u'{"voltage":3600,"status":"off","inuse":"0","power_consumed":"910","load_power":"0.00"}', u'short_id': 4230, u'sid': u'158d00013e7a40'}
[2017-08-20 12:23:52][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 4230, 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': '', 'sid': u'158d00013e7a40', 'model': u'plug', 'data': {u'status': u'off', u'load_power': u'0.00', u'voltage': 3600, u'power_consumed': u'910', u'inuse': u'0'}}}}
[2017-08-20 12:23:52][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:52][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:53][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:23:53][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:23:53][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:54][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:56][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:23:56][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:23:56][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'hU1fatk2FaKwLssQ', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:23:57][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:57][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'hU1fatk2FaKwLssQ', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:23:57][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:23:57][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:23:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'o0wWdnLDnw7FXPRF', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:00][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'o0wWdnLDnw7FXPRF', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:00][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:00][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:01][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:24:01][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:24:01][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:02][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:04][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:24:04][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:24:04][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:04][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:06][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'lBycoZphCsRrO69e', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:07][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'lBycoZphCsRrO69e', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:07][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:07][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:08][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:24:08][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:24:08][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:08][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:09][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'iOvZZwRd4e1X3lRi', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:10][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'iOvZZwRd4e1X3lRi', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:10][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:10][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:10][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:24:10][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:24:10][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:11][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:16][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'dvLaE3yqUAMIjU96', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:17][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'dvLaE3yqUAMIjU96', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:17][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:17][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:19][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'WFI0waWE7rDzqcao', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:20][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'WFI0waWE7rDzqcao', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:20][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:20][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:26][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'8IRzbtlnbW0EgeT1', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:27][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'8IRzbtlnbW0EgeT1', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:27][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:27][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:29][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'56RY1JRG1f6Z9pMX', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:30][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'56RY1JRG1f6Z9pMX', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:30][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:30][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:34][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":1163}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:24:34][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 1163, u'rgb': 16777215}}}}
[2017-08-20 12:24:34][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:35][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:36][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'K4DkQvvRn7X9wtxG', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:36][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'K4DkQvvRn7X9wtxG', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:36][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:37][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:39][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'zcuPRWqfvlQvoZPo', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:39][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'zcuPRWqfvlQvoZPo', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:39][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:39][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:46][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'wMsbeVR1sazM8UL5', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:46][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'wMsbeVR1sazM8UL5', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:46][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:47][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:48][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":1143}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:24:48][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 1143, u'rgb': 16777215}}}}
[2017-08-20 12:24:48][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:49][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'58OwtBkmIkYULbpG', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:24:50][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'58OwtBkmIkYULbpG', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:24:50][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:50][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'ESyYnuwfncwAYv0K', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:24:57][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'ESyYnuwfncwAYv0K', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:24:57][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:24:57][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:24:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'h0AbBu49ySHoU7cH', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:00][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'h0AbBu49ySHoU7cH', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:00][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:00][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:03][DEBUG] : Refresh de Aqara : Passerelle 1er étage
[2017-08-20 12:25:03][DEBUG] : Refresh de Aqara : Passerelle RDC
[2017-08-20 12:25:09][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'SRChbpd3i2MfqUe4', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:09][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'SRChbpd3i2MfqUe4', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:09][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:09][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:10][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"no_close":"60"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:25:10][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'no_close': u'60'}}}}
[2017-08-20 12:25:10][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:11][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:16][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'HeFuqh3KcYMsStGO', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:25:16][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'HeFuqh3KcYMsStGO', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:25:16][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:17][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:19][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'ZPyXsKHRmF9ZXldl', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:19][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'ZPyXsKHRmF9ZXldl', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:19][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:19][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:23][DEBUG] : {u'model': u'motion', u'cmd': u'report', u'data': u'{"no_motion":"120"}', u'short_id': 54467, u'sid': u'158d00012aec55'}
[2017-08-20 12:25:23][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 54467, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d00012aec55', 'model': u'motion', 'data': {u'no_motion': u'120'}}}}
[2017-08-20 12:25:23][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:24][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:26][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'0TodJqz5dfeuYSBU', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:25:26][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'0TodJqz5dfeuYSBU', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:25:26][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:26][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:29][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'rnop52kRME7bOBUy', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:29][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'rnop52kRME7bOBUy', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:29][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:29][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:36][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'xDWiALq9XdkyFOO2', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:25:36][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'xDWiALq9XdkyFOO2', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:25:36][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:36][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:39][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'hwh1k9zvryh7huh1', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:39][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'hwh1k9zvryh7huh1', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:39][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:39][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:46][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'7vlTtNgdnHb0vtG7', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:25:46][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'7vlTtNgdnHb0vtG7', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:25:46][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:46][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'8lCJfcXkDHYoEiFX', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:49][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'8lCJfcXkDHYoEiFX', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:49][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:49][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'PMIJKyWFniaz3k4q', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:25:57][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'PMIJKyWFniaz3k4q', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:25:57][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:57][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:25:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Ar5Ef7945oMwPWQz', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:25:59][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'Ar5Ef7945oMwPWQz', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:25:59][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:25:59][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:06][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'5CRCwF0UQMTCzCPC', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:07][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'5CRCwF0UQMTCzCPC', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:07][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:07][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:09][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'7jujNwObJS0I6ZP9', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:09][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'7jujNwObJS0I6ZP9', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:09][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:09][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:11][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":944}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:26:11][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 944, u'rgb': 16777215}}}}
[2017-08-20 12:26:11][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:12][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:12][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:12][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:12][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":972}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:26:12][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:12][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 972, u'rgb': 16777215}}}}
[2017-08-20 12:26:12][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:12][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:16][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'aZG6fA5tF8duJaDb', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:16][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'aZG6fA5tF8duJaDb', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:17][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:19][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'uGHHoqd1V1sy46xG', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:19][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'uGHHoqd1V1sy46xG', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:19][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:19][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:20][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:20][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:20][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:20][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:22][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:22][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:22][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:22][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:23][DEBUG] : {u'model': u'motion', u'cmd': u'report', u'data': u'{"no_motion":"180"}', u'short_id': 54467, u'sid': u'158d00012aec55'}
[2017-08-20 12:26:23][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 54467, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d00012aec55', 'model': u'motion', 'data': {u'no_motion': u'180'}}}}
[2017-08-20 12:26:23][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:23][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:26][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:26][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:26][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:26][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:26][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'yJiRlsmUq1G1aIbS', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:27][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'yJiRlsmUq1G1aIbS', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:27][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:27][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:28][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:28][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:28][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:29][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:29][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'wMp5QX5oXREizETl', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:29][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'wMp5QX5oXREizETl', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:29][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:29][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:30][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:31][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:31][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:31][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:32][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:33][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:33][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:33][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:35][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:35][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:35][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:35][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:36][DEBUG] : {u'model': u'gateway', u'cmd': u'report', u'data': u'{"rgb":16777215,"illumination":1174}', u'short_id': 0, u'sid': u'f0b429cc40b2'}
[2017-08-20 12:26:36][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 0, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'illumination': 1174, u'rgb': 16777215}}}}
[2017-08-20 12:26:36][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:36][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'foVeYvl0GyzzACUn', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:36][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:36][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'foVeYvl0GyzzACUn', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:36][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:36][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:38][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:38][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:38][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:38][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:39][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'McXYr3cs6ZM7pNYx', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:39][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:39][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open', u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:39][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:39][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:41][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:41][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:41][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:42][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:43][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:43][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:43][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:43][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:45][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:45][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:45][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:45][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:46][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'rwNTXYSccIUFezCa', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:46][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': u'rwNTXYSccIUFezCa', 'sid': u'f0b429cc40b2', 'model': u'gateway', 'data': {u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:46][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:46][DEBUG] : {u'model': u'magnet', u'cmd': u'heartbeat', u'data': u'{"voltage":3085,"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:46][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:47][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'heartbeat', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close', u'voltage': 3085}}}}
[2017-08-20 12:26:47][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:47][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:47][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:47][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:26:47][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:48][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u't5NRgMlDlFOYozfN', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:49][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u't5NRgMlDlFOYozfN', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:49][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:49][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:50][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:50][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:26:50][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:51][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:56][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'9RiKymtyJtnaDUap', u'sid': u'f0b429cc40b2', u'model': u'gateway', u'data': u'{"ip":"192.168.2.248"}'}
[2017-08-20 12:26:56][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:26:56][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open', u'ip': u'192.168.2.248'}}}}
[2017-08-20 12:26:56][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:56][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:26:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'53C1LiwqlO7zgiV9', u'sid': u'286c0785a7cf', u'model': u'gateway', u'data': u'{"ip":"192.168.2.40"}'}
[2017-08-20 12:26:59][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.2.40', 'token': u'53C1LiwqlO7zgiV9', 'sid': u'286c0785a7cf', 'model': u'gateway', 'data': {u'ip': u'192.168.2.40'}}}}
[2017-08-20 12:26:59][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:26:59][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:27:02][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"close"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:27:02][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'close'}}}}
[2017-08-20 12:27:02][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:27:02][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0
[2017-08-20 12:27:04][DEBUG] : {u'model': u'magnet', u'cmd': u'report', u'data': u'{"status":"open"}', u'short_id': 8700, u'sid': u'158d0001a4a2dc'}
[2017-08-20 12:27:04][DEBUG] : Send to jeedom : {'devices': {'aquara': {'short_id': 8700, 'cmd': u'report', 'source': '192.168.2.248', 'token': '', 'sid': u'158d0001a4a2dc', 'model': u'magnet', 'data': {u'status': u'open'}}}}
[2017-08-20 12:27:04][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-08-20 12:27:04][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=D9X2DF3pnE5w30k0TnnCij9yjH54bVidVKe7h9lAmHIhXpJx HTTP/1.1" 200 0

Anonyme
Actif
Messages : 10082
Inscription : 09 août 2014, 12:15

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 20 août 2017, 12:53

Contenu supprimé à la demande de son auteur


GreenJu
Timide
Messages : 205
Inscription : 16 avr. 2015, 16:10

Re: [Plugin Tiers] Xiaomi Home

Message par GreenJu » 21 août 2017, 10:20

renaud a écrit :
12 août 2017, 15:38
Bonjour,

Mon aspirateur robot Xiaomi marche nickel avec le plugin ;)

Je viens de recevoir ma Gateway. Aucun soucis pour la faire reconnaitre en suivant la procédure.
J'ai ajouté 2 capteurs de température (les nouveaux carré) et ça marche au top.

Par contre j'ai un soucis avec l'interrupteur simple à pile (pas encastrable).

Il remonte bien automatiquement dans Jeedom mais rien dans son status...
Le niveau des piles et le voltage remontent bien mais pas le clic.

J'ai loupé quelque chose?

Merci de votre aide.

Renaud
Salut,

Je viens de commander un robot aspi Xiaomi aussi, en attendant de le recevoir je commence à regarder comment interfacer tout ça.
Tu me confirmes qu'il fonctionne niquel avec le plugin? Quelles sont les infos qui remontent?
Tu as fait une install via l'appli puis intégration dans Jeedom?

Merci pour tes retours

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: [Plugin Tiers] Xiaomi Home

Message par lunarok » 21 août 2017, 10:24

Y a la doc aussi pour avoir ce genre d'info

Envoyé de mon ONEPLUS A3010 en utilisant Tapatalk

Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

GreenJu
Timide
Messages : 205
Inscription : 16 avr. 2015, 16:10

Re: [Plugin Tiers] Xiaomi Home

Message par GreenJu » 21 août 2017, 10:26

question peut être bête, je ne vois pas le plugin Xiaomi sur le market, il n'est dispo qu'en v3?

Avatar de l’utilisateur
fensoft
Actif
Messages : 1314
Inscription : 07 mai 2015, 11:26

Re: [Plugin Tiers] Xiaomi Home

Message par fensoft » 21 août 2017, 10:28

@greenju
dispo qu'en v3.

@lunarok:
aucun résultat sur la première page du forum ni dans la doc avec le mot "aspi"
Coin!
Thermostat lowcost MaxCube DataTransfert (upload vers cloud)
Développeur embarqué (rtos/drivers linux/c/xilinx/atmel/pic/arm/mips), système (linux,docker,qnx), scientifique (c++/python/mongodb), web (php/mysql), webservices (java/nodejs)

GreenJu
Timide
Messages : 205
Inscription : 16 avr. 2015, 16:10

Re: [Plugin Tiers] Xiaomi Home

Message par GreenJu » 21 août 2017, 10:30

fensoft a écrit :
21 août 2017, 10:28
@greenju
dispo qu'en v3.

@lunarok:
aucun résultat sur la première page du forum ni dans la doc avec le mot "aspi"
Merci

Effectivement j'ai jeté un oeil à la doc en premier, comme il n'était mentionné nulle part que cela pouvait fonctionner je suis venu sur le forum.
Des fois rien de tel qu'un échange sur une expérience utilisateur, surtout quand elle est positive.

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: [Plugin Tiers] Xiaomi Home

Message par lunarok » 21 août 2017, 10:31

Déjà dit, le market a des pbs de disque plein depuis quelques temps. Régulièrement on ne peut plus uploader de plugin mais aussi effet de bord il n'y a plus génération de la doc. Donc la seule a jour est celle embarquée dans jeedom (et encore...)

Envoyé de mon ONEPLUS A3010 en utilisant Tapatalk

Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

Avatar de l’utilisateur
fensoft
Actif
Messages : 1314
Inscription : 07 mai 2015, 11:26

Re: [Plugin Tiers] Xiaomi Home

Message par fensoft » 21 août 2017, 10:35

supprime le lien sur la page 1 et trouve un moyen d'uploader ça autre part alors, parce-que la doc me semble super vieille... pour ceux qui veulent acheter le plugin c'est pas terrible
Coin!
Thermostat lowcost MaxCube DataTransfert (upload vers cloud)
Développeur embarqué (rtos/drivers linux/c/xilinx/atmel/pic/arm/mips), système (linux,docker,qnx), scientifique (c++/python/mongodb), web (php/mysql), webservices (java/nodejs)

Anonyme
Actif
Messages : 10082
Inscription : 09 août 2014, 12:15

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 21 août 2017, 11:02

Contenu supprimé à la demande de son auteur

Avatar de l’utilisateur
lunarok
Actif
Messages : 6704
Inscription : 08 août 2014, 12:48
Localisation : Anjou

Re: [Plugin Tiers] Xiaomi Home

Message par lunarok » 21 août 2017, 11:10

fensoft a écrit :supprime le lien sur la page 1 et trouve un moyen d'uploader ça autre part alors, parce-que la doc me semble super vieille... pour ceux qui veulent acheter le plugin c'est pas terrible
Tout ca pour du disque manquant. Mais oui pour le coup je vais continuer les migrations doc vers github en full. Meilleur moyen de garantir une doc a jour et plus encore.

Envoyé de mon ONEPLUS A3010 en utilisant Tapatalk

Mon Blog | Xiaomi Home
Pour contribuer au développement des plugins (don ou achat de matériel) : Paypal
Aides nous à t'aider : les logs, détails du soucis, la doc, recherche sur le forum ...
PS : pas de support par MP, je ne répondrais pas

denisb88
Timide
Messages : 243
Inscription : 12 mars 2016, 08:53

Re: [Plugin Tiers] Xiaomi Home

Message par denisb88 » 21 août 2017, 15:12

Un énorme merci à Pierre, ça méthode fonctionne du 1er coup sur Mac
En m'inspirant de la méthode Gouzou (j'imagine que tu parlais de ce message : viewtopic.php?f=182&t=23382&p=492698&hi ... VM#p492698), et en fouillant sur google j'ai réussi à extraire la db et le token de mon iPhone non jailbreaké en passant par un backup :)

La méthode devrait marcher avec un mac ou un pc, mais je ne l'ai testé que sur Mac :

1- faire un backup de son iPhone avec iTunes
2- ouvrir le backup avec la version gratuite de iPhoneBackup Viewer : http://www.imactools.com/iphonebackupviewer/ (si votre backup est crypté, il faudra passer par a version payante)
3- dans Raw Data/com.xiaomi.mihome il y a plusieurs fichiers .sqllite, il faut extraire celui qui s'appelle votreuserid_mihome.sqlite (attention, chez moi il y en avait un sans userid qui était vide
4- ouvrir le fichier sqlite avec un viewer sqlite, j'ai utilisé DB Browser http://sqlitebrowser.org
5- Là il faut cliquer sur "Ouvrir une base de données" puis " Parcourir les données" et enfin choisir la table ZDEVICE. Tout à droite il doit y avoir une colonne ZTOKEN avec tous les tokens de vos device Xiaomi, il n'y a plus qu’à trouver le robot! :)

Avatar de l’utilisateur
Fabe
Timide
Messages : 328
Inscription : 05 déc. 2016, 09:56

Re: [Plugin Tiers] Xiaomi Home

Message par Fabe » 21 août 2017, 21:25

Hello savez-vous quand la prochaine mise à jour sera disponible car aujourd'hui j'ai rencontré le problème cité plus haut par certains. L'application My home n'a pas envoyé la fermeture d'une de mes fenêtres à Jeedom . Je ne n'ai pas pris les logs car j'étais au bureau. Si cela se reproduit j'y penserai.

Envoyé de mon A0001 en utilisant Tapatalk

Jeedom 4.0.31 - Mini PC Z83II - Clé ZWave GEN5 - Gateway Xiaomi
BLEA - XIAOMI - ZWAVE - ALARME - CAMERA - THERMOSTAT - SIGRI LINKY - TELEINFO- SUIVI CONSO - APP MOBILE - DIALOG FLOW - METEO - GSH - IFTTT - GCAST - WEBOS TV - DYNDNS - WIFILIGHT V2

Répondre

Revenir vers « [Plugin Tiers] Xiaomi Home »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 8 invités