Zigate : pertes de device Xiaomi

Forum dédié au plugin ZigBeeForDomoticZ : installation, paramétrage, utilisation, interfaces ...
pouic
Messages : 31
Inscription : 09 janv. 2019, 14:01
Localisation : centre
Contact :

Re: Zigate : pertes de device Xiaomi

Message par pouic »

Je soupçonne de ne pas être en phase entre Domitcz / ZigatePlugin / zigate firmware mais je ne sais pas ce qu'il faut avoir...?
pouic
Messages : 31
Inscription : 09 janv. 2019, 14:01
Localisation : centre
Contact :

Re: Zigate : pertes de device Xiaomi

Message par pouic »

J'ai une autre info au démarrage:

Code : Tout sélectionner


2019-01-29 22:54:18.568 Error: (zigate) LoadDeviceList - entry 42dd not loaded - not Version 3 - {'Ep': {'01': {'0000': {}, '0006': {}}}, 'Status': 'inDB', 'Heartbeat': '129846', 'RIA': '10', 'RSSI': 183, 'Battery': {}, 'Model': 'lumi.sensor_magnet.aq2', 'MacCapa': '80', 'IEEE': '00158d0002c34d95', 'Type': 'Door', 'ProfileID': {}, 'ZDeviceID': {}}
2019-01-29 22:54:18.568 Error: (zigate) 'onStart' failed 'KeyError'.
2019-01-29 22:54:18.568 Error: (zigate) ----> Line 266 in '/config/plugin
Wolfen38
Messages : 1983
Inscription : 19 oct. 2017, 14:49

Re: Zigate : pertes de device Xiaomi

Message par Wolfen38 »

Perso plugin 4.04 en version stable car j'arrive pas a mettre a jour ni a passer en beta et firmware 30f car c'est celui qui m'a permis de ne plus perdre mes device Xiaomi.

Envoyé de mon Mi A1 en utilisant Tapatalk

pouic
Messages : 31
Inscription : 09 janv. 2019, 14:01
Localisation : centre
Contact :

Re: Zigate : pertes de device Xiaomi

Message par pouic »

Hum, en restartant le plugin zigate ds domoticz je retourve des capteurs...

Tjs qq erreur

Code : Tout sélectionner

 2019-01-29 23:04:11.820 Error: (zigate) 'onMessage' failed 'KeyError'.
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 282 in '/config/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 214 in '/config/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 220 in '/config/plugins/Domoticz-Zigate/z_Transport.py', function onMessage
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 345 in '/config/plugins/Domoticz-Zigate/z_Transport.py', function processFrame
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 217 in '/config/plugins/Domoticz-Zigate/plugin.py', function processFrame
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 280 in '/config/plugins/Domoticz-Zigate/z_input.py', function ZigateRead
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 1327 in '/config/plugins/Domoticz-Zigate/z_input.py', function Decode8102
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 200 in '/config/plugins/Domoticz-Zigate/z_readClusters.py', function ReadCluster
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 462 in '/config/plugins/Domoticz-Zigate/z_readClusters.py', function Cluster0406
2019-01-29 23:04:11.820 Error: (zigate) ----> Line 470 in '/config/plugins/Domoticz-Zigate/z_domoticz.py', function MajDomoDevice 
Mais comment valide t'on la version du firmware de la zigate ?
Wolfen38
Messages : 1983
Inscription : 19 oct. 2017, 14:49

Re: Zigate : pertes de device Xiaomi

Message par Wolfen38 »

Au démmarage de domoticz, t'as la version du plugin et du firmware.

