service: zha_toolkit.bind_ieee
data:
ieee: sensor.frient_a_s_heszb_120_c60e0034_temperature
command_data: 00:15:bc:00:34:00:0e:c6
cluster: 1026
event_done: event_bind_ieee_done
Debug:
2022-11-05 00:28:52.775 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.bind_ieee (c:01GH2FKKH1S74YHHT3B0A9C6FC): ieee=sensor.frient_a_s_heszb_120_c60e0034_temperature, command_data=00:15:bc:00:34:00:0e:c6, cluster=1026, event_done=event_bind_ieee_done>
2022-11-05 00:28:52.840 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2022-11-05 00:28:52.850 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{'ieee': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'command_data': '00:15:bc:00:34:00:0e:c6', 'cluster': 1026, 'event_done': 'event_bind_ieee_done'}'
2022-11-05 00:28:52.851 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf 'None'
2022-11-05 00:28:52.853 DEBUG (MainThread) [custom_components.zha_toolkit.utils] registry_entity RegistryEntry(entity_id='sensor.frient_a_s_heszb_120_c60e0034_temperature', unique_id='00:15:bc:00:34:00:0e:c6-38-1026', platform='zha', area_id=None, capabilities={'state_class': 'measurement'}, config_entry_id='2d4152e6fa4ce563f4d489b2a1e25f63', device_class=None, device_id='dd6a48ecd955081faf1bd0a6cd3ed26c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='b873cc4ca986923b821f255332253200', has_entity_name=True, name=None, options={}, original_device_class='temperature', original_icon=None, original_name='Temperature', supported_features=0, unit_of_measurement='°C')
2022-11-05 00:28:52.854 DEBUG (MainThread) [custom_components.zha_toolkit.utils] registry_device DeviceEntry(area_id='salle_a_manger', config_entries={'2d4152e6fa4ce563f4d489b2a1e25f63'}, configuration_url=None, connections={('zigbee', '00:15:bc:00:34:00:0e:c6')}, disabled_by=None, entry_type=None, hw_version=None, id='dd6a48ecd955081faf1bd0a6cd3ed26c', identifiers={('zha', '00:15:bc:00:34:00:0e:c6')}, manufacturer='frient A/S', model='HESZB-120', name_by_user=None, name='frient A/S HESZB-120', suggested_area=None, sw_version='0x00030419', via_device_id='ec064dca091b839f739bfb5168994c92', is_new=False)
2022-11-05 00:28:52.857 DEBUG (MainThread) [custom_components.zha_toolkit] 'ieee' parameter: 'sensor.frient_a_s_heszb_120_c60e0034_temperature' -> IEEE Addr: '00:15:bc:00:34:00:0e:c6'
2022-11-05 00:28:52.859 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for bind_ieee
2022-11-05 00:28:52.859 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f67354b80>
2022-11-05 00:28:52.859 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.bind_ieee (c:01GH2FKKH1S74YHHT3B0A9C6FC): ieee=sensor.frient_a_s_heszb_120_c60e0034_temperature, command_data=00:15:bc:00:34:00:0e:c6, cluster=1026, event_done=event_bind_ieee_done>
2022-11-05 00:28:52.864 DEBUG (MainThread) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.binds to call bind_ieee
2022-11-05 00:28:52.872 DEBUG (MainThread) [custom_components.zha_toolkit.utils] IEEE for get_device: 00:15:bc:00:34:00:0e:c6
2022-11-05 00:28:52.872 DEBUG (MainThread) [custom_components.zha_toolkit.binds] 0x6dce: got the [] endpoints for 1026 cluster
2022-11-05 00:28:52.873 DEBUG (MainThread) [custom_components.zha_toolkit.binds] 0x6dce: skipping 40204X cluster as non present
2022-11-05 00:28:52.873 DEBUG (MainThread) [custom_components.zha_toolkit.binds] 0x6dce: got the [38] endpoints for 1026 cluster
2022-11-05 00:28:52.876 DEBUG (MainThread) [custom_components.zha_toolkit] event_data {'zha_toolkit_version': 'v0.8.22', 'zigpy_version': '0.51.5', 'zigpy_rf_version': '0.9.1', 'ieee_org': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'ieee': '00:15:bc:00:34:00:0e:c6', 'command': 'bind_ieee', 'command_data': '00:15:bc:00:34:00:0e:c6', 'start_time': '2022-11-04T23:28:52.857464+00:00', 'errors': [], 'params': {'cluster_id': 1026, 'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'event_done': 'event_bind_ieee_done', 'read_before_write': True, 'read_after_write': True}, 'result': {}, 'success': True}
2022-11-05 00:28:52.877 DEBUG (MainThread) [custom_components.zha_toolkit] Fire event_bind_ieee_done -> {'zha_toolkit_version': 'v0.8.22', 'zigpy_version': '0.51.5', 'zigpy_rf_version': '0.9.1', 'ieee_org': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'ieee': '00:15:bc:00:34:00:0e:c6', 'command': 'bind_ieee', 'command_data': '00:15:bc:00:34:00:0e:c6', 'start_time': '2022-11-04T23:28:52.857464+00:00', 'errors': [], 'params': {'cluster_id': 1026, 'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'event_done': 'event_bind_ieee_done', 'read_before_write': True, 'read_after_write': True}, 'result': {}, 'success': True}
service: zha_toolkit.binds_get
data:
ieee: sensor.frient_a_s_heszb_120_c60e0034_temperature
event_done: event_binds_get_done
tries: 5
Debug:
2022-11-05 00:31:42.109 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.binds_get (c:01GH2FRRWMRZ7D28E1HXV745EZ): ieee=sensor.frient_a_s_heszb_120_c60e0034_temperature, event_done=event_binds_get_done>
2022-11-05 00:31:42.185 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2022-11-05 00:31:42.197 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{'ieee': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'event_done': 'event_binds_get_done'}'
2022-11-05 00:31:42.198 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf 'None'
2022-11-05 00:31:42.199 DEBUG (MainThread) [custom_components.zha_toolkit.utils] registry_entity RegistryEntry(entity_id='sensor.frient_a_s_heszb_120_c60e0034_temperature', unique_id='00:15:bc:00:34:00:0e:c6-38-1026', platform='zha', area_id=None, capabilities={'state_class': 'measurement'}, config_entry_id='2d4152e6fa4ce563f4d489b2a1e25f63', device_class=None, device_id='dd6a48ecd955081faf1bd0a6cd3ed26c', disabled_by=None, entity_category=None, hidden_by=None, icon=None, id='b873cc4ca986923b821f255332253200', has_entity_name=True, name=None, options={}, original_device_class='temperature', original_icon=None, original_name='Temperature', supported_features=0, unit_of_measurement='°C')
2022-11-05 00:31:42.201 DEBUG (MainThread) [custom_components.zha_toolkit.utils] registry_device DeviceEntry(area_id='salle_a_manger', config_entries={'2d4152e6fa4ce563f4d489b2a1e25f63'}, configuration_url=None, connections={('zigbee', '00:15:bc:00:34:00:0e:c6')}, disabled_by=None, entry_type=None, hw_version=None, id='dd6a48ecd955081faf1bd0a6cd3ed26c', identifiers={('zha', '00:15:bc:00:34:00:0e:c6')}, manufacturer='frient A/S', model='HESZB-120', name_by_user=None, name='frient A/S HESZB-120', suggested_area=None, sw_version='0x00030419', via_device_id='ec064dca091b839f739bfb5168994c92', is_new=False)
2022-11-05 00:31:42.202 DEBUG (MainThread) [custom_components.zha_toolkit] 'ieee' parameter: 'sensor.frient_a_s_heszb_120_c60e0034_temperature' -> IEEE Addr: '00:15:bc:00:34:00:0e:c6'
2022-11-05 00:31:42.203 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for binds_get
2022-11-05 00:31:42.203 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f64948310>
2022-11-05 00:31:42.204 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.binds_get (c:01GH2FRRWMRZ7D28E1HXV745EZ): ieee=sensor.frient_a_s_heszb_120_c60e0034_temperature, event_done=event_binds_get_done>
2022-11-05 00:31:42.216 DEBUG (MainThread) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.binds to call binds_get
2022-11-05 00:31:46.314 DEBUG (MainThread) [custom_components.zha_toolkit.binds] Bindings for ieee {ieee!r}: {0: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 1, 'cluster_id': '0x0006', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 1: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0001', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 2: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0500', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}}
2022-11-05 00:31:46.314 DEBUG (MainThread) [custom_components.zha_toolkit] event_data {'zha_toolkit_version': 'v0.8.22', 'zigpy_version': '0.51.5', 'zigpy_rf_version': '0.9.1', 'ieee_org': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'ieee': '00:15:bc:00:34:00:0e:c6', 'command': 'binds_get', 'command_data': None, 'start_time': '2022-11-04T23:31:42.202536+00:00', 'errors': [], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'event_done': 'event_binds_get_done', 'read_before_write': True, 'read_after_write': True}, 'replies': [[<Status.SUCCESS: 0>, 4, 0, [Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=1, ClusterId=6, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1)), Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=35, ClusterId=1, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1)), Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=35, ClusterId=1280, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1))]]], 'success': True, 'result': {0: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 1, 'cluster_id': '0x0006', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 1: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0001', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 2: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0500', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}}}
2022-11-05 00:31:46.317 DEBUG (MainThread) [custom_components.zha_toolkit] Fire event_binds_get_done -> {'zha_toolkit_version': 'v0.8.22', 'zigpy_version': '0.51.5', 'zigpy_rf_version': '0.9.1', 'ieee_org': 'sensor.frient_a_s_heszb_120_c60e0034_temperature', 'ieee': '00:15:bc:00:34:00:0e:c6', 'command': 'binds_get', 'command_data': None, 'start_time': '2022-11-04T23:31:42.202536+00:00', 'errors': [], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'event_done': 'event_binds_get_done', 'read_before_write': True, 'read_after_write': True}, 'replies': [[<Status.SUCCESS: 0>, 4, 0, [Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=1, ClusterId=6, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1)), Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=35, ClusterId=1, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1)), Binding(SrcAddress=00:15:bc:00:34:00:0e:c6, SrcEndpoint=35, ClusterId=1280, DstAddress=MultiAddress(addrmode=3, ieee=00:12:4b:00:24:c8:21:d1, endpoint=1))]]], 'success': True, 'result': {0: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 1, 'cluster_id': '0x0006', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 1: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0001', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}, 2: {'src': '00:15:bc:00:34:00:0e:c6', 'src_ep': 35, 'cluster_id': '0x0500', 'dst': {'addrmode': 3, 'dst_ieee': '00:12:4b:00:24:c8:21:d1', 'dst_ep': 1}}}}
J’ai pas l’impression que le binding ce fait. Je vois toujours pas de cluster 1026 avec bind_get.
C’est bien en décimal le cluster et pas en hex a mettre dans la commande bind_ieee ?