Plus possible d’appairer un capteur temp/hum Xiaomi

Ici un forum de discussion sur Zigate , sa mise en place , les plugin , l'utilisation avec Domoticz
Répondre
olorin
Messages : 7
Enregistré le : 08 nov. 2017, 16:36

Plus possible d’appairer un capteur temp/hum Xiaomi

Message par olorin » 03 oct. 2019, 14:33

Depuis la GROBE mise à jours de mon rasberrypi (avec tout ce qui suit en logiciels python, domoticz, plugin etc...) et plusieurs galères, je suis arrivé à faire fonctionner la dernière version actuelle du plugin zigate

Debian version : 9
Python : 3.5.3
Domoticz :V4.11349 (beta)
Zigate firmware : 3.1a (stable)
Plugin Zigate : 4.5 (stable)
capteurs : XIAOMI MI SMART TEMPERATURE AND HUMIDITY SENSOR (lien https://faire-ca-soi-meme.fr/hack/2017/ ... ty-sensor/)

Et quand j'appuie sur les boutons de synchro de mes capteurs.... rien n'a été ajouté dans ma list des dispositifs.

Voici les logs :

Code : Tout sélectionner

2019-10-03 14:06:49.462 Sunrise: 07:41:00 SunSet: 19:15:00
2019-10-03 14:06:49.462 Day length: 11:33:00 Sun at south: 13:28:00
2019-10-03 14:06:49.462 Civil twilight start: 07:09:00 Civil twilight end: 19:46:00
2019-10-03 14:06:49.462 Nautical twilight start: 06:32:00 Nautical twilight end: 20:23:00
2019-10-03 14:06:49.462 Astronomical twilight start: 05:55:00 Astronomical twilight end: 21:01:00
2019-10-03 14:06:49.707 Active notification Subsystems: (0/13)
2019-10-03 14:06:49.770 Starting shared server on: :::8596
2019-10-03 14:06:49.395 Status: Domoticz V4.11349 (c)2012-2019 GizMoCuz
2019-10-03 14:06:49.395 Status: Build Hash: f0063c71e, Date: 2019-10-01 07:01:26
2019-10-03 14:06:49.396 Status: Startup Path: /etc/domoticz/
2019-10-03 14:06:49.690 Status: PluginSystem: Started, Python version '3.5.3'.
2019-10-03 14:06:49.710 Status: WebServer(HTTP) started on address: :: with port 8080
2019-10-03 14:06:49.721 Status: WebServer(SSL) started on address: :: with port 444
2019-10-03 14:06:49.772 Status: RxQueue: queue worker started...
2019-10-03 14:06:49.772 Status: TCPServer: shared server started...
2019-10-03 14:06:51.772 Status: (Zigate) Started.
2019-10-03 14:06:51.773 Status: EventSystem: reset all events...
2019-10-03 14:06:51.775 Status: EventSystem: reset all device statuses...
2019-10-03 14:06:51.966 Status: PluginSystem: Entering work loop.
2019-10-03 14:06:52.683 (Zigate) Debug: 30
2019-10-03 14:06:52.781 (Zigate) setTimeServer - Setting UTC Time to : 623426812
2019-10-03 14:06:52.031 Status: Python EventSystem: Initalizing event module.
2019-10-03 14:06:52.033 Status: EventSystem: Started
2019-10-03 14:06:52.034 Status: EventSystem: Queue thread started...
2019-10-03 14:06:52.675 Status: (Zigate) Entering work loop.
2019-10-03 14:06:52.677 Status: (Zigate) Initialized version 4.5, author 'zaraki673 pipiche38'
2019-10-03 14:06:52.683 Status: (Zigate) Zigate plugin stable-4.5.4 started
2019-10-03 14:06:52.684 Status: (Zigate) Python Version - 3.5.3 (default, Sep 27 2018, 17:25:39)
2019-10-03 14:06:52.684 [GCC 6.3.0 20170516]
2019-10-03 14:06:52.684 Status: (Zigate) Switching Heartbeat to 5 s interval
2019-10-03 14:06:52.684 Status: (Zigate) DomoticzVersion: 4.11349
2019-10-03 14:06:52.684 Status: (Zigate) DomoticzHash: f0063c71e
2019-10-03 14:06:52.684 Status: (Zigate) DomoticzBuildTime: 2019-10-01 07:01:26
2019-10-03 14:06:52.684 Status: (Zigate) load PluginConf
2019-10-03 14:06:52.689 Status: (Zigate) pluginReports set to /etc/domoticz/plugins/Domoticz-Zigate/Reports/
2019-10-03 14:06:52.689 Status: (Zigate) pluginHome set to /etc/domoticz/plugins/Domoticz-Zigate/
2019-10-03 14:06:52.689 Status: (Zigate) pluginWWW set to /etc/domoticz/plugins/Domoticz-Zigate/www/
2019-10-03 14:06:52.689 Status: (Zigate) pluginConfig set to /etc/domoticz/plugins/Domoticz-Zigate/Conf/
2019-10-03 14:06:52.689 Status: (Zigate) pluginOTAFirmware set to /etc/domoticz/plugins/Domoticz-Zigate/OTAFirmware/
2019-10-03 14:06:52.690 Status: (Zigate) filename set to /etc/domoticz/plugins/Domoticz-Zigate/Conf/PluginConf-13.json
2019-10-03 14:06:52.690 Status: (Zigate) pluginData set to /etc/domoticz/plugins/Domoticz-Zigate/Data/
2019-10-03 14:06:52.690 Status: (Zigate) homedirectory set to /etc/domoticz/plugins/Domoticz-Zigate/
2019-10-03 14:06:52.691 Status: (Zigate) Opening DomoticzDB in raw
2019-10-03 14:06:52.725 Status: (Zigate) Plugin Database: DeviceList-13.txt
2019-10-03 14:06:52.761 Status: (Zigate) DeviceConf loaded
2019-10-03 14:06:52.762 Status: (Zigate) load ListOfDevice
2019-10-03 14:06:52.773 Status: (Zigate) Entries loaded from /etc/domoticz/plugins/Domoticz-Zigate/Data/DeviceList-13.txt : 0
2019-10-03 14:06:52.774 Status: (Zigate) Transport mode: USB
2019-10-03 14:06:52.774 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-10-03 14:06:52.781 Status: (Zigate) Zigate set Time Server
2019-10-03 14:06:52.782 Status: (Zigate) Configure Permit To Join
2019-10-03 14:06:52.782 Status: (Zigate) Request Accepting new Hardware for ever
2019-10-03 14:06:52.783 Status: (Zigate) Trigger a Topology Scan
2019-10-03 14:06:52.783 Status: (Zigate) Trigger a Energy Level Scan
2019-10-03 14:06:52.784 Status: (Zigate) Network Energy Level Report: 0000
2019-10-03 14:06:52.784 Status: (Zigate) -----------------------------------------------
2019-10-03 14:06:52.784 Status: (Zigate) router <- nwkid Tx Failure 11 15 19 20 25 26
2019-10-03 14:06:52.890 Status: (Zigate) Major Version Num: 0003
2019-10-03 14:06:52.890 Status: (Zigate) Installer Version Number: 031a
2019-10-03 14:06:53.197 (Zigate) Permit Join status: 01
2019-10-03 14:06:53.197 (Zigate) ---> self.permitTojoin['Starttime']: 1570104412
2019-10-03 14:06:53.197 (Zigate) ---> Current time : 1570104413
2019-10-03 14:06:53.198 (Zigate) ---> self.Ping['Permit'] (prev) : None
2019-10-03 14:06:53.198 (Zigate) ---> self.Ping['Permit'] (new ) : On
2019-10-03 14:06:53.198 Status: (Zigate) Accepting new Hardware: On
2019-10-03 14:06:53.307 Status: (Zigate) Zigate addresses ieee: 00158d0001b2a97e , short addr: 0000
2019-10-03 14:06:53.307 Status: (Zigate) Network state UP, PANID: 4eb1 extPANID: 0x0879500542394739 Channel: 11
2019-10-03 14:06:53.421 Status: (Zigate) Number of devices recently active in Zigate = 32
2019-10-03 14:06:53.422 Status: (Zigate) [00] DevID = 00 Network addr = a020 IEEE = 00158d0001c2cbcd LQI = 140 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.423 Status: (Zigate) [01] DevID = 01 Network addr = 0800 IEEE = 0000000000000000 LQI = 016 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.423 Status: (Zigate) [02] DevID = 02 Network addr = 0000 IEEE = 0000000000000000 LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.423 Status: (Zigate) [03] DevID = 03 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 004 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.424 Status: (Zigate) [04] DevID = 04 Network addr = 2f12 IEEE = 0000000000000000 LQI = 127 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.424 Status: (Zigate) [05] DevID = 05 Network addr = 0800 IEEE = 0000000000000000 LQI = 016 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.425 Status: (Zigate) [06] DevID = 06 Network addr = 0000 IEEE = 0000000000000000 LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.425 Status: (Zigate) [07] DevID = 07 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.426 Status: (Zigate) [08] DevID = 09 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.426 Status: (Zigate) [09] DevID = 0a Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.427 Status: (Zigate) [10] DevID = 0b Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.427 Status: (Zigate) [11] DevID = 0d Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.427 Status: (Zigate) [12] DevID = 0e Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.428 Status: (Zigate) [13] DevID = 0f Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.428 Status: (Zigate) [14] DevID = 11 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.429 Status: (Zigate) [15] DevID = 12 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.429 Status: (Zigate) [16] DevID = 13 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.430 Status: (Zigate) [17] DevID = 15 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.430 Status: (Zigate) [18] DevID = 16 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.431 Status: (Zigate) [19] DevID = 17 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.431 Status: (Zigate) [20] DevID = 19 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.432 Status: (Zigate) [21] DevID = 1a Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.432 Status: (Zigate) [22] DevID = 1b Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.433 Status: (Zigate) [23] DevID = 1d Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.433 Status: (Zigate) [24] DevID = 1e Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.433 Status: (Zigate) [25] DevID = 1f Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.434 Status: (Zigate) [26] DevID = 21 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.434 Status: (Zigate) [27] DevID = 22 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.435 Status: (Zigate) [28] DevID = 23 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.435 Status: (Zigate) [29] DevID = 25 Network addr = ff00 IEEE = 00158d0001c2cbcd LQI = 000 Power = 01 not found in ListOfDevices
2019-10-03 14:06:53.436 Status: (Zigate) [30] DevID = 26 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 000 Power = 00 not found in ListOfDevices
2019-10-03 14:06:53.436 Status: (Zigate) [31] DevID = 27 Network addr = 0000 IEEE = 00158d0001c2cbcd LQI = 255 Power = 00 not found in ListOfDevices
2019-10-03 14:07:02.713 Status: (Zigate) Zigate set to Certification : CE
2019-10-03 14:07:02.714 Status: (Zigate) Start Web Server connection
2019-10-03 14:07:02.777 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2019-10-03 14:07:02.778 Status: (Zigate) Plugin with Zigate firmware 031a correctly initialized
2019-10-03 14:07:03.537 (Zigate) TxPower set to: 00
2019-10-03 14:11:08.104 (Zigate) Permit Join status: 01
2019-10-03 14:11:08.105 (Zigate) ---> self.permitTojoin['Starttime']: 1570104412
2019-10-03 14:11:08.105 (Zigate) ---> Current time : 1570104668
2019-10-03 14:11:08.105 (Zigate) ---> self.Ping['Permit'] (prev) : On
2019-10-03 14:11:08.106 (Zigate) ---> self.Ping['Permit'] (new ) : On
2019-10-03 14:12:28.041 Status: (Zigate) Network Topology report
2019-10-03 14:12:28.042 Status: (Zigate) ------------------------------------------------------------------------------------------
2019-10-03 14:12:28.043 Status: (Zigate)
2019-10-03 14:12:28.043 Status: (Zigate) Node Node Relation Type Deepth LQI Rx-Idle
2019-10-03 14:12:28.043 Status: (Zigate) 0000 - - - - - - TimedOut
2019-10-03 14:12:28.044 Status: (Zigate) --
2019-10-03 14:16:18.177 (Zigate) Permit Join status: 01
2019-10-03 14:16:18.178 (Zigate) ---> self.permitTojoin['Starttime']: 1570104412
2019-10-03 14:16:18.178 (Zigate) ---> Current time : 1570104978
2019-10-03 14:16:18.178 (Zigate) ---> self.Ping['Permit'] (prev) : On
2019-10-03 14:16:18.179 (Zigate) ---> self.Ping['Permit'] (new ) : On
2019-10-03 14:20:23.240 (Zigate) Permit Join status: 01
2019-10-03 14:20:23.241 (Zigate) ---> self.permitTojoin['Starttime']: 1570104412
2019-10-03 14:20:23.241 (Zigate) ---> Current time : 1570105223
2019-10-03 14:20:23.241 (Zigate) ---> self.Ping['Permit'] (prev) : On
2019-10-03 14:20:23.241 (Zigate) ---> self.Ping['Permit'] (new ) : On
Et j'ai deux dispositifs qui se sont rajouté à l'installation du plugin (si jamais vous savez ce que c'est ...)
Capture du 2019-10-03 14-32-56.png
Capture du 2019-10-03 14-32-56.png (22.6 Kio) Vu 570 fois
Merci d'avance pour vos lumières sur ce petit problème !

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider a Donation to support the site.


pipiche
Messages : 937
Enregistré le : 04 avr. 2018, 16:16

Re: Plus possible d’appairer un capteur temp/hum Xiaomi

Message par pipiche » 03 oct. 2019, 15:14

Je vois 32 devices actif coté Zigate avec des network address etrange.
Ensuite je vois que la base du plugin ne contient pas de device.

Donc je te recommande un Erase PDM de ta Zigate afin de faire un Reset complet.

olorin
Messages : 7
Enregistré le : 08 nov. 2017, 16:36

Re: Plus possible d’appairer un capteur temp/hum Xiaomi

Message par olorin » 03 oct. 2019, 15:46

Merci pour la réponse

En effet j'avais appairé mes devices sur l'ancien firmware (qui date de 2017...) et j'ai mis à jour ma zigate en 3.1a je pensais que ça m'effacerait mes devices apparairé.

Je vais aller chercher la procédurede l'Erase PDM

pipiche
Messages : 937
Enregistré le : 04 avr. 2018, 16:16

Re: Plus possible d’appairer un capteur temp/hum Xiaomi

Message par pipiche » 03 oct. 2019, 15:48

C’est lors du lancement du plugin tu peux mettre le flag a True et lancer le plugin.
Après bien penser à mettre le flag a False


Envoyé de mon iPhone en utilisant Tapatalk
Je maintiens le plugin Zigate sur mon temps libre .
Si vous appréciez ce que je fais, vous pouvez contribuer par un don Paypal , ce qui me permettra notamment l'achat d’équipements et de les tester/valider pour le plugin.

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider a Donation to support the site.


olorin
Messages : 7
Enregistré le : 08 nov. 2017, 16:36

Re: Plus possible d’appairer un capteur temp/hum Xiaomi

Message par olorin » 03 oct. 2019, 15:58

sujet résolu donc.
Encore merci pour la réponse

une petite erreur c'est glissé au restart du plugin pour info (pas gênant cependant)

Code : Tout sélectionner

019-10-03 15:56:31.711 Status: (Zigate) Number of devices recently active in Zigate = 0
2019-10-03 15:56:31.813 Error: (Zigate) LQI:LQIresp - Status: c1 for 49c10100000000
2019-10-03 15:56:41.036 Status: (Zigate) Zigate set to Certification : CE
2019-10-03 15:56:41.036 Status: (Zigate) Start Web Server connection
2019-10-03 15:56:41.096 Status: (Zigate) Web backend for Web User Interface started on port: 9440
2019-10-03 15:56:41.097 Status: (Zigate) Plugin with Zigate firmware 031a correctly initialized
2019-10-03 15:56:42.054 (Zigate) TxPower set to: 00
2019-10-03 15:56:43.219 (Zigate) Decode8701 - Route discovery has been performed, status: 00 Nwk Status: 00
2019-10-03 15:56:43.061 Status: (Zigate) Device Annoucement ShortAddr: 964c, IEEE: 00158d00022264f7
2019-10-03 15:56:44.601 Status: (Zigate) [-] NEW OBJECT: 964c Request Simple Descriptor for Ep: 02
2019-10-03 15:56:44.602 Status: (Zigate) [-] NEW OBJECT: 964c Request Simple Descriptor for Ep: 03
2019-10-03 15:56:44.603 Status: (Zigate) [-] NEW OBJECT: 964c Request Simple Descriptor for Ep: 01
2019-10-03 15:56:46.461 (Zigate) GetType - Model lumi.sensor_ht Profile ID : {} ZDeviceID : {}
2019-10-03 15:56:46.462 (Zigate) GetType - Model lumi.sensor_ht Profile ID : {} ZDeviceID : {}
2019-10-03 15:56:46.475 (Zigate) Request a Bind for 964c/01 on Cluster 0402
2019-10-03 15:56:46.476 (Zigate) Request a Bind for 964c/01 on Cluster 0405
2019-10-03 15:56:46.477 (Zigate) Request a Bind for 964c/01 on Cluster 0000
2019-10-03 15:56:46.460 Status: (Zigate) [0] NEW OBJECT: 964c Model Name: lumi.sensor_ht
2019-10-03 15:56:47.811 (Zigate) Decode8043 - Overwrite ProfileID {} with 0104 from Ep: 02
2019-10-03 15:56:47.812 (Zigate) Decode8043 - Overwrite ZDeviceID {} with 0104 from Ep: 02

pipiche
Messages : 937
Enregistré le : 04 avr. 2018, 16:16

Re: Plus possible d’appairer un capteur temp/hum Xiaomi

Message par pipiche » 03 oct. 2019, 16:55

Oui, l'erreur n'est pas grave, certainement qu'avant le restart le plugin avait declanché une action et la réponse est arrivée après le restart.

Disable adblock

This site is supported by ads and donations.
If you see this text you are blocking our ads.
Please consider a Donation to support the site.


Répondre