2019-01-30 04:12:11.637 Status: (Zigate) Entering work loop.
2019-01-30 04:12:11.637 Status: (Zigate) Initialized version 4.0.4, author 'zaraki673 pipiche38'
2019-01-30 04:12:11.649 Status: (Zigate) onStart called - Zigate plugin V 4.0.4
2019-01-30 04:12:11.649 Status: (Zigate) load PluginConf
2019-01-30 04:12:11.650 Status: (Zigate) ZigateMode: ZigBee sendDelay: 0 reTransmit: 1 zTimeOut: 2
2019-01-30 04:12:11.650 Status: (Zigate) logFORMAT: 0 logLQI: 0 allowRemoveZigateDevice: 0
2019-01-30 04:12:11.650 Status: (Zigate) allowStoreDiscoveryFrames: 0 forceCreationDevice: 0 networkScan: 0 channel: ['0']
2019-01-30 04:12:11.659 Status: (Zigate) load ListOfDevice
2019-01-30 04:12:11.725 Status: (Zigate) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/DeviceList-11.txt : 24
2019-01-30 04:12:11.731 Status: (Zigate) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB0
2019-01-30 04:12:11.734 Status: (Zigate) onConnect called
2019-01-30 04:12:11.734 Status: (Zigate) ZigateConf - Setting UTC Time to : 1548817931
2019-01-30 04:12:11.734 Status: (Zigate) Start network
2019-01-30 04:12:11.734 Status: (Zigate) Zigate enter in discover mode for ever
2019-01-30 04:12:11.836 Status: (Zigate) Major Version Num: 0002
2019-01-30 04:12:11.836 Status: (Zigate) Installer Version Number: 030f
pouic
Messages : 31
Inscription : 09 janv. 2019, 14:01
Localisation : centre
Contact :

Re: Zigate : pertes de device Xiaomi

Message par pouic »

Super ! Merci

Donc je suis en 30d ...
Il faut que j'update ça rapidement

