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

Avatar de l’utilisateur
mathieu.vandamme
Timide
Messages : 281
Inscription : 07 nov. 2016, 22:08
Localisation : Lille

Re: [Plugin Tiers] Xiaomi Home

Message par mathieu.vandamme » 26 nov. 2017, 16:52

lunarok a écrit :Et elle marche cette commande actuellement sur ta première gateway ? car je vois rien qui met à jour un statut en cas de changement actuellement
Ouaip elle marche nickel ! Quand j’allume la gateway l’état passe à 1 et quand je l’éteins (toujours par jeedom) le statut passe à zéro


Envoyé de mon iPad en utilisant Tapatalk
Je ne suis pas asocial, Je ne suis juste pas orienté utilisateur

beber49
Timide
Messages : 197
Inscription : 26 janv. 2017, 20:11

Re: [Plugin Tiers] Xiaomi Home

Message par beber49 » 27 nov. 2017, 10:21

Bonjour,
Même problème que le post précédent, du jour au lendemain, une des mes 2 gateway ne fonctionne plus dans le plugin, alors que tout fonctionne dans l'appli Xiaomi...
Toute mon alarme est basée sur l'appli Xiaomi Home, c'est pas WAF du tout tout ça, surtout que je pars à l'étranger une semaine.
C'est la premiere fois que ca m'arrive en 4 mois.

Ce matin, j'ai passé en débug, voilà :

Code : Tout sélectionner

