[Résolu] Erreur "Error: ZiGate: processNotinDBDevices" avec périphérique LIDL (motion sensor)
Publié : 16 janv. 2024, 00:45
Bonjour,
J'ai voulu appairer un détecteur de mouvement LIDL Smart Home TY0202 (ref HG07310 / IAN 400869_2107 - SMSZ 1 B2) avec Domoticz.
La première fois cela a fonctionné et j'ai eu 2 nouveaux périphériques dans Domoticz. Un "motion" et un "tamper"
Cependant je n'avais aucune remontée en cas de mouvement (malgré l'attente du délai de repos).
J'ai donc supprimé le périphérique dans Domoticz et tenté de re-enregistrer le périphérique depuis le menu web Zigate.
Pas mieux.
J'ai tenté de ré-appairer le périphérique mais quelque chose se passe mal
Lorsque je cherche "8cf681fffe23aa47" dans l'interface Zigate Gestion > Gestion des objets le détecteur apparait avec une croix jaune et les paramètres suivants :
J'ai essayé de tout supprimé dans Domoticz puis de cliquer sur l'icone corbeille dans Zigate, mais cela ne change rien. On dirait que quelque chose se passe mal.
Après un reboot dans le log Domoticz :
Dois-je supprimer quelque chose dans le dossier "Data" du plugin ?
Dans les infos de santé du plugin j'ai :
On dirait qu'un appairage est resté bloqué ?
Me voilà bien dans la panade, merci pour votre aide 
J'ai voulu appairer un détecteur de mouvement LIDL Smart Home TY0202 (ref HG07310 / IAN 400869_2107 - SMSZ 1 B2) avec Domoticz.
La première fois cela a fonctionné et j'ai eu 2 nouveaux périphériques dans Domoticz. Un "motion" et un "tamper"
Cependant je n'avais aucune remontée en cas de mouvement (malgré l'attente du délai de repos).
J'ai donc supprimé le périphérique dans Domoticz et tenté de re-enregistrer le périphérique depuis le menu web Zigate.
Pas mieux.
J'ai tenté de ré-appairer le périphérique mais quelque chose se passe mal
Code : Tout sélectionner
2024-01-16 00:35:35.818 Status: ZiGate: [-] NEW OBJECT: e36b ProfileID 0104
2024-01-16 00:35:35.819 Status: ZiGate: [-] NEW OBJECT: e36b ZDeviceID 0402
2024-01-16 00:35:35.821 Status: ZiGate: [-] NEW OBJECT: e36b Application Version 0000
2024-01-16 00:35:35.823 Status: ZiGate: [-] NEW OBJECT: e36b Cluster IN Count: 05
2024-01-16 00:35:35.825 Status: ZiGate: [-] NEW OBJECT: e36b Cluster In 1: 0000 (Basic)
2024-01-16 00:35:35.827 Status: ZiGate: [-] NEW OBJECT: e36b Cluster In 2: 0001 (Power Configuration)
2024-01-16 00:35:35.830 Status: ZiGate: [-] NEW OBJECT: e36b Cluster In 3: 0003 (Identify)
2024-01-16 00:35:35.832 Status: ZiGate: [-] NEW OBJECT: e36b Cluster In 4: 0500 (IAS Zone)
2024-01-16 00:35:35.834 Status: ZiGate: [-] NEW OBJECT: e36b Cluster In 5: 0b05 (Diagnostics)
2024-01-16 00:35:35.836 Status: ZiGate: [-] NEW OBJECT: e36b Cluster OUT Count: 01
2024-01-16 00:35:35.837 Status: ZiGate: [-] NEW OBJECT: e36b Cluster Out 1: 0019 (Over-the-Air Upgrade)
2024-01-16 00:35:38.128 Status: ZiGate: [1] NEW OBJECT: e36b Model Name: TY0202
2024-01-16 00:35:38.130 Status: ZiGate: [1] NEW OBJECT: e36b Manufacturer Name: _TZ1800_fcdjzz3s
2024-01-16 00:35:38.135 Status: ZiGate: [None] NEW OBJECT: e36b Request Node Descriptor
2024-01-16 00:35:38.145 Error: ZiGate: processNotinDBDevices - Devices already exist. ZiGate - TY0202_Tamper-8cf681fffe23aa47-01 with {'Version': '3', 'ZDeviceName': '', 'Status': '8043', 'SQN': '3f', 'Heartbeat': '1', 'RIA': '1', 'LQI': 90, 'Battery': {}, 'Model': 'TY0202', 'ForceAckCommands': [], 'MacCapa': '80', 'IEEE': '8cf681fffe23aa47', 'Type': '', 'ProfileID': '0104', 'ZDeviceID': '0402', 'App Version': '', 'Attributes List': {}, 'DeviceType': 'RFD', 'HW Version': '', 'Last Cmds': [(28, '02', 'e36b', '0110', '0101050000000000010010F000158d0001edb845'), (29, '02', 'e36b', '0100', '01010000000000000200040005')], 'LogicalType': 'End Device', 'Manufacturer': '', 'Manufacturer Name': '_TZ1800_fcdjzz3s', 'NbEp': '1', 'PowerSource': '', 'ReadAttributes': {'Ep': {'01': {'0000': {'TimeStamp': 1705361734, 'iSQN': {'0004': 29, '0005': 29}, 'Attributes': {'0004': '00', '0005': '00'}, 'ZigateRequest': {}}}}}, 'ReceiveOnIdle': '', 'Stack Version': '', 'Stamp': {'time': 1705361735.8128052, 'Time': '2024-01-16 00:35:35', 'MsgType': '8011', 'LastSeen': 1705361735}, 'ZCL Version': '', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated'], 'ZDPSQN': '00', 'RollingLQI': [93, 93, 93, 93, 93, 93, 93, 123, 123, 90, 90], 'Epv2': {'01': {'ProfileID': '0104', 'ZDeviceID': '0402', 'ClusterIn': {'0000': {}, '0001': {}, '0003': {}, '0500': {}, '0b05': {}}, 'ClusterOut': {'0019': {}}}}, 'ReqEpv2': {'01': 1705361732.3529282}, 'PairingInProgress': True, 'WriteAttributes': {'Ep': {'01': {'0500': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}}}}, 'Param': {'ReadAttributeChunk': 5, 'ForceIASRegistrationEp': '01', 'MotionViaIASAlarm1': 1}, 'ConfigSource': 'DeviceConf', 'Ep': {'01': {'0000': {'0004': '_TZ1800_fcdjzz3s', '0005': 'TY0202'}, '0001': {}, '0003': {}, '0500': {}, '0b05': {}, '0019': {}, 'Type': 'Motion/Tamper'}}, 'ZDeviceVersion': '0000'}
2024-01-16 00:35:38.199 Error: ZiGate: processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.
2024-01-16 00:35:43.082 Status: ZiGate: [1] NEW OBJECT: e36b Model Name: TY0202
2024-01-16 00:35:43.084 Status: ZiGate: [1] NEW OBJECT: e36b Manufacturer Name: _TZ1800_fcdjzz3s
2024-01-16 00:35:43.097 Error: ZiGate: processNotinDBDevices - Devices already exist. ZiGate - TY0202_Tamper-8cf681fffe23aa47-01 with {'Version': '3', 'ZDeviceName': '', 'Status': '8043', 'SQN': '35', 'Heartbeat': '2', 'RIA': '1', 'LQI': 87, 'Battery': 100, 'Model': 'TY0202', 'ForceAckCommands': [], 'MacCapa': '80', 'IEEE': '8cf681fffe23aa47', 'Type': '', 'ProfileID': '0104', 'ZDeviceID': '0402', 'App Version': '', 'Attributes List': {}, 'DeviceType': 'RFD', 'HW Version': '', 'Last Cmds': [(28, '02', 'e36b', '0110', '0101050000000000010010F000158d0001edb845'), (29, '02', 'e36b', '0100', '01010000000000000200040005')], 'LogicalType': 'End Device', 'Manufacturer': '120b', 'Manufacturer Name': '_TZ1800_fcdjzz3s', 'NbEp': '1', 'PowerSource': 'Battery', 'ReadAttributes': {'Ep': {'01': {'0000': {'TimeStamp': 1705361734, 'iSQN': {'0004': 29, '0005': 29}, 'Attributes': {'0004': '00', '0005': '00'}, 'ZigateRequest': {}}, '0001': {'TimeStamp': 1705361741, 'iSQN': {}, 'Attributes': {'0021': '00'}, 'ZigateRequest': {}}}}}, 'ReceiveOnIdle': 'Off', 'Stack Version': '', 'Stamp': {'time': 1705361742.8607194, 'Time': '2024-01-16 00:35:42', 'MsgType': '8011', 'LastSeen': 1705361742}, 'ZCL Version': '', 'Health': 'Live', 'Capability': ['Reduced-Function Device', 'Standard security', 'NwkAddr should be allocated'], 'ZDPSQN': '00', 'RollingLQI': [123, 123, 90, 90, 90, 90, 90, 87, 87, 87, 87], 'Epv2': {'01': {'ProfileID': '0104', 'ZDeviceID': '0402', 'ClusterIn': {'0000': {}, '0001': {}, '0003': {}, '0500': {}, '0b05': {}}, 'ClusterOut': {'0019': {}}}}, 'ReqEpv2': {'01': 1705361732.3529282}, 'PairingInProgress': True, 'WriteAttributes': {'Ep': {'01': {'0500': {'TimeStamp': 0, 'iSQN': {}, 'Attributes': {}, 'ZigateRequest': {}}}}}, 'Param': {'ReadAttributeChunk': 5, 'ForceIASRegistrationEp': '01', 'MotionViaIASAlarm1': 1}, 'ConfigSource': 'DeviceConf', 'Ep': {'01': {'0000': {'0004': '_TZ1800_fcdjzz3s', '0005': 'TY0202'}, '0001': {'0021': 200}, '0003': {}, '0500': {}, '0b05': {}, '0019': {}, 'Type': 'Motion/Tamper'}}, 'ZDeviceVersion': '0000', '_rawNodeDescriptor': '120b005200522c000080524002', 'Max Buffer Size': '52', 'Max Rx': '0052', 'Max Tx': '0052', 'macapa': '80', 'bitfield': '4002', 'server_mask': '2c00', 'descriptor_capability': '00', 'BatteryUpdateTime': 1705361741}
2024-01-16 00:35:43.147 Error: ZiGate: processNotinDBDevices - Please cross check the consistency of the Domoticz and Plugin database.
2024-01-16 00:35:48.117 Status: ZiGate: [1] NEW OBJECT: e36b Model Name: TY0202
2024-01-16 00:35:48.128 Status: ZiGate: [1] NEW OBJECT: e36b Manufacturer Name: _TZ1800_fcdjzz3s
Code : Tout sélectionner
Paramètres : {'ReadAttributeChunk': 5, 'ForceIASRegistrationEp': '01', 'MotionViaIASAlarm1': 1}Après un reboot dans le log Domoticz :
Code : Tout sélectionner
2024-01-16 01:00:47.784 Error: ZiGate: Decode8401 - unknown IAS device e36b from plugin Dans les infos de santé du plugin j'ai :
Code : Tout sélectionner
GroupStatus: "ready"
HealthFlag: 2
HealthTxt: "Enrollment in Progress"Code : Tout sélectionner
Plugin: 7.1.007 [3.191]
Firmware: Zigate - 0323
Domoticz Version: 2023.1