En tout cas la récupération de sensor (au lieu d'avoir un nouveau device à chaque fois) fonctionne bien !
Wolfen38
Messages : 1983
Inscription : 19 oct. 2017, 14:49

Re: Zigate : pertes de device Xiaomi

Message par Wolfen38 »

Oui ça vaut le coup et de mémoire j'ai même pas galéré (pour une fois )

Envoyé de mon Mi A1 en utilisant Tapatalk

calouis
Messages : 109
Inscription : 08 nov. 2015, 10:34
Localisation : 62

Re: Zigate : pertes de device Xiaomi

Message par calouis »

Bonjour
Connectés à ma zigate usb, j'ai
  • 2 contacteurs de portes aqara
    1 PIR Aqara
    1 smart plug
    1 détecteur inondation
Voici les logs au boot :

Code : Tout sélectionner

TOUT
STATUT
Filtre: 
zg
 X
2019-01-30 15:16:55.766 Status: (ZG) Started.
2019-01-30 15:17:03.353 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0002568a63 for NetworkID = 5ffb
2019-01-30 15:17:03.356 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0001e44234 for NetworkID = bb82
2019-01-30 15:17:03.358 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0001a66264 for NetworkID = ab0f
2019-01-30 15:17:03.365 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0001b86aa6 for NetworkID = 17f4
2019-01-30 15:17:03.367 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0001e46dec for NetworkID = 6576
2019-01-30 15:17:03.372 (ZG) CheckDeviceList - DeviceID (IEEE) = 00158d0001dae417 for NetworkID = 33e2
2019-01-30 15:17:03.372 (ZG) ListOfDevices :
2019-01-30 15:17:03.372 (ZG) ('5ffb', {'Model': 'lumi.sensor_wleak.aq1', 'RIA': '0', 'Type': 'Water', 'LogicalType': 'End Device', 'Battery': 90, 'SQN': '0f', 'ZDeviceID': '0402', 'Ep': {'01': {'0003': {}, 'ClusterType': {'442': 'Water'}, '0001': {}, '0019': {}, '0000': {}, '0006': '00'}}, 'RSSI': 81, 'Manufacturer': '1037', 'App Version': '4', 'DeviceType': 'RFD', 'ReceiveOnIdle': 'Off', 'Status': 'inDB', 'ReadAttributes': {'Ep': {'01': {'0001': {'0001': '86', '0021': '00', '0003': '86', '0004': '86', '0020': '00', '0007': '86', '0002': '86', '0005': '86', '0000': '86', '0006': '86'}}}}, 'PowerSource': 'Battery', 'NbEp': '1', 'MacCapa': '80', 'ProfileID': '0104', 'IEEE': '00158d0002568a63', 'Stamp': {'Time': '2019-01-30 15:09:24', 'MsgType': '8401'}, 'Heartbeat': '36621', 'Version': '3'})
2019-01-30 15:17:03.372 (ZG) ('ab0f', {'Model': 'lumi.sensor_motion.aq2', 'RIA': '0', 'Type': 'Motion/Lux', 'LogicalType': 'End Device', 'Battery': 90, 'SQN': 'a8', 'ZDeviceID': {}, 'Ep': {'01': {'0400': 4310, '0406': '01', '0000': {}, '0006': '00', 'ClusterType': {'382': 'Motion', '383': 'Lux'}}}, 'RSSI': 93, 'Manufacturer': '1037', 'App Version': '3', 'DeviceType': 'RFD', 'ReceiveOnIdle': 'Off', 'Status': 'inDB', 'PowerSource': 'Battery', 'NbEp': '1', 'MacCapa': '80', 'ProfileID': {}, 'IEEE': '00158d0001a66264', 'Stamp': {'Time': '2019-01-30 15:07:26', 'MsgType': '8102'}, 'Heartbeat': '338963', 'Version': '3'})
2019-01-30 15:17:03.372 (ZG) ('bb82', {'Model': 'lumi.sensor_magnet.aq2', 'RIA': '0', 'Type': '', 'LogicalType': 'End Device', 'Battery': 90, 'SQN': '50', 'ZDeviceID': '5f01', 'Ep': {'01': {'0003': {}, '0004': {}, 'ClusterType': {'381': 'Door'}, '0001': {}, 'ffff': {}, '0000': {}, '0006': '01', 'Type': 'Door'}}, 'RSSI': 60, 'Manufacturer': '1037', 'App Version': '3', 'DeviceType': 'RFD', 'ReceiveOnIdle': 'Off', 'Status': 'inDB', 'ReadAttributes': {'Ep': {'01': {'0001': {'0001': '86', '0021': '86', '0003': '86', '0004': '86', '0020': '00', '0007': '86', '0002': '86', '0005': '86', '0000': '86', '0006': '86'}}}}, 'PowerSource': 'Battery', 'NbEp': '1', 'MacCapa': '80', 'ProfileID': '0104', 'IEEE': '00158d0001e44234', 'Stamp': {'Time': '2019-01-30 14:40:44', 'MsgType': '8102'}, 'Heartbeat': '338998', 'Version': '3'})
2019-01-30 15:17:03.373 (ZG) ('17f4', {'Model': 'lumi.sensor_switch.aq2', 'RIA': '0', 'Type': 'SwitchAQ2', 'LogicalType': 'End Device', 'Battery': 93, 'SQN': '31', 'ZDeviceID': '5f01', 'Ep': {'01': {'ffff': {}, 'ClusterType': {'384': 'SwitchAQ2'}, '0001': {}, '0000': {}, '0006': '02', '0004': {}}}, 'RSSI': 146, 'Manufacturer': '1037', 'App Version': '3', 'DeviceType': 'RFD', 'ReceiveOnIdle': 'Off', 'Status': 'inDB', 'ReadAttributes': {'Ep': {'01': {'0001': {'0001': '86', '0021': '86', '0003': '86', '0004': '86', '0020': '00', '0007': '86', '0002': '86', '0005': '86', '0000': '86', '0006': '86'}}}}, 'PowerSource': 'Battery', 'NbEp': '1', 'MacCapa': '80', 'ProfileID': '0104', 'IEEE': '00158d0001b86aa6', 'Stamp': {'Time': '2019-01-30 14:53:42', 'MsgType': '8102'}, 'Heartbeat': '2015', 'Version': '3'})
2019-01-30 15:17:03.373 (ZG) ('6576', {'Model': 'lumi.sensor_magnet.aq2', 'RIA': '0', 'Type': '', 'LogicalType': 'End Device', 'Battery': 90, 'SQN': 'e2', 'ZDeviceID': '5f01', 'Ep': {'01': {'0003': {}, '0004': {}, 'ClusterType': {'380': 'Door'}, '0001': {}, 'ffff': {}, '0000': {}, '0006': '00', 'Type': 'Door'}}, 'RSSI': 91, 'Manufacturer': '1037', 'App Version': '3', 'DeviceType': 'RFD', 'ReceiveOnIdle': 'Off', 'Status': 'inDB', 'ReadAttributes': {'Ep': {'01': {'0001': {'0001': '86', '0021': '86', '0003': '86', '0004': '86', '0020': '00', '0007': '86', '0002': '86', '0005': '86', '0000': '86', '0006': '86'}}}}, 'PowerSource': 'Battery', 'NbEp': '1', 'MacCapa': '80', 'ProfileID': '0104', 'IEEE': '00158d0001e46dec', 'Stamp': {'Time': '2019-01-30 14:30:20', 'MsgType': '8102'}, 'Heartbeat': '339046', 'Version': '3'})
2019-01-30 15:17:03.373 (ZG) ('33e2', {'Model': 'lumi.plug', 'RIA': '0', 'Type': 'XCube', 'LogicalType': 'Router', 'Battery': {}, 'SQN': {}, 'ZDeviceID': '0009', 'Ep': {'03': {'000c': {}, 'ClusterType': {'385': 'XCube'}}, '64': {'0004': {}, '000f': {}, 'ClusterType': {}}, '02': {'0004': {}, 'Type': 'Power/Meter', 'ClusterType': {'387': 'Power', '388': 'Meter'}, '000c': '3.46'}, '01': {'0002': {}, '0003': {}, 'Type': 'Plug', '0010': {}, '0019': {}, '000a': {}, '0004': {}, 'ClusterType': {'386': 'Plug'}, '0001': '238.0', '0005': {}, '000c': {}, '0000': {}, '0006': '01'}}, 'RSSI': 69, 'Manufacturer': '115f', 'App Version': '1', 'ConfigureReporting': {'Ep': {'03': {'000c': ''}, '64': {'000f': {}, '0004': {}}, '02': {'0004': {}, '000c': {}}, '01': {'0002': {}, '0019': {}, '0004': {}, '0003': {}, '0010': {}, '0001': '8c', '0005': {}, '000c': {}, '0000': {}, '0006': '00', '000a': {}}}}, 'DeviceType': 'FFD', 'ReceiveOnIdle': 'On', 'Status': 'inDB', 'ReadAttributes': {'Ep': {'01': {'0001': {'0001': '86', '0021': '86', '0003': '86', '0004': '86', '0020': '86', '0007': '86', '0002': '86', '0005': '86', '0000': '00', '0006': '86'}}}}, 'PowerSource': 'Main', 'NbEp': '4', 'MacCapa': '8e', 'ProfileID': '0104', 'IEEE': '00158d0001dae417', 'Stamp': {'Time': '2019-01-30 15:14:10', 'MsgType': '8102'}, 'Heartbeat': '22704', 'Version': '3'})
2019-01-30 15:17:03.374 (ZG) Establish Zigate connection
2019-01-30 15:17:03.381 (ZG) Connected successfully
2019-01-30 15:17:03.888 (ZG) Decode8024 - uncomplete frame, MsgData: 04, Len: 2 out of 24
2019-01-30 15:17:03.335 Status: (ZG) onStart called - Zigate plugin V 4.0.7
2019-01-30 15:17:03.336 Status: (ZG) load PluginConf
2019-01-30 15:17:03.337 Status: (ZG) ZigateMode: ZigBee sendDelay: 0 reTransmit: 1 zTimeOut: 2
2019-01-30 15:17:03.337 Status: (ZG) logFORMAT: 0 logLQI: 0 allowRemoveZigateDevice: 0
2019-01-30 15:17:03.337 Status: (ZG) allowStoreDiscoveryFrames: 0 forceCreationDevice: 0 networkScan: 0 channel: ['0']
2019-01-30 15:17:03.346 Status: (ZG) load ListOfDevice
2019-01-30 15:17:03.372 Status: (ZG) Entries loaded from /home/pi/domoticz/plugins/Domoticz-Zigate/DeviceList-14.txt : 6
2019-01-30 15:17:03.374 Status: (ZG) Connection Name: Zigate, Transport: Serial, Address: /dev/ttyUSB-Zigate
2019-01-30 15:17:03.381 Status: (ZG) onConnect called
2019-01-30 15:17:03.381 Status: (ZG) ZigateConf - Setting UTC Time to : 1548857823
2019-01-30 15:17:03.381 Status: (ZG) Start network
2019-01-30 15:17:03.381 Status: (ZG) Zigate enter in discover mode for 254 Secs
2019-01-30 15:17:03.483 Status: (ZG) Major Version Num: 0002
2019-01-30 15:17:03.483 Status: (ZG) Installer Version Number: 030e
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : Number of devices recently active in Zigate = 6
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [00] DevID = 00 Network addr = 6576 IEEE = 00158d0001e46dec RSSI = 091 Power = 00 HB = 339046 found in ListOfDevices
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [01] DevID = 01 Network addr = bb82 IEEE = 00158d0001e44234 RSSI = 060 Power = 00 HB = 338998 found in ListOfDevices
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [02] DevID = 02 Network addr = 17f4 IEEE = 00158d0001b86aa6 RSSI = 146 Power = 00 HB = 2015 found in ListOfDevices
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [03] DevID = 03 Network addr = ab0f IEEE = 00158d0001a66264 RSSI = 086 Power = 00 HB = 338963 found in ListOfDevices
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [04] DevID = 04 Network addr = 5ffb IEEE = 00158d0002568a63 RSSI = 195 Power = 00 HB = 36621 found in ListOfDevices
2019-01-30 15:17:03.585 Status: (ZG) Decode8015 : [05] DevID = 32 Network addr = 33e2 IEEE = 00158d0001dae417 RSSI = 066 Power = 01 HB = 22704 found in ListOfDevices
2019-01-30 15:17:03.788 Status: (ZG) Decode8009 : Zigate addresses ieee: 00158d0001b22e1f , short addr: 0000
2019-01-30 15:17:03.788 Status: (ZG) Decode8009 - Network state UP, PANID: f7d2 extPANID: 0x2275cbcb5f7772c7 Channel: 11
2019-01-30 15:17:04.090 Status: (ZG) Permit Join is On
Ma question est la suivante : comment être certain que le détecteur d'inondation est toujours opérationnel ? car contrairement à l'appli miHome, celle-ci affiche si un détecteur est hors-ligne...

Avant qu'il ne rejoigne la zigate, j'ai testé ce détecteur d'inondation avec mihome et j'avais régulièrement des hors-ligne. Je dois dire qu'il est placé dans un regard en béton des eaux usées. C'est important pour moi, car j'ai de temps en temps ce regard qui se bouche, ayant peu de pente...

pour info, voici les logs d'un test d'inondation :

Code : Tout sélectionner

2019-01-30 15:09:04.882 (ZG) Update v2 Values 1:'On:' (ZG - Water-WC)
2019-01-30 15:09:04.827 Status: (ZG) [0] NEW OBJECT: 5ffb Device Annouce
2019-01-30 15:09:04.829 Status: (ZG) [0] NEW OBJECT: 5ffb Device Annouce
2019-01-30 15:09:04.885 Status: Notification: ZG - Water-WC >> ON
2019-01-30 15:09:09.925 (ZG) Update v2 Values 0:'Off:' (ZG - Water-WC)
si ça peut aider.
Merci
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
calouis
Messages : 109
Inscription : 08 nov. 2015, 10:34
Localisation : 62

Re: Zigate : pertes de device Xiaomi

Message par calouis »

J'ai oublié de mentionner dans ma liste reliée à zigate le bouton carré aqara...
_ Raspberry Pi3 Stretch + Domoticz V4.11214
_ dzVents Version: 2.4.28
_ Python 3.5.3
_ usbZwave
_ RFX433XL USB Version: Pro XL1/1035
_ GW Xiaomi
_ station meteo Oregon & Netatmo
_ LMS
_ Yeelight
_ Tradfri
_ Zigate plugin 4.11.012 + Version : 031d
pipiche
Messages : 4677
Inscription : 04 avr. 2018, 16:16
Contact :

Re: Zigate : pertes de device Xiaomi

Message par pipiche »

calouis a écrit : 30 janv. 2019, 15:36 J'ai oublié de mentionner dans ma liste reliée à zigate le bouton carré aqara...
Bonjour Calouis,

C'est une excellente remarque. Aujourd'hui rien n'est en place pour te donner cette information, Sauf eventuellement la date de dernière mise-à-jour disponible dans Domoticz. (Dernier Contact dans la liste des equipements)
Screenshot 2019-01-30 at 19.18.23.png
Screenshot 2019-01-30 at 19.18.23.png (169.46 Kio) Consulté 4812 fois
Je pense que cette information est accessible via un script LUA ...
Répondre