[2017-11-27 08:18:56][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:19:05][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'wD20XBQTSEzNXy6N', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:19:06][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'wD20XBQTSEzNXy6N', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:19:06][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:19:06][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:19:44][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'XbEcEZZZrWuSDjeS', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:19:44][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'XbEcEZZZrWuSDjeS', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:19:44][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:19:44][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 09:20:04][DEBUG] : Refresh de Aqara : Xiaomi-GW-Bureau
[2017-11-27 09:20:04][DEBUG] : Refresh de Aqara : Xiaomi-GW-Salon
[2017-11-27 08:20:15][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'7dJPK9Nhxxi4zaZf', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:20:15][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'7dJPK9Nhxxi4zaZf', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:20:15][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:20:16][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:21:03][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Qj5RsVqHcAk6HdH6', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:21:03][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'Qj5RsVqHcAk6HdH6', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:21:03][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:21:04][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:21:35][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'hGJmLBO4WC92gMFE', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:21:35][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'hGJmLBO4WC92gMFE', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:21:35][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:21:35][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:22:23][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'H6sHmCuQKXQKZIJI', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:22:23][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'H6sHmCuQKXQKZIJI', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:22:23][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:22:24][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:22:55][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'81sRsSN4l7tiqWnp', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:22:55][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'81sRsSN4l7tiqWnp', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:22:55][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:22:55][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:24:15][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'8nMPEwzLo3L4lLUj', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:24:15][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'8nMPEwzLo3L4lLUj', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:24:15][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:24:15][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 09:25:03][DEBUG] : Refresh de Aqara : Xiaomi-GW-Bureau
[2017-11-27 09:25:03][DEBUG] : Refresh de Aqara : Xiaomi-GW-Salon
[2017-11-27 09:25:24][INFO] : Lancement démon xiaomihome : /usr/bin/python /var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py --loglevel debug --socketport 55019 --callback http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php --apikey OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 --cycle 0.05 --pid /tmp/jeedom/xiaomihome/deamon.pid
[2017-11-27 08:25:28][INFO] : Start xiaomihomed
[2017-11-27 08:25:28][INFO] : Log level : debug
[2017-11-27 08:25:28][INFO] : Socket port : 55019
[2017-11-27 08:25:28][INFO] : Socket host : 127.0.0.1
[2017-11-27 08:25:28][INFO] : PID file : /tmp/jeedom/xiaomihome/deamon.pid
[2017-11-27 08:25:28][INFO] : Apikey : OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61
[2017-11-27 08:25:28][INFO] : Callback : http://127.0.0.1:80/plugins/xiaomihome/core/php/jeeXiaomiHome.php
[2017-11-27 08:25:28][INFO] : Cycle : 0.05
[2017-11-27 08:25:28][DEBUG] : Writing PID 16222 to /tmp/jeedom/xiaomihome/deamon.pid
[2017-11-27 08:25:28][DEBUG] : Init request module v2.4.3
[2017-11-27 08:25:28][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 09:25:28][DEBUG] : Format Invalide
[2017-11-27 08:25:28][DEBUG] : "GET /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:25:28][DEBUG] : Socket interface started
[2017-11-27 08:25:28][DEBUG] : LoopNetServer Thread started
[2017-11-27 08:25:28][DEBUG] : Listening on: [127.0.0.1:55019]
[2017-11-27 08:25:28][INFO] : Start listening...
[2017-11-27 08:25:28][DEBUG] : Read Socket Thread Launched
[2017-11-27 08:25:28][DEBUG] : Aquara Thread Launched
[2017-11-27 08:26:15][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'FGqdjk3CbmqwiHcy', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:26:15][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'FGqdjk3CbmqwiHcy', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:26:15][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:26:15][DEBUG] : {u'34ce0088de9e': u'34ce0088de9e', u'cmd': u'get_id_list'}
[2017-11-27 08:26:15][DEBUG] : {u'token': u'd9oYlOIIs3rVElH2', u'cmd': u'get_id_list_ack', u'data': u'["158d000121ab87","158d00016570ea","158d00016c7632","158d00016d8508","158d00016c76e5","158d0001a22761","158d0001a2277f"]', u'sid': u'34ce0088e75c'}
[2017-11-27 08:26:15][ERROR] : u'34ce0088e75c'
[2017-11-27 08:26:15][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:27:03][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'IXqmA6Y7s6OOq0xh', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:27:03][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'IXqmA6Y7s6OOq0xh', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:27:03][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:27:03][DEBUG] : {u'34ce0088e75c': u'34ce0088e75c', u'cmd': u'get_id_list'}
[2017-11-27 08:27:03][DEBUG] : {u'token': u'5TOon6Ugx9gl8EpK', u'cmd': u'get_id_list_ack', u'data': u'["158d0001a3e834","158d000120d159","158d00016570e1","158d0001a3defa","158d0001657236","158d00016d6f81","158d0001a366f3","158d00016d86d4"]', u'sid': u'34ce0088de9e'}
[2017-11-27 08:27:03][DEBUG] : {u'cmd': u'read', u'sid': u'158d0001a3e834'}
[2017-11-27 08:27:03][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:27:03][DEBUG] : {u'cmd': u'read', u'sid': u'158d000120d159'}
[2017-11-27 08:28:25][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'u1VVHbLTWZTweg94', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:28:25][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'u1VVHbLTWZTweg94', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:28:25][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:28:25][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:29:43][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'NALfitzQz8rbTl4S', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:29:43][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'NALfitzQz8rbTl4S', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:29:43][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:29:43][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 09:30:04][DEBUG] : Refresh de Aqara : Xiaomi-GW-Bureau
[2017-11-27 09:30:04][DEBUG] : Refresh de Aqara : Xiaomi-GW-Salon
[2017-11-27 08:32:24][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'rPUNfrW14KfHkw2r', u'sid': u'34ce0088de9e', u'model': u'gateway', u'data': u'{"ip":"192.168.0.113"}'}
[2017-11-27 08:32:24][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088de9e': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.113', 'token': u'rPUNfrW14KfHkw2r', 'sid': u'34ce0088de9e', 'model': u'gateway', 'data': {u'ip': u'192.168.0.113'}}}}
[2017-11-27 08:32:24][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:32:24][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 08:32:32][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'3vPr26ZVbSBonfST', u'sid': u'34ce0088e75c', u'model': u'gateway', u'data': u'{"ip":"192.168.0.112"}'}
[2017-11-27 08:32:32][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0088e75c': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.0.112', 'token': u'3vPr26ZVbSBonfST', 'sid': u'34ce0088e75c', 'model': u'gateway', 'data': {u'ip': u'192.168.0.112'}}}}
[2017-11-27 08:32:33][INFO] : Starting new HTTP connection (1): 127.0.0.1
[2017-11-27 08:32:33][DEBUG] : "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=OvNvA0Qw0CsKRery6aMW4mqPbLiDpr61 HTTP/1.1" 200 0
[2017-11-27 09:33:41][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=xiaomihome function=remove callInstallFunction=1
[2017-11-27 09:33:48][INFO] : Début d'activation du plugin
[2017-11-27 09:33:49][INFO] : Info sur le démon : Array (     [launchable_message] =>      [launchable] => nok     [state] => nok     [log] => nok     [auto] => 0 )
[2017-11-27 09:33:49][DEBUG] : Lancement de : /var/www/html/core/class/../../core/php/jeePlugin.php  plugin_id=xiaomihome function=install callInstallFunction=1
[2017-11-27 08:36:21][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:36:57][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:04][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:04][ERROR] : u'34ce0088e75c'
[2017-11-27 08:37:09][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:17][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:24][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:32][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:38][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:44][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:37:53][ERROR] : Exception on socket : u'34ce0088e75c'
[2017-11-27 08:38:02][ERROR] : Exception on socket : u'34ce0088e75c'
Le démon est OK, les cron activés, les dépendances bien installés depuis 3 mois...
L'identifiant 34ce0088e75c est évidemment la gateway du salon. Le token est bon, elle ping bien, HELP...
Dernière édition par Anonyme le 27 nov. 2017, 18:19, édité 1 fois.
Raison : Merci d'utiliser le bloc code pour plus de lisibilité

guy4154
Timide
Messages : 181
Inscription : 31 mars 2016, 10:25
Localisation : vendome

Re: [Plugin Tiers] Xiaomi Home

Message par guy4154 » 29 nov. 2017, 19:36

bonsoir à tous,

j'ai installé xiaomi home ,paramétré, les commandes fonctionnent avec jeedom(password saisi) mais j'ai le petit soucis suivant
lorsque je choisis une couleur de l'anneau et l'intensité lumineuse avec smartphone ou commande de jeedom,celle ci varie en fonction de la couleur(normal),mais repasse à la couleur verte au bout de quelques secondes , si j'éteinds la luminosité via jeedom ou smartphone ,elle se rallume en vert également au bout de quelques secondes.
Dans les différents menu" light", je n'ai vu une commande annulant cet éclairage par defaut.
une idée
merci de votre aide
Guy
Dernière édition par guy4154 le 30 nov. 2017, 10:37, édité 1 fois.

beber49
Timide
Messages : 197
Inscription : 26 janv. 2017, 20:11

Re: [Plugin Tiers] Xiaomi Home

Message par beber49 » 29 nov. 2017, 21:45

Bonjour à tous, bon en l'absence de réponse, j'ai investigué de longues heures et je pense avoir trouvé peut être le probleme.
Mes 2 gateway ont un identifiant court à 0, sans rien faire...
Problème deja rencontré une fois sans avoir de réponse d'ailleurs.
Je ne sais pas trop quoi faire je dois dire.
J'ai cru comprendre que la suppression d'une gateway ne supprimait pas les capteurs qui en dependait... Si Lunarok, vous pouviez valider, ca serait sympa !
Je vais changer le routeur des gateway ce week-end, ça pourrait être l'occasion, si mon problème venait de là...

petoulachi
Timide
Messages : 128
Inscription : 24 mars 2015, 10:29

Re: [Plugin Tiers] Xiaomi Home

Message par petoulachi » 30 nov. 2017, 15:00

Je te confirme que supprimer la GW n'a pas d'incidence sur tes capteurs (qd tu vas remettre la GW les capteurs seront là)

Swatmorpheus
Actif
Messages : 919
Inscription : 23 avr. 2015, 14:38
Localisation : Haute Gironde

Re: [Plugin Tiers] Xiaomi Home

Message par Swatmorpheus » 01 déc. 2017, 17:29

Salut j'aurai besoin d'aide concernant ma prise xiaomi , pour éviter de grossir ce post j'avais expliqué mon pb sur celui là merci viewtopic.php?f=182&t=30740&p=553429#p553429
Prod: jeedom V3.2.12 DIY RPI3 + Zwave (fibaro) + Zigbee (xiaomi) + IPXV4 + X4VR
AppleTV4k
PI3 : Max2play
PiZéro: PiCoreplayer
Mini+: OpenElec 7.0.1 Kodi 16.1 Jarvis
En préinstall pour migration: Nuc hystou ,ESXi6.7,jeedom V3.2.12, LMS ,Owncloud

maxdow
Timide
Messages : 2
Inscription : 01 déc. 2017, 21:01

Re: [Plugin Tiers] Xiaomi Home

Message par maxdow » 01 déc. 2017, 21:14

Bonjour,

tout d'abord merci pour le travail autour de ces excellents petit modules Xiaomi. Après avoir passé des heures et des heures dans le DIY, j'avoue que pour très peu cher ça fait gagner beaucoup de temps ;)

