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

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 28 nov. 2019, 10:57

Quant à moi j'ai toujours ce problème de rupture de communication avec la gateway, qui nécessite un redémarrage du deamon. Je suppose (sans certitude) que ça se produit quand la box perd la connexion internet. Bien embêtant pour l'hiver, où mes radiateurs sont pilotés à partir de mes sondes Xiaomi. Cette nuit par exemple, dernier signal reçu des sondes vers 2h. En effet on voit que le log (ci-dessous) change "de tête" à 02:05:05. Est-ce que ça parle à quelqu'un ?
J'ai créé un ticket récemment mais je n'ai aucune nouvelle (je ne retrouve même pas l'existence de ce ticket...).

Code : Tout sélectionner

[2019-11-28 02:04:47][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-28 02:04:47][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxx HTTP/1.1" 200 0
[2019-11-28 02:04:57][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'UduZw7wJWBedihgF', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-11-28 02:04:57][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'UduZw7wJWBedihgF', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-11-28 02:04:57][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-28 02:04:57][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxx HTTP/1.1" 200 0
[2019-11-28 02:05:05][DEBUG] : {u'model': u'weather.v1', u'cmd': u'report', u'data': u'{"humidity":"5850"}', u'short_id': 52021, u'sid': u'158d0002378118'}
[2019-11-28 02:05:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:05:05][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0002378118': {'short_id': 52021, 'cmd': u'report', 'source': '192.168.1.41', 'token': '', 'sid': u'158d0002378118', 'model': u'weather.v1', 'data': {u'humidity': u'5850'}}}}
[2019-11-28 02:05:05][DEBUG] : {u'model': u'weather.v1', u'cmd': u'report', u'data': u'{"pressure":"98970"}', u'short_id': 52021, u'sid': u'158d0002378118'}
[2019-11-28 02:05:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-28 02:05:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxx HTTP/1.1" 200 0
[2019-11-28 02:05:05][DEBUG] : Send to jeedom : {u'devices': {u'aquara_158d0002378118': {'short_id': 52021, 'cmd': u'report', 'source': '192.168.1.41', 'token': '', 'sid': u'158d0002378118', 'model': u'weather.v1', 'data': {u'pressure': u'98970'}}}}
[2019-11-28 02:05:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-11-28 02:05:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=xxx HTTP/1.1" 200 0
[2019-11-28 02:10:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:15:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:20:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:25:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:30:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:30:11][DEBUG] : execute : action aquara rgb-set
[2019-11-28 02:30:12][DEBUG] : Client connected to [127.0.0.1:56138]
[2019-11-28 02:30:12][DEBUG] : Message read from socket: {"apikey":"xxx","type":"aquara","cmd":"send","dest":"192.168.1.41","password":"xxx","model":"gateway","sidG":"34ce0091ea9b","sid":"34ce0091ea9b","short_id":"0","switch":"rgb","request":855624966,"vol":50}
[2019-11-28 02:30:12][DEBUG] : Client disconnected from [127.0.0.1:56138]
[2019-11-28 02:30:12][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-11-28 02:30:12][DEBUG] : Received command from jeedom : send
[2019-11-28 02:30:12][DEBUG] : Executing action on : gateway
[2019-11-28 02:30:12][DEBUG] : executing {u'apikey': u'xxx', u'short_id': u'0', u'dest': u'192.168.1.41', u'cmd': u'send', u'request': 855624966, u'vol': 50, u'switch': u'rgb', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'password': u'xxx', u'type': u'aquara', u'sidG': u'34ce0091ea9b'}
[2019-11-28 02:30:12][DEBUG] : {u'cmd': u'write_ack', u'data': u'{"error":"Invalid key"}', u'sid': u'34ce0091ea9b'}
[2019-11-28 02:35:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:40:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:45:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:50:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 02:55:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 03:00:04][DEBUG] : execute : action aquara rgb-set
[2019-11-28 03:00:05][DEBUG] : Client connected to [127.0.0.1:56208]
[2019-11-28 03:00:05][DEBUG] : Message read from socket: {"apikey":"xxx","type":"aquara","cmd":"send","dest":"192.168.1.41","password":"xxx","model":"gateway","sidG":"34ce0091ea9b","sid":"34ce0091ea9b","short_id":"0","switch":"rgb","request":855624966,"vol":50}
[2019-11-28 03:00:05][DEBUG] : Client disconnected from [127.0.0.1:56208]
[2019-11-28 03:00:05][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-11-28 03:00:05][DEBUG] : Received command from jeedom : send
[2019-11-28 03:00:05][DEBUG] : Executing action on : gateway
[2019-11-28 03:00:05][DEBUG] : executing {u'apikey': u'xxx', u'short_id': u'0', u'dest': u'192.168.1.41', u'cmd': u'send', u'request': 855624966, u'vol': 50, u'switch': u'rgb', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'password': u'xxx', u'type': u'aquara', u'sidG': u'34ce0091ea9b'}
[2019-11-28 03:00:05][DEBUG] : {u'cmd': u'write_ack', u'data': u'{"error":"Invalid key"}', u'sid': u'34ce0091ea9b'}
[2019-11-28 03:00:06][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 03:05:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 03:10:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-11-28 03:15:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

parrain27240
Actif
Messages : 1629
Inscription : 24 juil. 2015, 20:15

Re: [Plugin Tiers] Xiaomi Home

Message par parrain27240 » 28 nov. 2019, 11:10

cybertech a écrit :@parrain27240

Bonjour
Oui j'a ce problème de temps en temps...
Elle continue a gérer parfaitement les équipements mais elle refuse de s'allumer ou de changer de couleur ...
Rien d'autre a faire que de la débrancher pour la remettre en fonctionnement normal :?
nn nn de s'allumer électriquement carrément
je les débrancher et pas moyen de la remettre en route

Envoyé de mon MI 8 Lite en utilisant Tapatalk


temium62
Timide
Messages : 167
Inscription : 30 avr. 2019, 10:31

Re: [Plugin Tiers] Xiaomi Home

Message par temium62 » 28 nov. 2019, 11:13

parrain27240 a écrit :
cybertech a écrit :@parrain27240

Bonjour
Oui j'a ce problème de temps en temps...
Elle continue a gérer parfaitement les équipements mais elle refuse de s'allumer ou de changer de couleur ...
Rien d'autre a faire que de la débrancher pour la remettre en fonctionnement normal :?
nn nn de s'allumer électriquement carrément
je les débrancher et pas moyen de la remettre en route

Envoyé de mon MI 8 Lite en utilisant Tapatalk
J ai eu ce problème avec l adaptateur secteur. N etant pas soudé j'ai juste déclipse le boîtier, car le contact ne se faisait plus. Et ensuite plus de problème.
Intel Z8530 2Go Ram, 64 Go SSD
Controleur ZWave+ Aeon Labs Gen5 / 2 Gateway Xiaomi V2 / capteurs ouverture et sonde température Xiaomi / RfxCom + Porte motorisée RTS /5 Shutter 3 / Aspirateur Xiaomi Vacuum /Smart Display Lenovo + Google Home Mini

Desp
Timide
Messages : 7
Inscription : 16 mai 2018, 16:09

Re: [Plugin Tiers] Xiaomi Home

Message par Desp » 29 nov. 2019, 07:22

Bonjour a tous,

J'ai essayé d'installer une deuxième gateway hier soir mais jeedom ne la détecte pas.
J'en ai déjà une première qui fonctionne très bien depuis un an (merci au passage à l'auteur du plugin et la communauté).

La deuxième est un modèle DGNWG02LM, son firmware a été mis a jour en 1.4.1 170 0158. Et bien sûr, l'API est activée.

Avez-vous une idée de ce qui cloche?

Merci!

Envoyé de mon SM-A405FN en utilisant Tapatalk


parrain27240
Actif
Messages : 1629
Inscription : 24 juil. 2015, 20:15

Re: [Plugin Tiers] Xiaomi Home

Message par parrain27240 » 29 nov. 2019, 22:27

temium62 a écrit :
parrain27240 a écrit :
cybertech a écrit :@parrain27240

Bonjour
Oui j'a ce problème de temps en temps...
Elle continue a gérer parfaitement les équipements mais elle refuse de s'allumer ou de changer de couleur ...
Rien d'autre a faire que de la débrancher pour la remettre en fonctionnement normal :?
nn nn de s'allumer électriquement carrément
je les débrancher et pas moyen de la remettre en route

Envoyé de mon MI 8 Lite en utilisant Tapatalk
J ai eu ce problème avec l adaptateur secteur. N etant pas soudé j'ai juste déclipse le boîtier, car le contact ne se faisait plus. Et ensuite plus de problème.
le boitier gateway ou adaptateur ?

Envoyé de mon MI 8 Lite en utilisant Tapatalk


temium62
Timide
Messages : 167
Inscription : 30 avr. 2019, 10:31

Re: [Plugin Tiers] Xiaomi Home

Message par temium62 » 30 nov. 2019, 07:51

Ben comme je l' ai précisé, le boitier adaptateur, celui interfacé entre la prise murale et la gateway
Intel Z8530 2Go Ram, 64 Go SSD
Controleur ZWave+ Aeon Labs Gen5 / 2 Gateway Xiaomi V2 / capteurs ouverture et sonde température Xiaomi / RfxCom + Porte motorisée RTS /5 Shutter 3 / Aspirateur Xiaomi Vacuum /Smart Display Lenovo + Google Home Mini

Desp
Timide
Messages : 7
Inscription : 16 mai 2018, 16:09

Re: [Plugin Tiers] Xiaomi Home

Message par Desp » 30 nov. 2019, 08:46

Bonjour,

Personne n'a eu le même problème que moi?
Merci

Envoyé de mon SM-A405FN en utilisant Tapatalk


Desp
Timide
Messages : 7
Inscription : 16 mai 2018, 16:09

Re: [Plugin Tiers] Xiaomi Home

Message par Desp » 30 nov. 2019, 08:49

Double post



temium62
Timide
Messages : 167
Inscription : 30 avr. 2019, 10:31

Re: [Plugin Tiers] Xiaomi Home

Message par temium62 » 30 nov. 2019, 09:48

Desp a écrit :Bonjour,

Personne n'a eu le même problème que moi?
Merci

Envoyé de mon SM-A405FN en utilisant Tapatalk
Si sur ma 1ere gateway, j ai dû utiliser le fer a souder. Ras sur ma 2eme...
Intel Z8530 2Go Ram, 64 Go SSD
Controleur ZWave+ Aeon Labs Gen5 / 2 Gateway Xiaomi V2 / capteurs ouverture et sonde température Xiaomi / RfxCom + Porte motorisée RTS /5 Shutter 3 / Aspirateur Xiaomi Vacuum /Smart Display Lenovo + Google Home Mini

Desp
Timide
Messages : 7
Inscription : 16 mai 2018, 16:09

Re: [Plugin Tiers] Xiaomi Home

Message par Desp » 30 nov. 2019, 10:32

Le fer a souder ?!

Tu peux m'en dire plus?

Merci !

Envoyé de mon SM-A405FN en utilisant Tapatalk


Thibaw
Timide
Messages : 19
Inscription : 01 déc. 2018, 02:48
Localisation : Nord

Re: [Plugin Tiers] Xiaomi Home

Message par Thibaw » 30 nov. 2019, 11:16

Bonjour @lunarok

Je me permets de faire remonter mon message du 15/11 au sujet de la demande d'intégration d'un nouvel equipement Aqara qui offre beaucoup de combinaison d'actions.

Ce produit serait top pour gérer un ou plusieurs Shelly dimmer et Shelly 2.5 en mode volet roulant :)

Thibaw a écrit :
15 nov. 2019, 16:57
Hello

Je viens de découvrir le produit " Aqara Opple".

Il s'agit d'un interrupteur de 2, 4 ou 6 boutons poussoirs lesquels supportent le clic, double clic et clic long soit potentiellement 18 commandes dans un objet !

Est-il prévu d'être compatible avec le plugin ?

Image

Kyoshi
Timide
Messages : 444
Inscription : 04 mai 2018, 14:05

Re: [Plugin Tiers] Xiaomi Home

Message par Kyoshi » 02 déc. 2019, 13:38

lunarok a écrit :
21 oct. 2019, 10:18
Des personnes qui tentent de l'intégrer ??? :) lol, y a juste des "hey svp ajoutez le nouvel aspi" suivi de +1 en mode facebook ...
La seule intervention dev sur les issues a été pour cloture un doublon (merci les issues autorisées aux users) et une dernière remarque qui laisse penser que ca va vous piquer les fesses :

https://github.com/home-assistant/home- ... -541082554

Il dit en gros qu'il y a un risque que cet aspi soit passer sur un mode full cloud. Il ne parle pas l'API locale (le fameux miio)
Et que tant qu'il est en mode factory, oui il répond. Une fois connecté, il n'obéit plus qu'au cloud.
Sauf qu'en mode factory, il est pas sur le wifi, il a le sien en mode AP.
Ca pue pour cette version d'aspirateur en l'état.
Hello @lunarok,

Il me semble que pour le STYJ02YM, il y a de l'évolution : https://github.com/rytilahti/python-miio/issues/550
Je n'ai pas encore le miens donc je ne peux pas tester.

A voir si cela t'est utile pour une potentielle évolution dans ton plugin.

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 05 déc. 2019, 10:33

Bonjour,
J'up à nouveau mon problème de perte de connexion de la gateway, pour la 3e fois ici et après un ticket, sans aucune réponse, alors que je ne suis visiblement pas le seul à avoir ce problème. UPDATE : j'avais fait un ticket de rapport de bug, je réessaie en assistance technique
Comme on peut le voir, mes sondes de températures n'ont plus donné de signe de vie à partir d'environ 2h du matin.
chauffage jeedom.png
chauffage jeedom.png (74.06 Kio) Consulté 3610 fois
Et c'est valable pour tous mes périphériques Xiaomi. Le log change effectivement de tête à cette heure-là. Qu'est-ce que ça veut dire, et comment résoudre le problème ?

Code : Tout sélectionner

[2019-12-05 01:55:21][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'zr8K8e6AnE6nz8Dv', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 01:55:21][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'zr8K8e6AnE6nz8Dv', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 01:55:21][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 01:55:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 01:55:31][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'qrSWQAjAlS8QIJ3w', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 01:55:31][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'qrSWQAjAlS8QIJ3w', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 01:55:31][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 01:55:31][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 02:00:05][DEBUG] : execute : action aquara rgb-set
[2019-12-05 02:00:05][DEBUG] : Client connected to [127.0.0.1:49550]
[2019-12-05 02:00:05][DEBUG] : Message read from socket: {"apikey":"XXX","type":"aquara","cmd":"send","dest":"192.168.1.41","password":"XXX","model":"gateway","sidG":"34ce0091ea9b","sid":"34ce0091ea9b","short_id":"0","switch":"rgb","request":855624966,"vol":50}
[2019-12-05 02:00:05][DEBUG] : Client disconnected from [127.0.0.1:49550]
[2019-12-05 02:00:05][DEBUG] : Message received in socket JEEDOM_SOCKET_MESSAGE
[2019-12-05 02:00:05][DEBUG] : Received command from jeedom : send
[2019-12-05 02:00:05][DEBUG] : Executing action on : gateway
[2019-12-05 02:00:05][DEBUG] : executing {u'apikey': u'XXX', u'short_id': u'0', u'dest': u'192.168.1.41', u'cmd': u'send', u'request': 855624966, u'vol': 50, u'switch': u'rgb', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'password': u'XXX', u'type': u'aquara', u'sidG': u'34ce0091ea9b'}
[2019-12-05 02:00:05][DEBUG] : {u'cmd': u'write_ack', u'data': u'{"error":"Invalid key"}', u'sid': u'34ce0091ea9b'}
[2019-12-05 02:00:06][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:05:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:10:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:15:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:20:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:25:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:30:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:35:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:40:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:45:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:50:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 02:55:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 03:00:04][DEBUG] : execute : action aquara rgb-set
[2019-12-05 03:00:04][DEBUG] : Client connected to [127.0.0.1:49742]
[2019-12-05 03:00:04][DEBUG] : Message read from socket: {"apikey":"XXX","type":"aquara","cmd":"send","dest":"192.168.1.41","password":"XXX","model":"gateway","sidG":"34ce0091ea9b","sid":"34ce0091ea9b","short_id":"0","switch":"rgb","request":855624966,"vol":50}
[2019-12-05 03:00:04][DEBUG] : Client disconnected from [127.0.0.1:49742]
Dernière édition par AlexM le 05 déc. 2019, 22:19, édité 1 fois.
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

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 » 05 déc. 2019, 10:57

Ca veut dire qu'à 2h du matin tu as un évènement qui se produit sur ton réseau.
A toi de savoir quoi car c'est chez toi.
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

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 05 déc. 2019, 13:56

Oui, c'est possible qu'il y ait une coupure de réseau (c'est sûrement lié à l'antenne 4g Free), encore que c'est peut-être simplement une coïncidence que les deux dernières fois aient été vers 2h du mat. Mais ça n'est pas vraiment le problème : le réseau revient, il n'y a que la gateway xiaomi qui ne réussit pas à se reconnecter.
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 05 déc. 2019, 14:16

Je viens de refaire le test suivant :
14h04 réseau fonctionnel
14h05m38s extinction de la box
14h06 rallumage de la box
14h07m30s à nouveau accès à Jeedom et tous les périphériques (sauf Xiaomi)
A partir de là, la gateway est déconnectée de façon permanente, je peux revenir demain ce sera toujours dans le même état. Seul un redémarrage du daemon la reconnecte.

Etat du log à 14h14 (alors que tout sauf Xiaomi est revenu depuis au moins 5 minutes) :

Code : Tout sélectionner

[2019-12-05 14:04:39][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'QSNJ0rn4XTHeqyaB', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:39][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'QSNJ0rn4XTHeqyaB', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:39][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:39][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:04:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'wxiaH1OAajmw9JZ5', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:49][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'wxiaH1OAajmw9JZ5', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:49][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:04:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'u4s3SRZtCVQTmeoJ', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:59][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'u4s3SRZtCVQTmeoJ', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:59][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 14:05:09][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'JHLyZkAeGGDZHcyQ', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:09][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'JHLyZkAeGGDZHcyQ', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:19][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Q5QdyHznM1KDbwmf', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:19][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'Q5QdyHznM1KDbwmf', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:19][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:19][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:29][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'KYBgh8nMMinLinpj', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:29][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'KYBgh8nMMinLinpj', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:29][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:29][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:10:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 14:15:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 05 déc. 2019, 22:11

22:03, toujours pas de reconnexion de la gateway suite à mon test (malgré un réseau parfaitement fonctionnel). Toujours personne pour m'apporter un élément de réponse ou au moins une piste de réflexion ?...
Y a quand même une ligne, qui revient toute les heures, qui mentionne une erreur :

Code : Tout sélectionner

{u'cmd': u'write_ack', u'data': u'{"error":"Invalid key"}', u'sid': u'34ce0091ea9b'}
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

AlexM
Timide
Messages : 164
Inscription : 26 mai 2018, 21:06

Re: [Plugin Tiers] Xiaomi Home

Message par AlexM » 06 déc. 2019, 22:44

Y a quelqu'un ?...
Raspberry Pi 3b+
Jeedom 3.2
Gateway Xiaomi + 8 modules
RFXCom + 8 volets Somfy RTS + 2 modules Chacon
ESPeasy (7 modules Sonoff basic et Electrodragon)
Shelly 1 (4 modules)

temium62
Timide
Messages : 167
Inscription : 30 avr. 2019, 10:31

Re: [Plugin Tiers] Xiaomi Home

Message par temium62 » 06 déc. 2019, 22:48

A tout hasard as ru essayé de la supprimer puis de la re détecter dans Jeedom ?
Intel Z8530 2Go Ram, 64 Go SSD
Controleur ZWave+ Aeon Labs Gen5 / 2 Gateway Xiaomi V2 / capteurs ouverture et sonde température Xiaomi / RfxCom + Porte motorisée RTS /5 Shutter 3 / Aspirateur Xiaomi Vacuum /Smart Display Lenovo + Google Home Mini

ownleex
Timide
Messages : 414
Inscription : 22 avr. 2016, 13:51
Localisation : Alpes-Maritimes

Re: [Plugin Tiers] Xiaomi Home

Message par ownleex » 07 déc. 2019, 22:45

À en attendant à ta place je ferai un Ping toutes les X minutes sur Google pour vérifier l’état de mon réseau, en cas de non réponse ça veut dire qu’il est tombé, quand tu arrives de nouveau à pinger Google tu fais une relance du démon...
AlexM a écrit :
05 déc. 2019, 14:16
Je viens de refaire le test suivant :
14h04 réseau fonctionnel
14h05m38s extinction de la box
14h06 rallumage de la box
14h07m30s à nouveau accès à Jeedom et tous les périphériques (sauf Xiaomi)
A partir de là, la gateway est déconnectée de façon permanente, je peux revenir demain ce sera toujours dans le même état. Seul un redémarrage du daemon la reconnecte.

Etat du log à 14h14 (alors que tout sauf Xiaomi est revenu depuis au moins 5 minutes) :

Code : Tout sélectionner

[2019-12-05 14:04:39][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'QSNJ0rn4XTHeqyaB', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:39][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'QSNJ0rn4XTHeqyaB', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:39][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:39][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:04:49][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'wxiaH1OAajmw9JZ5', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:49][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'wxiaH1OAajmw9JZ5', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:49][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:04:59][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'u4s3SRZtCVQTmeoJ', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:04:59][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'u4s3SRZtCVQTmeoJ', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:04:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:04:59][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 14:05:09][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'JHLyZkAeGGDZHcyQ', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:09][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'JHLyZkAeGGDZHcyQ', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:19][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'Q5QdyHznM1KDbwmf', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:19][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'Q5QdyHznM1KDbwmf', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:19][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:19][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:05:29][DEBUG] : {u'short_id': u'0', u'cmd': u'heartbeat', u'token': u'KYBgh8nMMinLinpj', u'sid': u'34ce0091ea9b', u'model': u'gateway', u'data': u'{"ip":"192.168.1.41"}'}
[2019-12-05 14:05:29][DEBUG] : Send to jeedom : {u'devices': {u'aquara_34ce0091ea9b': {'short_id': u'0', 'cmd': u'heartbeat', 'source': '192.168.1.41', 'token': u'KYBgh8nMMinLinpj', 'sid': u'34ce0091ea9b', 'model': u'gateway', 'data': {u'ip': u'192.168.1.41'}}}}
[2019-12-05 14:05:29][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2019-12-05 14:05:29][DEBUG] : http://127.0.0.1:80 "POST /plugins/xiaomihome/core/php/jeeXiaomiHome.php?apikey=XXX HTTP/1.1" 200 0
[2019-12-05 14:10:04][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
[2019-12-05 14:15:05][DEBUG] : Rafraîchissement de Aqara : Xiaomi Gateway
Rpi3 sur SSD, Rfxcom, stick Zwave+, clé Bluetooth, plugin Hue et netatmo

Répondre

Revenir vers « [Plugin Tiers] Xiaomi Home »

Qui est en ligne ?

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