plugin-ZIGBEE Beta

ca sera dans la beta de demain merci

Bonsoir,

J’ai installé la dernière version du plugin zigbee (2021-01-07 01:04:47) et depuis cette version, j’ai un souci de remontée des commande « type » et « type rotation » du plugin xiaomi smart cube :

voilà un screenshot de la config de mes commandes :

Le changement des valeurs semble bien être envoyé à Jeedom (cf valeur flip en dernière ligne de ces logs)

logs zigbee :

[2021-01-07 20:41:36][DEBUG] : {"devices":{"00:15:8d:00:05:2f:9d:4e":{"2":{"18":{"85":{"value":"81.0","cluster_name":"MultistateInputCluster"},"event":{"flip":{"value":{"value":81,"flip_degrees":90,"activated_face":2},"cluster_name":"MultistateInputCluster"}},"0":{"value":"flip","cluster_name":"MultistateInputCluster"}}}}}}
[2021-01-07 20:41:36][DEBUG] : Search attribut for 00:15:8d:00:05:2f:9d:4e logicalId : 2::18::85 => 81.0
[2021-01-07 20:41:36][DEBUG] : Search attribut for 00:15:8d:00:05:2f:9d:4e logicalId : 2::18::0 => flip

et logs zigbee_1

[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.cube_aqgl01.CubeAQGL01.MultistateInputCluster object at 0x7f82526cc0> ClusterId: 0x0012 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=34 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=72>)]],)
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.attribute_updated] Received an attribute update 85=72.0 on cluster 18
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.zha_send_event] Received an event update flip={'value': 72.0, 'flip_degrees': 90, 'activated_face': 1.0} on cluster 18
[2021-01-07 20:30:07][INFO] : [00:15:8d:00:05:2f:9d:4e][listener.attribute_updated] Received an attribute update 0=flip on cluster 18
[2021-01-07 20:30:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f82de43b0>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:05:2f:9d:4e, 2, 18, 85, 72.0))
[2021-01-07 20:30:07][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f82de43b0>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:05:2f:9d:4e, 2, 18, 0, 'flip'))
[2021-01-07 20:30:07][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:05:2f:9d:4e': {'2': {'18': {'85': {'value': '72.0', 'cluster_name': 'MultistateInputCluster'}, 'event': {'flip': {'value': {'value': 72.0, 'flip_degrees': 90, 'activated_face': 1.0}, 'cluster_name': 'MultistateInputCluster'}}, '0': {'value': 'flip', 'cluster_name': 'MultistateInputCluster'}}}}}}

Mais rien ne se passe sur la commande (commande type dans ce cas là) qui prenait avant cette MAJ la valeur ‹ flip ›

Norbert

voici le retour suite a la derniere mise a jour

capteur vibration

image

l’information : 1::1280::cmd::1 remonte bien une valeur 0 ou 1 lors d’un mouvement
l’information : 1::257::0 semble remonte des valeurs tilt vibration drop suivant la force du mouvement
l’information : 1::257::1283 donne des informations d’inclinaison mais je pense qu’il y a un soucis

il y a bien des informations qui remontent au niveau de l’inclinaison mais je pense qu’il doit tout de mémé avoir un problème car les valeurs me semble étrange et ne remonte pas toujours, voir très peu

j’ai fait un filtre uniquement sur la mac de mon capteur je sais pas si cela va suffire

log zigbeed_1

[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=253 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=1>)]],)
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=1.0 on cluster 257
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.cluster_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MotionCluster object at 0x7f371c386278> ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0])
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.cluster_command] Use specific decode funtion
[2021-01-07 21:53:45][DEBUG] : Send to jeedom :  {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'1280': {'cmd': {1: {'value': '1', 'cluster_name': 'IAS Zone'}, '1.1': {'value': '0', 'cluster_name': 'IAS Zone'}, '1.2': {'value': '0', 'cluster_name': 'IAS Zone'}, '1.3': {'value': '0', 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:53:45][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280
[2021-01-07 21:53:45][DEBUG] : 00:15:8d:00:02:c3:a8:f9 - Received motion event message
[2021-01-07 21:53:45][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 1.0))
[2021-01-07 21:53:46][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1280, 0, 1))
[2021-01-07 21:53:46][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '1.0', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}}
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=254 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:53:46][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:53:46][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:53:47][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:53:47][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:53:48][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=255 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=751619013712>)]],)
[2021-01-07 21:53:48][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=751619013712 on cluster 257
[2021-01-07 21:53:48][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 751619013712))
[2021-01-07 21:53:48][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1288': {'value': '751619013712', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=0 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=1 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5171138985985>)]],)
[2021-01-07 21:54:00][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=5171138985985 on cluster 257
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:00][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}, '1288': {'value': '5171138985985', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:00][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 5171138985985))
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=2 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:09][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:09][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:09][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:09][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:10][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=3 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=743029144655>)]],)
[2021-01-07 21:54:10][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=743029144655 on cluster 257
[2021-01-07 21:54:10][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 743029144655))
[2021-01-07 21:54:10][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1288': {'value': '743029144655', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=4 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=2>), Attribute(attrid=1283, value=<TypeValue type=uint16_t, value=80>)]],)
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 85=2.0 on cluster 257
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1283=80 on cluster 257
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update Tilt=({'degrees': 80},) on cluster 1280
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 85, 2.0))
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f371c386358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=5 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5171138920451>)]],)
[2021-01-07 21:54:15][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1288=5171138920451 on cluster 257
[2021-01-07 21:54:15][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'85': {'value': '2.0', 'cluster_name': 'MultistateInputCluster'}, '1283': {'value': '80', 'cluster_name': 'MultistateInputCluster'}, '1288': {'value': '5171138920451', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Tilt': {'value': ({'degrees': 80},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1283, 80))
[2021-01-07 21:54:15][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f371d4dc030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1288, 5171138920451))

log zigbee

[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"1280":{"cmd":{"1":{"value":"1","cluster_name":"IAS Zone"},"1.1":{"value":"0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"1280":{"cmd":{"1":{"value":"1","cluster_name":"IAS Zone"},"1.1":{"value":"0","cluster_name":"IAS Zone"},"1.2":{"value":"0","cluster_name":"IAS Zone"},"1.3":{"value":"0","cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1 => 1
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1 => 1
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.1 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.2 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.3 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.1 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.2 => 0
[2021-01-07 22:45:51][DEBUG] : Search command for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::cmd::1.3 => 0
[2021-01-07 22:45:51][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"85":{"value":"1.0","cluster_name":"MultistateInputCluster"}},"1280":[{"value":"1","cluster_name":"IAS Zone"}]}}}}
[2021-01-07 22:45:51][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::85 => 1.0
[2021-01-07 22:45:51][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::1280::0 => 1
[2021-01-07 22:45:52][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"85":{"value":"3.0","cluster_name":"MultistateInputCluster"}},"1280":{"event":{"Drop":{"value":[],"cluster_name":"IAS Zone"}}}}}}}
[2021-01-07 22:45:52][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::85 => 3.0
[2021-01-07 22:46:08][DEBUG] : {"devices":{"00:15:8d:00:02:c3:a8:f9":{"1":{"257":{"1288":{"value":"5179728592899","cluster_name":"MultistateInputCluster"}}}}}}
[2021-01-07 22:46:08][DEBUG] : Search attribut for 00:15:8d:00:02:c3:a8:f9 logicalId : 1::257::1288 => 5179728592899

si pas bon, je ferais une capture sans filtre

y a t il des erreur ou tout te semble bon

merci

Bonjour,
Aucun soucis coté jeedom c’est le module qui remonte ca pour l’inclinaison.

@ngrataloup et @ludoviclt ya bien par contre un soucis sur la gestion des remonté de type event mais j’ai pas le materiel pour tester donc je doute de pouvoir corriger pour le moment.

Hello all,

Je tombe par hasard sur ce sujet/plugin et j’avoue être aux anges car ce mode de fonctionnement 100% collaboratif avec une réactivité incroyable côté jeedom et d’une verdoyance vivifiante <3.

J’ai pu faire un test avec Deconz en contrôleur, ça marche pas mal. Les inclusions Xiaomi sont toujours capricieuses mais au moins, pas besoin de passer par Phoscon.

En revanche, les capteurs de présence et d’ouverture Aqara ne remontent pas la température ou la luminosité. Est-ce assumé et/ou temporaire ? Ce n’est pas hyper-critique pour moi mais ptet pour d’autres. Je vois qu’ici on dégaine du json plus vite que son ombre ^^. Comment faire pour justement aider ?

D’avance merci,

Tauks

PS : Mes 2 plus gros tests d’adoption du plugin seront :

  • Voir si Zigbee (DeconZ) et Zwave (Gen5 mais je vais en tester une autre car freeze 1x / 15j environ et envie de compatibilité USB3 sur pi4) arretent de se piquer les controleurs USB suite à reboot, ce qui arrive parfois actuellement et a pour conséquence tout un protocole en moins dans la maison, ce qui est très visible et plombe ma crédibilité WAF ^^.
  • Estimer la perte d’info que je peux clairement voir aujourd’hui entre Phoscon qui me dit à juste titre « mouvement » et jeedom qui me dit parfois « absence de mouvement ». C’est dommage quand il s’agit d’une fenêtre d’enfant au 2ème étage qui s’ouvre sans qu’on ait d’alerte…

Du coup, si nous pouvons t’aider pour quoique ce soit, n’hesite pas à nous demander des logs ou autres infos.
Norbert

pour les capteurs, j’ai aucun problème de remonte au moindre mouvement avec le plugin zigbe2mqtt, donc je suppose que oui il y a bien un petit soucie de remonte, comment on peut t’aider a trouver le problème

l’info porte semble bien passe a 1 au moindre mouvement, par contre l’inclinaison et la vibration remontent aléatoirement et très rarement

un autre log si cela te parle

[2021-01-08 18:50:02][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:02][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:02][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x00\x00'\x0c\x01\x01\x00/\x00<
\xb7\x00\x00M\x1c_\x11\x1c
\x05\x00B\x12lumi.vibration.aq1\x01\xffB.\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01\xb8U\x1c" length=97 fcs=102>
[2021-01-08 18:50:02][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 0, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 47, 'securityuse': 0, 'timestamp': 11996476, 'transseqnumber': 0, 'len': 77, 'data': b'\x1c_\x11\x1c
\x05\x00B\x12lumi.vibration.aq1\x01\xffB.\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'}
[2021-01-08 18:50:02][INFO] : handle_message incomingMsg
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes>
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]]
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e29eb8> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]],)
[2021-01-08 18:50:02][DEBUG] : [0x0c27:1:0x0000] Attribute report received: model=lumi.vibration.aq1, 65281=!�(!�!�$
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 5=lumi.vibration.aq1 on cluster 0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.vibration.aq1'} on cluster 0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 65281=b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01' on cluster 0
[2021-01-08 18:50:02][DEBUG] : 00:15:8d:00:02:c4:e5:6b - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 2965, 'temperature': 30, 'X-attrib-4': 5032, 'X-attrib-5': 402, 'X-attrib-6': 0, '0xff01-8': 776, 'path': 21944, '0xff01-152': 40, '0xff01-153': 63, '0xff01-154': 2177612185800}]
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 32=30 on cluster 1
[2021-01-08 18:50:02][DEBUG] : LUMI lumi.vibration.aq1, Voltage [RAW]:30 [Max]:3.0 [Min]:2.8, Battery Percent: 100.0
[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 33=200 on cluster 1
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 0, 5, 'lumi.vibration.aq1'))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'0': {'5': {'value': 'lumi.vibration.aq1', 'cluster_name': 'VibrationBasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.vibration.aq1'}, 'cluster_name': 'VibrationBasicCluster'}}, '65281': {'value': "b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'", 'cluster_name': 'VibrationBasicCluster'}}, '1': {'32': {'value': '30', 'cluster_name': 'Power Configuration'}, '33': {'value': '200', 'cluster_name': 'Power Configuration'}}}}}}
[2021-01-08 18:50:02][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 0, 65281, b'\x01!\x95\x0b\x03(\x1e\x04!\xa8\x13\x05!\x92\x01\x06$\x00\x00\x00\x00\x00\x08!\x08\x03
!\xb8U\x98!(\x00\x99!?\x00\x9a%\xc8\x00\xcd\x03\xfb\x01'))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 1, 32, 30))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 1, 33, 200))
[2021-01-08 18:50:02][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:02][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:02][DEBUG] : returning None
[2021-01-08 18:50:04][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x01\x01\x07\x8f\x01\x01\x007\x00\xa5-\xb7\x00\x00
\x18\x86
\x05\x05#\x00\x00\xa9\x00\x07\x8f\x1d' length=30 fcs=218>
[2021-01-08 18:50:04][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x8F07, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 55, 'securityuse': 0, 'timestamp': 12004773, 'transseqnumber': 0, 'len': 10, 'data': b'\x18\x86
\x05\x05#\x00\x00\xa9\x00'}
[2021-01-08 18:50:04][INFO] : handle_message incomingMsg
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=134 command_id=Command.Report_Attributes>
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=1285, value=<TypeValue type=uint32_t, value=11075584>)]]
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e52358> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=134 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1285, value=<TypeValue type=uint32_t, value=11075584>)]],)
[2021-01-08 18:50:04][DEBUG] : [0x8f07:1:0x0101] Attribute report received: 1285=11075584
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 1285=11075584 on cluster 257
[2021-01-08 18:50:04][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.zha_send_event] Received an event update vibration_strength=({'strength': 169},) on cluster 1280
[2021-01-08 18:50:04][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 257, 1285, 11075584))
[2021-01-08 18:50:04][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:04][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:04][DEBUG] : returning None
[2021-01-08 18:50:05][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'257': {'1285': {'value': '11075584', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'vibration_strength': {'value': ({'strength': 169},), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-08 18:50:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:05][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b'\x00\x00\x00\x00\x07\x8f\x01\x01\x007\x00\x98<\xb7\x00\x007\x1c_\x11\x87
\x01\xffB.\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04\x07\x8f\x1d' length=75 fcs=35>
[2021-01-08 18:50:05][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 0, 'srcaddr': 0x8F07, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 55, 'securityuse': 0, 'timestamp': 12008600, 'transseqnumber': 0, 'len': 55, 'data': b'\x1c_\x11\x87
\x01\xffB.\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'}
[2021-01-08 18:50:05][INFO] : handle_message incomingMsg
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=True disable_default_response=True> manufacturer=4447 tsn=135 command_id=Command.Report_Attributes>
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] ZCL request 0x000a: [[Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!K$a>)]]
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e520f0> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=135 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!K$a>)]],)
[2021-01-08 18:50:05][DEBUG] : [0x8f07:1:0x0000] Attribute report received: 65281=!�(!�!K$a
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 65281=b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04' on cluster 0
[2021-01-08 18:50:05][DEBUG] : 00:15:8d:00:02:c3:a8:f9 - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 2985, 'temperature': 29, 'X-attrib-4': 5032, 'X-attrib-5': 587, 'X-attrib-6': 65543, '0xff01-8': 776, 'path': 0, '0xff01-152': 40, '0xff01-153': 436, '0xff01-154': 5175434215421}]
[2021-01-08 18:50:05][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 32=30 on cluster 1
[2021-01-08 18:50:05][DEBUG] : LUMI lumi.vibration.aq1, Voltage [RAW]:30 [Max]:3.0 [Min]:2.8, Battery Percent: 100.0
[2021-01-08 18:50:06][INFO] : [00:15:8d:00:02:c3:a8:f9][listener.attribute_updated] Received an attribute update 33=200 on cluster 1
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 0, 65281, b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c3:a8:f9': {'1': {'0': {'65281': {'value': "b'\x01!\xa9\x0b\x03(\x1d\x04!\xa8\x13\x05!K\x02\x06$\x07\x00\x01\x00\x00\x08!\x08\x03
!\x00\x00\x98!(\x00\x99!\xb4\x01\x9a%\xfd\xff\xea\xff\xb4\x04'", 'cluster_name': 'VibrationBasicCluster'}}, '1': {'32': {'value': '30', 'cluster_name': 'Power Configuration'}, '33': {'value': '200', 'cluster_name': 'Power Configuration'}}}}}}
[2021-01-08 18:50:06][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1, 32, 30))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c3:a8:f9, 1, 1, 33, 200))
[2021-01-08 18:50:06][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:06][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:06][DEBUG] : returning None
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.ZDO command_id=196 data=b"'\x0c\x01\xb8U" length=5 fcs=67>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ ZDO srcRtgInd tsn: None {'dstaddr': 0x0C27, 'relaycount': 1, 'relaylist': [21944]}
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x01\x01'\x0c\x01\x01\x004\x00\x07_\xb7\x00\x00\x08\x18\x1d
U\x00!\x03\x00\xb8U\x1c" length=28 fcs=168>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 52, 'securityuse': 0, 'timestamp': 12017415, 'transseqnumber': 0, 'len': 8, 'data': b'\x18\x1d
U\x00!\x03\x00'}
[2021-01-08 18:50:08][INFO] : handle_message incomingMsg
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes>
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=3>)]]
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e350f0> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=29 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=85, value=<TypeValue type=uint16_t, value=3>)]],)
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] Attribute report received: present_value=3
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 85=3.0 on cluster 257
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.zha_send_event] Received an event update Drop=() on cluster 1280
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 257, 85, 3.0))
[2021-01-08 18:50:08][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:08][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'257': {'85': {'value': '3.0', 'cluster_name': 'MultistateInputCluster'}}, '1280': {'event': {'Drop': {'value': (), 'cluster_name': 'IAS Zone'}}}}}}}
[2021-01-08 18:50:08][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:08][DEBUG] : Frame received: <UnpiFrame command_type=CommandType.AREQ subsystem=Subsystem.AF command_id=129 data=b"\x00\x00\x01\x01'\x0c\x01\x01\x001\x00\x1f`\xb7\x00\x00\x0c\x18\x1e
\x08\x05%-\x00
\x00\x92\x04\xb8U\x1c" length=32 fcs=95>
[2021-01-08 18:50:08][DEBUG] : <-- AREQ AF incomingMsg tsn: None {'groupid': 0, 'clusterid': 257, 'srcaddr': 0x0C27, 'srcendpoint': 1, 'dstendpoint': 1, 'wasbroadcast': 0, 'linkquality': 49, 'securityuse': 0, 'timestamp': 12017695, 'transseqnumber': 0, 'len': 12, 'data': b'\x18\x1e
\x08\x05%-\x00
\x00\x92\x04'}
[2021-01-08 18:50:08][INFO] : handle_message incomingMsg
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes>
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] ZCL request 0x000a: [[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5025112391725>)]]
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.MultistateInputCluster object at 0x7f42b4e350f0> ClusterId: 0x0101 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=True> manufacturer=None tsn=30 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=1288, value=<TypeValue type=uint48_t, value=5025112391725>)]],)
[2021-01-08 18:50:08][DEBUG] : [0x0c27:1:0x0101] Attribute report received: 1288=5025112391725
[2021-01-08 18:50:08][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.attribute_updated] Received an attribute update 1288=5025112391725 on cluster 257
[2021-01-08 18:50:08][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:08][DEBUG] : returning None
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f42b67ab030>, 'INSERT OR REPLACE INTO attributes VALUES (?, ?, ?, ?, ?)', (00:15:8d:00:02:c4:e5:6b, 1, 257, 1288, 5025112391725))
[2021-01-08 18:50:08][DEBUG] : returning <sqlite3.Cursor object at 0x7f42b6754f10>
[2021-01-08 18:50:08][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f42b67ab030>)
[2021-01-08 18:50:09][DEBUG] : Send to jeedom : {'devices': {'00:15:8d:00:02:c4:e5:6b': {'1': {'257': {'1288': {'value': '5025112391725', 'cluster_name': 'MultistateInputCluster'}}}}}}
[2021-01-08 18:50:09][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80
[2021-01-08 18:50:09][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=cKC2YbVE1HqueMhTAVgvrOdUedD633hJ HTTP/1.1" 200 0
[2021-01-08 18:50:09][DEBUG] : returning None

etrange cette ligne non, la value tout a la fin

[2021-01-08 18:50:02][INFO] : [00:15:8d:00:02:c4:e5:6b][listener.general_command] Cluster: <zhaquirks.xiaomi.aqara.vibration_aq1.VibrationAQ1.VibrationBasicCluster object at 0x7f42b4e29eb8> ClusterId: 0x0000 command_id: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=True is_reply=False disable_default_response=True> manufacturer=4447 tsn=28 command_id=Command.Report_Attributes> args: ([[Attribute(attrid=5, value=<TypeValue type=CharacterString, value=lumi.vibration.aq1>), Attribute(attrid=65281, value=<TypeValue type=CharacterString, value=!�(!�!�$>)]],)

Bonsoir, je me permet de reposter ces éléments comme je les vois pas dans les dernières mise a jour, peux être êtes vous passé a coté :slight_smile: merci pour votre boulot.

Interrupteur variateur legrand celiane by netatmo

> Citation
> Configuration du noeud
> Information
> Configuration
> Action
> Informations brutes
> {
> « ieee »: « 00:04:74:00:00:8b:09:8e »,
> « nwk »: 7864,
> « status »: 2,
> « lqi »: « None »,
> « rssi »: « None »,
> « last_seen »: « 1608330049.0774717 »,
> « node_descriptor »: « 11:40:8e:21:10:59:3f:00:00:2a:3f:00:00 »,
> « endpoints »: [
> {
> « id »: 1,
> « status »: 1,
> « device_type »: 256,
> « profile_id »: 260,
> « manufacturer »: " Legrand",
> « model »: " Dimmer switch w/o neutral",
> « output_clusters »: [
> {
> « id »: 0,
> « name »: « Basic »,
> « attributes »: []
> },
> {
> « id »: 64513,
> « name »: « LegrandCluster »,
> « attributes »: []
> },
> {
> « id »: 25,
> « name »: « Ota »,
> « attributes »: []
> }
> ],
> « input_clusters »: [
> {
> « id »: 0,
> « name »: « Basic »,
> « attributes »: [
> {
> « id »: 0,
> « name »: « zcl_version »,
> « value »: 2
> },
> {
> « id »: 1,
> « name »: « app_version »,
> « value »: 0
> },
> {
> « id »: 2,
> « name »: « stack_version »,
> « value »: 66
> },
> {
> « id »: 3,
> « name »: « hw_version »,
> « value »: 6
> },
> {
> « id »: 4,
> « name »: « manufacturer »,
> « value »: " Legrand"
> },
> {
> « id »: 5,
> « name »: « model »,
> « value »: " Dimmer switch w/o neutral"
> },
> {
> « id »: 6,
> « name »: « date_code »,
> « value »: " "
> },
> {
> « id »: 7,
> « name »: « power_source »,
> « value »: 1
> },
> {
> « id »: 16384,
> « name »: « sw_build_id »,
> « value »: « 002b »
> }
> ]
> },
> {
> « id »: 3,
> « name »: « Identify »,
> « attributes »: []
> },
> {
> « id »: 4,
> « name »: « Groups »,
> « attributes »: []
> },
> {
> « id »: 6,
> « name »: « On/Off »,
> « attributes »: [
> {
> « id »: 0,
> « name »: « on_off »,
> « value »: 0
> }
> ]
> },
> {
> « id »: 8,
> « name »: « Level control »,
> « attributes »: [
> {
> « id »: 0,
> « name »: « current_level »,
> « value »: 0
> },
> {
> « id »: 17,
> « name »: « on_level »,
> « value »: 254
> }
> ]
> },
> {
> « id »: 5,
> « name »: « Scenes »,
> « attributes »: []
> },
> {
> « id »: 15,
> « name »: « Binary Input (Basic) »,
> « attributes »: [
> {
> « id »: 85,
> « name »: « present_value »,
> « value »: 0
> }
> ]
> },
> {
> « id »: 64513,
> « name »: « LegrandCluster »,
> « attributes »: []
> }
> ]
> }
> ],
> « signature »: {
> « manufacturer_name »: " Legrand",
> « model »: " Dimmer switch w/o neutral",
> « node_descriptor »: {
> « byte1 »: 17,
> « byte2 »: 64,
> « mac_capability_flags »: 142,
> « manufacturer_code »: 4129,
> « maximum_buffer_size »: 89,
> « maximum_incoming_transfer_size »: 63,
> « server_mask »: 10752,
> « maximum_outgoing_transfer_size »: 63,
> « descriptor_capability_field »: 0
> },
> « 1 »: {
> « profileid »: 260,
> « deviceid »: 256,
> « in_clusters »: [
> 0,
> 3,
> 4,
> 6,
> 8,
> 5,
> 15,
> 64513
> ],
> « out_clusters »: [
> 0,
> 64513,
> 25
> ]
> }
> },
> « class »: « zhaquirks.legrand.dimmer »
> }

Ampoules gu10 rgbw aurora AUA1GUZBRGBW

ABI3224053_PHOTOHD_1

Configuration du noeud
Information
Configuration
Action
Informations brutes
{
« ieee »: « 68:0a:e2:ff:fe:a5:75:af »,
« nwk »: 51353,
« status »: 2,
« lqi »: « None »,
« rssi »: « None »,
« last_seen »: « None »,
« node_descriptor »: « 01:40:8e:68:11:52:52:00:00:2c:52:00:00 »,
« endpoints »: [
{
« id »: 1,
« status »: 1,
« device_type »: 269,
« profile_id »: 260,
« manufacturer »: « Aurora »,
« model »: « RGBGU10Bulb50AU »,
« output_clusters »: [
{
« id »: 10,
« name »: « Time »,
« attributes »: []
},
{
« id »: 25,
« name »: « Ota »,
« attributes »: []
}
],
« input_clusters »: [
{
« id »: 0,
« name »: « Basic »,
« attributes »: [
{
« id »: 0,
« name »: « zcl_version »,
« value »: 2
},
{
« id »: 1,
« name »: « app_version »,
« value »: 1
},
{
« id »: 2,
« name »: « stack_version »,
« value »: 1
},
{
« id »: 3,
« name »: « hw_version »,
« value »: 1
},
{
« id »: 4,
« name »: « manufacturer »,
« value »: « Aurora »
},
{
« id »: 5,
« name »: « model »,
« value »: « RGBGU10Bulb50AU »
},
{
« id »: 6,
« name »: « date_code »,
« value »: « 20181025 »
},
{
« id »: 7,
« name »: « power_source »,
« value »: 1
},
{
« id »: 16384,
« name »: « sw_build_id »,
« value »: « 2.0 »
}
]
},
{
« id »: 3,
« name »: « Identify »,
« attributes »: []
},
{
« id »: 4,
« name »: « Groups »,
« attributes »: []
},
{
« id »: 5,
« name »: « Scenes »,
« attributes »: []
},
{
« id »: 6,
« name »: « On/Off »,
« attributes »: [
{
« id »: 0,
« name »: « on_off »,
« value »: 1
}
]
},
{
« id »: 8,
« name »: « Level control »,
« attributes »: [
{
« id »: 0,
« name »: « current_level »,
« value »: 254
}
]
},
{
« id »: 768,
« name »: « Color Control »,
« attributes »: [
{
« id »: 0,
« name »: « current_hue »,
« value »: 136
},
{
« id »: 1,
« name »: « current_saturation »,
« value »: 36
},
{
« id »: 3,
« name »: « current_x »,
« value »: 29991
},
{
« id »: 4,
« name »: « current_y »,
« value »: 26872
},
{
« id »: 7,
« name »: « color_temperature »,
« value »: 370
}
]
},
{
« id »: 2821,
« name »: « Diagnostic »,
« attributes »: []
},
{
« id »: 4096,
« name »: « LightLink »,
« attributes »: []
},
{
« id »: 65244,
« name »: « Manufacturer Specific »,
« attributes »: []
}
]
},
{
« id »: 242,
« status »: 1,
« device_type »: 97,
« profile_id »: 41440,
« manufacturer »: null,
« model »: null,
« output_clusters »: [
{
« id »: 33,
« name »: « GreenPowerProxy »,
« attributes »: []
}
],
« input_clusters »: []
}
],
« signature »: {
« manufacturer_name »: « Aurora »,
« model »: « RGBGU10Bulb50AU »,
« node_descriptor »: {
« byte1 »: 1,
« byte2 »: 64,
« mac_capability_flags »: 142,
« manufacturer_code »: 4456,
« maximum_buffer_size »: 82,
« maximum_incoming_transfer_size »: 82,
« server_mask »: 11264,
« maximum_outgoing_transfer_size »: 82,
« descriptor_capability_field »: 0
},
« 1 »: {
« profileid »: 260,
« deviceid »: 269,
« in_clusters »: [
0,
3,
4,
5,
6,
8,
768,
2821,
4096,
65244
],
« out_clusters »: [
10,
25
]
},
« 242 »: {
« profileid »: 41440,
« deviceid »: 97,
« in_clusters »: [],
« out_clusters »: [
33
]
}
},
« class »: « zigpy.device »
}
[details="Résumé"]
Ce texte sera masqué
[/details]

@Loic

Grace à l’ajout de la télécommande OSRAM.Lightify_Switch_Mini dans le plugin, même si c’est du ZZL, j’ai fini par obtenir ce que je voulais.
Avec les essais que j’ai fait de mon côté, je peux utiliser cette télécommande pour piloter un volet roulant avec RFXCOM.

J’ai gardé que 3 commandes infos comme ci-dessous:

J’ai changé le nom des commandes en Monter-Stop-Descendre le type en Binaire.
J’ai associé ensuite un scénario pour chaque commande avec comme déclencheur l’état du bouton.

Si ça peut aider pour simplifier la télécommande dans le plugin avec juste 3 boutons simple.

Bonjour,
Pouvez-vous me dire comment vous avez fait pour inclure le bandeau led ? J’ai le même et après une 20aine de tentatives, impossible.

Boutin Aqara AQ3
Modèle : lumi.remote.b1acn01
Fabricant : LUMI
Classe : zhaquirks.xiaomi.aqara.sensor_switch_aq3

Aqara commutateur sans fil Intelligent télécommande intelligente une clé contrôle Aqara Application intelligente contrôle de l’application de sécurité à domicile | AliExpress

Photo idem AQ2
image

{
    "ieee": "00:15:8d:00:06:26:97:e1",
    "nwk": 19871,
    "status": 2,
    "lqi": "86",
    "rssi": "0",
    "last_seen": "1610140629.2221181",
    "node_descriptor": "02:40:80:37:10:7f:64:00:00:00:64:00:00",
    "endpoints": [
        {
            "id": 1,
            "status": 1,
            "device_type": 6,
            "profile_id": 260,
            "manufacturer": "LUMI",
            "model": "lumi.remote.b1acn01",
            "output_clusters": [
                {
                    "id": 0,
                    "name": "Basic",
                    "attributes": []
                }
            ],
            "input_clusters": [
                {
                    "id": 0,
                    "name": "BasicCluster",
                    "attributes": [
                        {
                            "id": 0,
                            "name": "zcl_version",
                            "value": 1
                        },
                        {
                            "id": 1,
                            "name": "app_version",
                            "value": 2
                        },
                        {
                            "id": 2,
                            "name": "stack_version",
                            "value": 2
                        },
                        {
                            "id": 3,
                            "name": "hw_version",
                            "value": 2
                        },
                        {
                            "id": 4,
                            "name": "manufacturer",
                            "value": "LUMI"
                        },
                        {
                            "id": 5,
                            "name": "model",
                            "value": "lumi.remote.b1acn01"
                        },
                        {
                            "id": 6,
                            "name": "date_code",
                            "value": "20180525"
                        },
                        {
                            "id": 7,
                            "name": "power_source",
                            "value": 3
                        },
                        {
                            "id": 16384,
                            "name": "sw_build_id",
                            "value": "3000-0001"
                        }
                    ]
                },
                {
                    "id": 1,
                    "name": "Power Configuration",
                    "attributes": [
                        {
                            "id": 32,
                            "name": "battery_voltage",
                            "value": 31
                        },
                        {
                            "id": 33,
                            "name": "battery_percentage_remaining",
                            "value": 200
                        }
                    ]
                },
                {
                    "id": 18,
                    "name": "MultistateInputCluster",
                    "attributes": [
                        {
                            "id": 85,
                            "name": "present_value",
                            "value": 1
                        }
                    ]
                }
            ]
        }
    ],
    "signature": {
        "manufacturer": "LUMI",
        "model": "lumi.remote.b1acn01",
        "node_desc": {
            "byte1": 2,
            "byte2": 64,
            "mac_capability_flags": 128,
            "manufacturer_code": 4151,
            "maximum_buffer_size": 127,
            "maximum_incoming_transfer_size": 100,
            "server_mask": 0,
            "maximum_outgoing_transfer_size": 100,
            "descriptor_capability_field": 0
        },
        "endpoints": {
            "1": {
                "profile_id": 260,
                "device_type": 6,
                "input_clusters": [
                    0,
                    1,
                    18
                ],
                "output_clusters": [
                    0
                ]
            }
        }
    },
    "class": "zhaquirks.xiaomi.aqara.sensor_switch_aq3"
}

image

bonjour @Loic

le statuts du daemon ne se lance pas tout seul après avoir éteint puis rallumer jeedom ou alors suite a une mise a jour du plugin

pour que celui ci se lance, il faut que je clique sur l’icone redémarrer dans la partie configuration du daemon 1.

est ce normal du fait de la beta ou j’ai un problème de configuration lié au fait que je suis sur une VM de mon nas qnap via virtualization station

Bonsoir à tous,
Je viens de basculer du plugin Zigate à Zigbee en beta. Tout s’est passé à merveille, aucun accroc à part peut-être avec quelques détecteurs de portes Xiaomi mais en insistant un peu ça fonctionne.
Bravo pour le travail. :+1:
Me sentant pousser des ailes :innocent:, je suis allé chez Ikéa acheter des télécommandes 3 et 5 boutons.
L’inclusion se passe bien mais en revanche je n’ai aucune info quand je clique sur test. Je ne vois pas comment les utiliser. Il y a peut-être une configuration à faire ?
Pour les deux types de télécommandes, elles sont incluses car elles commandes toutes les prises bien involontairement.
Est-ce que quelqu’un pourrait m’aiguiller pour pouvoir me servir de ces télécommandes sur Jeedom ?
Merci de votre aide.

Bonjour je test le plugin pour voir s’il me convient.
Avez-vous aussi le changement de luminosité d’une ampoule qui s’effectue de manière direct dans transition (fondu). Je trouve ca pas très beau a l’usage quand on dimm une ampoule si il n’y a pas de transition.

Avec mes ampoules Ikéa, le changement de luminosité ou de couleur se fait effectivement sans transition…mais en même temps, le plugin ne fait qu’envoyer une commande à l’ampoule qui est la valeur du curseur et non une progression jusqu’à la valeur choisie.

Merci pour ton retour, je demande car avec le plugin deconz on a bien une transition a chaque changement de luminosité ou couleur je trouve ca plus agréable.
Est-ce en projet d’inclure les changements avec un duration transition?

Le modèle porte bien son nom : prise de vie :slight_smile:
Donc au moins cette chinoiserie annonce la couleur. On ne pourra dire qu’on n’était pas prévenu. :rofl:

BUG very strange :
Bouton Zig aq3 modifié sur la base d’un aq2 :

image

Qui appelle un scénario avec affichage de l’état sur telegram:

Avec différent types d’appuis :
image

JUSQU’ICI tout va bien, puis :
Retour vers mon switch AQARA


Déclenchement d’un event Zigbee sur un autre device… bizarre
image

Rien n’a changer:

en fait si et c’est normal mais il faut faire F5 (Normal?)
image

Je quitte SANS SAUVEGARDER
Le statut du DEAMON du plugin ZIGBEE est toujours à ON => hier il était down !!!
image

1er BUG
Je reviens sur le device, bien que non sauvegardé, les valeurs sont encore là !

Le scénario est toujours ok

Je remets mes paramètres et je sauvegarde :

Appui sur le bouton du switch, le scenario fonctionne bien:
image

2nd BUG
Par contre celui de mon Zig SONOFF est HS !!


Je corrige (sans modifier la config de Zig SONOFF)


idem ici

Tout est de nouveau OK
image

Il me semble qu’hier l’impact sur le scénario (changement d’ID était sur lui même)

En espérant aider a s’approcher d’une release… :wink:

Bonjour,

Je me décide à poster car je n’arrive pas à faire fonctionner mon Zigbee avec ce plugin.

La configuration toute neuve:

  • RPI4B 4Go sur SSD
  • Image Jeedom de janvier 2021 + mise à jour complète OS + package
  • Clé ConBEE 2 sur port USb classique (pas USB 3)
  • Clé AEOTEC Zwave

C’est une installation neuve pour un ami, il n’y a donc presque rien pour le moment, je me concentre sur le fonctionnement des protocoles choisi. Pour le Zwave aucun problème.

Pour le Zigbee, j’ai fait le choix de ce plugin Beta plutôt que Deconz, je l’ai donc acheté puis installé. j’ai aussi installé les dépendances sans soucis.

Au niveau de la configuration du plugin:

  • Type de contrôleur : Deconz
  • Type de clef: Auto
  • Port Zigbee: Auto
  • Port Interne: 8089
  • Cycle: 0.3sec
  • Channel: 11

Le démon est vert, le log n’indique pas d’erreur au lancement du démon.

Viens le moment d’inclure un capteur, c’est un AQARA Température et Humidité sensor, le classique carré. Il existe bien un fichier json pour ce capteur dans le plugin.
Je passe le plugin en inclusion et j’essai ensuite d’inclure le capteur (appui court, appui long 5sec, 10sec) rien ne se passe ! rien dans les logs que dalle.

Il y a une erreur dans le log qui me plait pas trop mais de quoi ça vient ?

[2021-01-10 16:10:54][DEBUG] : [ApplicationHandler.prepare] Json arg : {'duration': 180}
[2021-01-10 16:10:54][DEBUG] : Sending Zigbee broadcast with tsn 5 under 6 request id, data: b'05b400'
[2021-01-10 16:10:54][DEBUG] : Command Command.aps_data_request (17, 6, 0, <DeconzAddressEndpoint address_mode=1 address=65532 endpoint=None>, 0, 54, 0, b'\x05\xb4\x00', 2, 0)
[2021-01-10 16:10:54][DEBUG] : Send: 0x121d0018001100060001fcff0000360000030005b4000200
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x121d00090002002206
[2021-01-10 16:10:54][DEBUG] : APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 6]
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x0e1e000700aa00
[2021-01-10 16:10:54][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
[2021-01-10 16:10:54][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-10 16:10:54][DEBUG] : Send: 0x171e000800010001
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x171e0021001a002201fcff010200000000003600030005b40000af11df05000015
[2021-01-10 16:10:54][DEBUG] : APS data indication response: [26, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0xfffc>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 0, 0, 54, b'\x05\xb4\x00', 0, 175, 17, 223, 5, 0, 0, 21]
[2021-01-10 16:10:54][DEBUG] : [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [180, <Bool.false: 0>]
[2021-01-10 16:10:54][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, ep: 0, profile: 0x0000, cluster_id: 0x0036, data: b'05b400'
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x0e1f000700a600
[2021-01-10 16:10:54][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
[2021-01-10 16:10:54][DEBUG] : Command Command.aps_data_confirm (0,)
[2021-01-10 16:10:54][DEBUG] : Send: 0x041f0007000000
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x041f0012000b00220601fcff00e100000000
[2021-01-10 16:10:54][DEBUG] : APS data confirm response for request with id 6: e1
[2021-01-10 16:10:54][DEBUG] : Request id: 0x06 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.GROUP address=0xfffc endpoint=None>, status: 0xe1
[2021-01-10 16:10:54][DEBUG] : Error while sending 6 req id broadcast: TXStatus.MAC_CHANNEL_ACCESS_FAILURE
[2021-01-10 16:10:54][DEBUG] : Command Command.write_parameter (2, <NetworkParameter.permit_join: 33>, b'\xb4')
[2021-01-10 16:10:54][DEBUG] : Send: 0x0b20000900020021b4
[2021-01-10 16:10:54][DEBUG] : Frame received: 0x0b20000800010021
[2021-01-10 16:10:54][DEBUG] : Write parameter permit_join: SUCCESS
[2021-01-10 16:10:54][INFO] : 200 PUT /application/include (127.0.0.1) 137.72ms
[2021-01-10 16:11:06][DEBUG] : Command Command.write_parameter (5, <NetworkParameter.watchdog_ttl: 38>, b'X\x02\x00\x00')
[2021-01-10 16:11:06][DEBUG] : Send: 0x0b21000c0005002658020000
[2021-01-10 16:11:06][DEBUG] : Frame received: 0x0b21000800010026
[2021-01-10 16:11:06][DEBUG] : Write parameter watchdog_ttl: SUCCESS
[2021-01-10 16:13:36][DEBUG] : Tries remaining: 3
[2021-01-10 16:13:36][DEBUG] : Sending Zigbee request with tsn 7 under 8 request id, data: b'0700'
[2021-01-10 16:13:36][DEBUG] : Command Command.aps_data_request (17, 8, 0, <DeconzAddressEndpoint address_mode=2 address=0x0000 endpoint=0>, 0, <ZDOCmd.Mgmt_Lqi_req: 0x0031>, 0, b'\x07\x00', 2, 0)
[2021-01-10 16:13:36][DEBUG] : Send: 0x122200180011000800020000000000310000020007000200
[2021-01-10 16:13:36][DEBUG] : Frame received: 0x122200090002002208
[2021-01-10 16:13:36][DEBUG] : APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 8]
[2021-01-10 16:13:36][DEBUG] : Frame received: 0x0e23000700ae00
[2021-01-10 16:13:36][DEBUG] : Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|APSDE_DATA_CONFIRM|2: 174>, 0]
[2021-01-10 16:13:36][DEBUG] : Command Command.aps_data_indication (1, 1)
[2021-01-10 16:13:36][DEBUG] : Send: 0x1723000800010001
[2021-01-10 16:13:36][DEBUG] : Frame received: 0x17230023001c00260200000002000000000031800500070000000000af11eb05000015
[2021-01-10 16:13:36][DEBUG] : APS data indication response: [28, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 38>, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 0, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 0, 0, 32817, b'\x07\x00\x00\x00\x00', 0, 175, 17, 235, 5, 0, 0, 21]
[2021-01-10 16:13:36][DEBUG] : 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, ep: 0, profile: 0x0000, cluster_id: 0x8031, data: b'0700000000'
[2021-01-10 16:13:36][DEBUG] : Command Command.aps_data_confirm (0,)
[2021-01-10 16:13:36][DEBUG] : Send: 0x04240007000000
[2021-01-10 16:13:36][DEBUG] : Frame received: 0x04240013000c00220802000000000000000000
[2021-01-10 16:13:36][DEBUG] : APS data confirm response for request with id 8: 00
[2021-01-10 16:13:36][DEBUG] : Request id: 0x08 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.NWK address=0x0000 endpoint=0>, status: 0x00
[2021-01-10 16:13:36][DEBUG] : [0x0000] request status: Status.SUCCESS. response: Neighbors(entries=0, start_index=0, neighbor_table_list=[])
[2021-01-10 16:13:36][DEBUG] : [0x0000] Done scanning. Total 0 neighbours
[2021-01-10 16:13:36][DEBUG] : executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7fa82339d0>, 'DELETE FROM neighbors WHERE device_ieee = ?', (00:21:2e:ff:ff:06:94:8e,))
[2021-01-10 16:13:36][DEBUG] : returning <sqlite3.Cursor object at 0x7fa8226b90>
[2021-01-10 16:13:36][DEBUG] : executing functools.partial(<built-in method executemany of sqlite3.Connection object at 0x7fa82339d0>, 'INSERT INTO neighbors VALUES (?, ?, ?, ?, ?, ?, ?, ?)', [])
[2021-01-10 16:13:36][DEBUG] : returning <sqlite3.Cursor object at 0x7fa8226c70>
[2021-01-10 16:13:36][DEBUG] : executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7fa82339d0>)
[2021-01-10 16:13:36][DEBUG] : returning None

Le contrôleur n’est pas Deconz mais ConBee2.