J'ai une question concernant l'historisation des données capteur ( typiquement température mais ça vaut pour les autres capteurs ). Je coupe mon wifi la nuit, donc jeedom ne reçoit pas les infos de la gateway pdt ce temps là. Or ces infos sont stockées sur la gateway car on peut les lire après coup à partir de MiHome. Y aurait il un moyen de récupérer ça sur Jeedom ?

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 » 01 déc. 2017, 21:58

nope, pas possible, via l'API c'est perdu
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

cyril5689
Timide
Messages : 42
Inscription : 22 nov. 2017, 17:23

Re: [Plugin Tiers] Xiaomi Home

Message par cyril5689 » 02 déc. 2017, 10:19

Bonjour à tous.

Tout d'abord merci à tous pour les informations et à lunarok pour le plugin.

J'ai parfois un petit soucis qui se produit. Une porte (ou plutot le capteur) est indiquée comme ouverte alors que ce n'est pas le cas.

L'information est incorrecte seulement dans Jeedom. Dans mihome, le capteur de porte est bien indiqué comme fermé. Il me semble que j'avais regardé les remontés du capteur de porte et que les logs indiquaient que le capteur était fermé, mais je me demande si je regardais bien au bon endroit.
En tout cas, les scénarios qui devaient s’exécuter seulement si la porte était ouverte, discutaillaient donc ce n'était pas seulement un soucis d'affichage.

Mes questions:
- Est-ce que je suis le seul à avoir ce soucis d'incohérence entre l'état réel (mihome + état physique du capteur) et l'état dans jeedom ?
- La prochaine fois que cela m'arrive, comment puis-je vous fournir des informations pertinentes ? (logs en debug ? logs du capteur ?)


Merci à vous.

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

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 02 déc. 2017, 11:05

Contenu supprimé à la demande de son auteur

scn60
Timide
Messages : 61
Inscription : 29 sept. 2017, 13:06

Re: [Plugin Tiers] Xiaomi Home

Message par scn60 » 02 déc. 2017, 11:53

Bonjour à tous,

Bon j'ai l'erreur python bloquant l'installation des dépendances, et malgré la suppression et la reinstallation de python tes pareil :
from pip.download import path_to_url
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module>
from requests.compat import IncompleteRead
ImportError: cannot import name IncompleteRead

Des réponses ont été apportées mais laquelle est la bonne SVP
Merci

cyril5689
Timide
Messages : 42
Inscription : 22 nov. 2017, 17:23

Re: [Plugin Tiers] Xiaomi Home

Message par cyril5689 » 02 déc. 2017, 12:14

magicgg91 a écrit :
02 déc. 2017, 11:05
Bonjour,

Il y a déjà un souci du genre qui a été corrigé, mais on n’est jamais à l’abri d’un autre problème.

Il faudra des logs en debug du plugin, et les captures d’écran de l'application Mi Home où on voit l’incohérence.
D'accord Merci magicgg91. J'ai donc passé le plugin en mode debug, j'ai redémarré le demon pour la bonne prise en compte.
Concernant les logs, c'est un petit peu flou pour moi. Il n'y a pas de moyen d'accéder à des logs spécifiques par capteur ? Il faut aller dans les logs du plugin ?

Désolé si les questions ont déjà été posé. Je me prépare efficacement pour fournir des logs pertinentes à la prochaine fois que le soucis ce produit. Actuellement je rencontre ce soucis une fois par semaine environ.

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

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 02 déc. 2017, 12:25

Contenu supprimé à la demande de son auteur

HoLengZai
Timide
Messages : 1
Inscription : 04 déc. 2017, 11:26

Re: [Plugin Tiers] Xiaomi Home

Message par HoLengZai » 04 déc. 2017, 11:43

Bonjour,

Je viens partager la solution d'un problème que j'ai récemment eu avec Jeedom et le plugin Xiaomi.
Pour être exact, c'est le Raspberry (Jessie) et je pense l'application pip qui m'a foutu un gros bordel ou "apt-get upgrade" lors d'une mise à jour du pi

Je n'ai plus les logs qui a causé mon problème d'origine en ayant, de mémoire, une erreur avec le module cryptography de python 2.7
j'ai réinstallé (forcer) le module cryptography, restaurer une sauvegarde Jeedom, réinstaller Jeedom par dessus en ligne de commande comme indiqué sur la doc.. enfin bref... à la fin, je me retrouvais toujours avec les logs ci dessous pour le module Xiaomi. Et donc le daemon du xiaomi ne se lancait pas


Voici les logs de mon plugin Xiaomi

Code : Tout sélectionner

[2017-12-04 10:25:35][ERROR] : Impossible de lancer le démon xiaomihomed, vérifiez le log
Traceback (most recent call last):
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/xiaomihomed.py", line 28, in <module>
from devices.yeehome import *
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/devices/yeehome.py", line 13, in <module>
import utils
File "/var/www/html/plugins/xiaomihome/resources/xiaomihomed/utils.py", line 6, in <module>
from cryptography.hazmat.primitives import padding
File "/usr/local/lib/python2.7/dist-packages/cryptography/hazmat/primitives/padding.py", line 13, in <module>
from cryptography.hazmat.bindings._padding import lib
AttributeError: 'module' object has no attribute '_init_cffi_1_0_external_module'
[2017-12-04 10:30:35][ERROR] : Impossible de lancer le démon xiaomihomed, vérifiez le log
J'ai résolu mon problème en lançant la commande suivante en ssh

D'après ce que j'ai lu, c'est lorsque j'ai fais une mise à jour du pi3 que j'ai eu le problème
et l'application pip ou apt-get upgrade à écraser la bonne version de cffi
et donc il faut utiliser easy_install pour mettre la bonne version compatible avec le plugin xiaomi
I don't know if this is to be addressed on cryptography itself. What is happening within the devstack installation is that at some point, cffi 1.1.2 from pip is being overwritten with cffi 0.8.6 from the python-cffi package. As cryptography 1.1.2 is making a call to the cffi_1_0_external_module' it doesn't exists and thus fails.
Problème datant de Août 2015 et qui n'a toujours pas été corriger.

Enfin bref... mon module cffi est maintenant bien en version 1.11.2 au lieu de 0.8.6 et donc le daemon du xiaomi se relance bien.


En espérant que cela puisse aider si cela arrive à quelqu'un d'autre
Dernière édition par Anonyme le 04 déc. 2017, 13:04, édité 1 fois.
Raison : Merci de ne pas donner de commandes SSH, les problèmes doivent être résolus unitairement.

beber49
Timide
Messages : 197
Inscription : 26 janv. 2017, 20:11

Re: [Plugin Tiers] Xiaomi Home

Message par beber49 » 05 déc. 2017, 09:06

Bonjour,

Toujours le même problème personnellement (voir page 212), problème urgent puisque toute mon alarme repose sur le plugin Xiaomi, mais qui n'a pas mérité l'attention des developpeurs malheureusement.

Pour rappel, tout se passe bien dans l'appli Xiaomi, mais rien ne remonte dans jeedom :

[2017-12-03 18:57:20][ERROR] : Exception on socket : u'34ce0088e75c'

(en mode debug, très parlant... 34ce0088e75c etant l'id de ma gateway).

Avant de poster, j'ai tout essayé, réinstallation des dépendances (voir ci dessous), recreation des commandes de la GW, suppression de la gateway, (revenue automatiquement peu de temps après), changement du token, desactivation/reactivation du network dnas l'appli...

********************************************************
* Installation des dépendances *
********************************************************
Ign http://repo.jeedom.com ./ InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://repo.jeedom.com ./ Release.gpg
Hit http://repo.jeedom.com ./ Release
Ign http://repo.jeedom.com ./ Packages/DiffIndex
Hit http://repo.jeedom.com ./ Packages
Ign http://repo.jeedom.com ./ Translation-en
Get:2 http://security.debian.org jessie/updates/main Sources [199 kB]
Get:3 http://oph.mdrjr.net all InRelease [13.8 kB]
Ign http://ftp.debian.org jessie InRelease
Get:4 http://ftp.debian.org jessie-updates InRelease [145 kB]
Hit http://security.debian.org jessie/updates/contrib Sources
Hit http://security.debian.org jessie/updates/non-free Sources
Get:5 http://security.debian.org jessie/updates/main arm64 Packages [429 kB]
Get:6 http://oph.mdrjr.net jessie InRelease [5630 B]
Hit http://oph.mdrjr.net all/c2 arm64 Packages
Get:7 http://oph.mdrjr.net all/main arm64 Packages [7118 B]
Hit http://oph.mdrjr.net all/testing arm64 Packages
Get:8 http://ftp.debian.org jessie-backports InRelease [166 kB]
Get:9 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:10 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:11 http://oph.mdrjr.net all/testing Translation-en [326 B]
Hit http://oph.mdrjr.net jessie/backports arm64 Packages
Hit http://oph.mdrjr.net jessie/main arm64 Packages
Get:12 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:13 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:14 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:15 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:16 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:17 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:18 http://ftp.debian.org jessie-proposed-updates InRelease [132 kB]
Get:19 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Get:20 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Hit http://ftp.debian.org jessie Release.gpg
Hit http://ftp.debian.org jessie-updates/main Sources
Hit http://ftp.debian.org jessie-updates/contrib Sources
Hit http://ftp.debian.org jessie-updates/non-free Sources
Get:21 http://ftp.debian.org jessie-updates/main arm64 Packages/DiffIndex [9376 B]
Hit http://ftp.debian.org jessie-updates/contrib arm64 Packages
Hit http://security.debian.org jessie/updates/contrib arm64 Packages
Get:22 http://ftp.debian.org jessie-updates/non-free arm64 Packages/DiffIndex [736 B]
Hit http://security.debian.org jessie/updates/non-free arm64 Packages
Hit http://ftp.debian.org jessie-updates/contrib Translation-en
Hit http://security.debian.org jessie/updates/contrib Translation-en
Get:23 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [3688 B]
Get:24 http://security.debian.org jessie/updates/main Translation-en [230 kB]
Get:25 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
Get:26 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:27 http://ftp.debian.org jessie-backports/main Sources/DiffIndex [27.8 kB]
Get:28 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:29 http://ftp.debian.org jessie-backports/contrib Sources/DiffIndex [27.8 kB]
Get:30 http://ftp.debian.org jessie-backports/non-free Sources/DiffIndex [24.5 kB]
Get:31 http://ftp.debian.org jessie-backports/main arm64 Packages/DiffIndex [27.8 kB]
Get:32 http://ftp.debian.org jessie-backports/contrib arm64 Packages/DiffIndex [22.4 kB]
Get:33 http://ftp.debian.org jessie-backports/non-free arm64 Packages/DiffIndex [8530 B]
Get:34 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:35 http://ftp.debian.org jessie-backports/contrib Translation-en/DiffIndex [7468 B]
Get:36 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Hit http://security.debian.org jessie/updates/non-free Translation-en
Get:37 http://ftp.debian.org jessie-backports/main Translation-en/DiffIndex [27.8 kB]
Get:38 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Get:39 http://ftp.debian.org jessie-backports/non-free Translation-en/DiffIndex [17.2 kB]
Get:40 http://ftp.debian.org jessie-proposed-updates/contrib Sources/DiffIndex [7762 B]
Get:41 http://ftp.debian.org jessie-proposed-updates/non-free Sources/DiffIndex [15.1 kB]
Get:42 http://oph.mdrjr.net all/main Translation-en [323 B]
Get:43 http://ftp.debian.org jessie-proposed-updates/main Sources/DiffIndex [27.8 kB]
Get:44 http://ftp.debian.org jessie-proposed-updates/contrib arm64 Packages/DiffIndex [4948 B]
Get:45 http://oph.mdrjr.net all/testing Translation-en [326 B]
Get:46 http://ftp.debian.org jessie-proposed-updates/non-free arm64 Packages/DiffIndex [7270 B]
Get:47 http://ftp.debian.org jessie-proposed-updates/main arm64 Packages/DiffIndex [27.8 kB]
Get:48 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Get:49 http://ftp.debian.org jessie-proposed-updates/contrib Translation-en/DiffIndex [8392 B]
Get:50 http://ftp.debian.org jessie-proposed-updates/main Translation-en/DiffIndex [27.8 kB]
Get:51 http://ftp.debian.org jessie-proposed-updates/non-free Translation-en/DiffIndex [15.1 kB]
Get:52 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Hit http://ftp.debian.org jessie Release
Get:53 http://ftp.debian.org jessie-backports/main 2017-11-30-2029.45.pdiff [2642 B]
Get:54 http://ftp.debian.org jessie-backports/main 2017-11-30-2029.45.pdiff [2642 B]
Get:55 http://ftp.debian.org jessie-backports/main arm64 2017-11-30-2029.45.pdiff [2366 B]
Get:56 http://ftp.debian.org jessie-backports/main arm64 2017-12-01-0222.28.pdiff [1847 B]
Hit http://ftp.debian.org jessie/main Sources
Hit http://ftp.debian.org jessie/contrib Sources
Hit http://ftp.debian.org jessie/non-free Sources
Hit http://ftp.debian.org jessie/main arm64 Packages
Get:57 http://ftp.debian.org jessie-backports/main arm64 2017-12-01-0222.28.pdiff [1847 B]
Hit http://ftp.debian.org jessie/contrib arm64 Packages
Get:58 http://oph.mdrjr.net all/c2 Translation-en [321 B]
Ign http://oph.mdrjr.net all/c2 Translation-en
Get:59 http://oph.mdrjr.net all/main Translation-en [323 B]
Hit http://ftp.debian.org jessie/non-free arm64 Packages
Ign http://oph.mdrjr.net all/main Translation-en
Hit http://ftp.debian.org jessie/contrib Translation-en
Hit http://ftp.debian.org jessie/main Translation-en
Get:60 http://oph.mdrjr.net all/testing Translation-en [326 B]
Ign http://oph.mdrjr.net all/testing Translation-en
Hit http://ftp.debian.org jessie/non-free Translation-en
Get:61 http://oph.mdrjr.net jessie/backports Translation-en [331 B]
Ign http://oph.mdrjr.net jessie/backports Translation-en
Get:62 http://oph.mdrjr.net jessie/main Translation-en [326 B]
Ign http://oph.mdrjr.net jessie/main Translation-en
Fetched 1747 kB in 16s (105 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libffi-dev is already the newest version.
python-cryptography is already the newest version.
python-dev is already the newest version.
python-pip is already the newest version.
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
Downloading/unpacking construct
Running setup.py (path:/tmp/pip-build-PBm1_D/construct/setup.py) egg_info for package construct
Installing collected packages: construct
Running setup.py install for construct
Successfully installed construct
Cleaning up...
Downloading/unpacking pyudev
Running setup.py (path:/tmp/pip-build-J0LdII/pyudev/setup.py) egg_info for package pyudev
warning: no previously-included files matching '*.py' found under directory 'tests/.hypothesis'
warning: no files found matching '*.c' under directory 'reproducers'
warning: no files found matching '*.py' under directory 'reproducers'
Downloading/unpacking six (from pyudev)
Downloading six-1.11.0-py2.py3-none-any.whl
Installing collected packages: pyudev, six
Running setup.py install for pyudev
warning: no previously-included files matching '*.py' found under directory 'tests/.hypothesis'
warning: no files found matching '*.c' under directory 'reproducers'
warning: no files found matching '*.py' under directory 'reproducers'
Successfully installed pyudev six
Cleaning up...
Downloading/unpacking requests
Downloading/unpacking certifi>=2017.4.17 (from requests)
Downloading/unpacking idna>=2.5,<2.7 (from requests)
Downloading/unpacking chardet>=3.0.2,<3.1.0 (from requests)
Downloading/unpacking urllib3>=1.21.1,<1.23 (from requests)
Installing collected packages: requests, certifi, idna, chardet, urllib3
Successfully installed requests certifi idna chardet urllib3
Cleaning up...
Downloading/unpacking pyserial
Installing collected packages: pyserial
Successfully installed pyserial
Cleaning up...
Downloading/unpacking future
Running setup.py (path:/tmp/pip-build-mAlVws/future/setup.py) egg_info for package future
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
Installing collected packages: future
Running setup.py install for future
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
Installing pasteurize script to /usr/local/bin
Installing futurize script to /usr/local/bin
Successfully installed future
Cleaning up...
Downloading/unpacking pycrypto
Running setup.py (path:/tmp/pip-build-gTygiY/pycrypto/setup.py) egg_info for package pycrypto
Installing collected packages: pycrypto
Running setup.py install for pycrypto
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for __gmpz_init in -lgmp... yes
checking for __gmpz_init in -lmpir... no
checking whether mpz_powm is declared... yes
checking whether mpz_powm_sec is declared... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memmove... yes
checking for memset... yes
configure: creating ./config.status
config.status: creating src/config.h
building 'Crypto.PublicKey._fastmath' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/usr/include/python2.7 -c src/_fastmath.c -o build/temp.linux-aarch64-2.7/src/_fastmath.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/_fastmath.o -lgmp -o build/lib.linux-aarch64-2.7/Crypto/PublicKey/_fastmath.so
building 'Crypto.Hash._MD2' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-aarch64-2.7/src/MD2.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/MD2.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_MD2.so
building 'Crypto.Hash._MD4' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD4.c -o build/temp.linux-aarch64-2.7/src/MD4.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/MD4.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_MD4.so
building 'Crypto.Hash._SHA256' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA256.c -o build/temp.linux-aarch64-2.7/src/SHA256.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/SHA256.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_SHA256.so
building 'Crypto.Hash._SHA224' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA224.c -o build/temp.linux-aarch64-2.7/src/SHA224.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/SHA224.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_SHA224.so
building 'Crypto.Hash._SHA384' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA384.c -o build/temp.linux-aarch64-2.7/src/SHA384.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/SHA384.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_SHA384.so
building 'Crypto.Hash._SHA512' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/SHA512.c -o build/temp.linux-aarch64-2.7/src/SHA512.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/SHA512.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_SHA512.so
building 'Crypto.Hash._RIPEMD160' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -DPCT_LITTLE_ENDIAN=1 -Isrc/ -I/usr/include/python2.7 -c src/RIPEMD160.c -o build/temp.linux-aarch64-2.7/src/RIPEMD160.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/RIPEMD160.o -o build/lib.linux-aarch64-2.7/Crypto/Hash/_RIPEMD160.so
building 'Crypto.Cipher._AES' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/AES.c -o build/temp.linux-aarch64-2.7/src/AES.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/AES.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_AES.so
building 'Crypto.Cipher._ARC2' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC2.c -o build/temp.linux-aarch64-2.7/src/ARC2.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/ARC2.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_ARC2.so
building 'Crypto.Cipher._Blowfish' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/Blowfish.c -o build/temp.linux-aarch64-2.7/src/Blowfish.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/Blowfish.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_Blowfish.so
building 'Crypto.Cipher._CAST' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/CAST.c -o build/temp.linux-aarch64-2.7/src/CAST.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/CAST.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_CAST.so
building 'Crypto.Cipher._DES' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES.c -o build/temp.linux-aarch64-2.7/src/DES.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/DES.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_DES.so
building 'Crypto.Cipher._DES3' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -Isrc/libtom/ -I/usr/include/python2.7 -c src/DES3.c -o build/temp.linux-aarch64-2.7/src/DES3.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/DES3.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_DES3.so
building 'Crypto.Cipher._ARC4' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/ARC4.c -o build/temp.linux-aarch64-2.7/src/ARC4.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/ARC4.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_ARC4.so
building 'Crypto.Cipher._XOR' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/XOR.c -o build/temp.linux-aarch64-2.7/src/XOR.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/XOR.o -o build/lib.linux-aarch64-2.7/Crypto/Cipher/_XOR.so
building 'Crypto.Util.strxor' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/strxor.c -o build/temp.linux-aarch64-2.7/src/strxor.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/strxor.o -o build/lib.linux-aarch64-2.7/Crypto/Util/strxor.so
building 'Crypto.Util._counter' extension
aarch64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/_counter.c -o build/temp.linux-aarch64-2.7/src/_counter.o
aarch64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-aarch64-2.7/src/_counter.o -o build/lib.linux-aarch64-2.7/Crypto/Util/_counter.so
Successfully installed pycrypto
Cleaning up...
Downloading/unpacking enum34
Downloading enum34-1.1.6-py2-none-any.whl
Installing collected packages: enum34
Successfully installed enum34
Cleaning up...
Downloading/unpacking enum-compat
Downloading enum-compat-0.0.2.tar.gz
Running setup.py (path:/tmp/pip-build-fLKqKc/enum-compat/setup.py) egg_info for package enum-compat
Downloading/unpacking enum34 (from enum-compat)
Downloading enum34-1.1.6-py2-none-any.whl
Installing collected packages: enum-compat, enum34
Running setup.py install for enum-compat
Successfully installed enum-compat enum34
Cleaning up...
********************************************************
* Installation terminée *
********************************************************

Je n'ai plus d'dée, je continue à trouver pas très normal (euphémisme) qu'un plugin, payant même pas très cher, tombe en erreur sans rien faire, et qu'aucun support ne soit fourni...

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

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 05 déc. 2017, 13:02

Contenu supprimé à la demande de son auteur

beber49
Timide
Messages : 197
Inscription : 26 janv. 2017, 20:11

Re: [Plugin Tiers] Xiaomi Home

Message par beber49 » 05 déc. 2017, 14:56

Merci pour la réponse, très bien, je vais ouvrir un ticket (et dsl pour l'absence de balise code)

Attention, je ne reproche pas aux utilisateurs qui parcourent ce forum de ne pas savoir me répondre, les logs sont tellement peu explicites parfois et le sujet est tellement dense, que seul un développeur peut aider.
Mais 1 semaine sans aucune réponse des équipes Jeedom, je trouve juste que c'est un peu exagéré oui, surtout que c'est un plugin qu'on peut considérer comme essentiel pour beaucoup de jeedomiens (et facteur déclencheur du choix "Jeedom" pour pas mal d'entre nous je pense).

Ce qui me fait écrire d'ailleurs qu'il faudrait penser à une doc "Troubleshooting" pour ce plugin.
Il y a 213 pages sur ce sujet, ça devrait ouvrir à réflexion... mais ce n'est que mon point de vue.

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

Re: [Plugin Tiers] Xiaomi Home

Message par Anonyme » 05 déc. 2017, 14:59

Contenu supprimé à la demande de son auteur

beber49
Timide
Messages : 197
Inscription : 26 janv. 2017, 20:11

Re: [Plugin Tiers] Xiaomi Home

Message par beber49 » 05 déc. 2017, 15:24

Merci pour ta réponse.

Plusieurs points par rapport à ce que tu écris :
* La doc n'a pas l'exhaustivité des problèmes non corrigés que l'on rencontre avec ce plugin. En même temps, vous me direz qu'il y en a tellement de mentionné sur ce sujet du forum... Soit, mais les plus classiques devraient être plus détaillés que par une simple phrase dans la doc.
* Je ne vois rien sur mon problème d'exception, donc il y aurait un réel intérêt à modifier le plugin pour corriger ce problème.
* Je sais que les developpeurs de ce plugin sont renommés dans l'unviers Jeedom, mais il faut que l'équipe officlel de Jeedom les mette devant leur responsabilité. On en peut pas vendre 4€ un plugin (et probablement gagner ainsi des dizaines de milliers d'euros), et abandonner le déploiement du plugin après quelques mois.
J'ai lu les 213 pages (5 heures). Pour des renvois de capteur aléatoire (ouvert alors qu'ils sont fermés), problème que j'ai aussi, il n'est pas tolérable de dire "essaie de réinstaller la gateway", "essaie de reseter la gateway", ça a des incidences côté scénarios (malgré l'option "remplace l'id"), Il faut traiter le fond du problème.

Tristan35
Timide
Messages : 407
Inscription : 09 juin 2017, 21:53
Localisation : Rennes

Re: [Plugin Tiers] Xiaomi Home

Message par Tristan35 » 05 déc. 2017, 15:36

beber49 a écrit :
05 déc. 2017, 15:24
Merci pour ta réponse.

Plusieurs points par rapport à ce que tu écris :
* La doc n'a pas l'exhaustivité des problèmes non corrigés que l'on rencontre avec ce plugin. En même temps, vous me direz qu'il y en a tellement de mentionné sur ce sujet du forum... Soit, mais les plus classiques devraient être plus détaillés que par une simple phrase dans la doc.
* Je ne vois rien sur mon problème d'exception, donc il y aurait un réel intérêt à modifier le plugin pour corriger ce problème.
* Je sais que les developpeurs de ce plugin sont renommés dans l'unviers Jeedom, mais il faut que l'équipe officlel de Jeedom les mette devant leur responsabilité. On en peut pas vendre 4€ un plugin (et probablement gagner ainsi des dizaines de milliers d'euros), et abandonner le déploiement du plugin après quelques mois.
J'ai lu les 213 pages (5 heures). Pour des renvois de capteur aléatoire (ouvert alors qu'ils sont fermés), problème que j'ai aussi, il n'est pas tolérable de dire "essaie de réinstaller la gateway", "essaie de reseter la gateway", ça a des incidences côté scénarios (malgré l'option "remplace l'id"), Il faut traiter le fond du problème.
Le soucis ne vient pas du plugin mais de ton installation (cf. page 204).

Répondre

Revenir vers « [Plugin Tiers] Xiaomi Home »

Qui est en ligne ?

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