[2022-10-25 09:35:17][DEBUG] : Sending: b'237321a9ce2a7d3a10827e' [2022-10-25 09:35:17][INFO] : [00:12:4b:00:23:44:56:f0][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [b4:e3:f9:ff:fe:09:06:c8][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:07:00:21:fd][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [2c:11:65:ff:fe:66:1c:5d][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:24:bd:6c:96][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:02:15:09:cb][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:07:f8:09:6f][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [a4:c1:38:47:9d:c2:66:da][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [cc:86:ec:ff:fe:fa:8d:79][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:25:20:8b:14][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:07:e2:4e:5a][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [0c:43:14:ff:fe:82:8f:e5][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:25:1a:19:fb][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:23:42:f9:a1][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:23:42:8e:3d][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:23:96:fa:f8][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:24:bd:ab:88][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:24:bd:6d:90][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:12:4b:00:22:ff:12:5b][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:08:32:1d:db][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [00:15:8d:00:08:05:e3:0d][listener.device_initialized] new=False [2022-10-25 09:35:17][INFO] : [start_zigbee] Init and start http server : {'database_path': '/var/www/html/plugins/zigbee/data/1/network_ezsp.db', 'device': {'path': '/dev/ttyUSB0', 'baudrate': 115200}, 'network': {'channel': 15}, 'ota': {'otau_directory': '/var/www/html/plugins/zigbee/data/ota', 'ikea_provider': True, 'ikea_update_url': 'http://fw.ota.homesmart.ikea.net/feed/version_info.json', 'ledvance_provider': True}, 'ezsp': {'CONFIG_APS_UNICAST_MESSAGE_COUNT': 12, 'CONFIG_SOURCE_ROUTE_TABLE_SIZE': 16, 'CONFIG_ADDRESS_TABLE_SIZE': 8}} [2022-10-25 09:35:17][DEBUG] : Data frame: b'3373a1a9ce2a15f4c67e' [2022-10-25 09:35:17][DEBUG] : Sending: b'8430fc7e' [2022-10-25 09:35:17][DEBUG] : Data frame: b'4373b5a9592a12b24c0e7e' [2022-10-25 09:35:17][DEBUG] : Sending: b'8520dd7e' [2022-10-25 09:35:17][DEBUG] : Data frame: b'5373b1a94d2a8e135e7e' [2022-10-25 09:35:17][DEBUG] : Sending: b'8610be7e' [2022-10-25 09:35:17][INFO] : [start_zigbee] Start zigbee network [2022-10-25 09:35:17][DEBUG] : Application frame 154 (setRadioChannel) received: b'00' [2022-10-25 09:35:17][DEBUG] : Application frame 13 (stackTokenChangedHandler) received: b'0700' [2022-10-25 09:35:17][DEBUG] : Received stackTokenChangedHandler frame with [7] [2022-10-25 09:35:17][DEBUG] : Application frame 25 (stackStatusHandler) received: b'9b' [2022-10-25 09:35:17][DEBUG] : Received stackStatusHandler frame with [] [2022-10-25 09:35:20][DEBUG] : Data frame: b'6373b1a9112a15b658964d24ab5593499c84eb64a7f79874f1ce4383fc7e1a43e6cdde6f8fe6a87e' [2022-10-25 09:35:20][DEBUG] : Sending: b'87009f7e' [2022-10-25 09:35:20][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010207010100010000cacccf4a39ffff0c08200a000025e40d00000000' [2022-10-25 09:35:20][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=202), 204, -49, 0x394a, 255, 255, b'\x08 \x00\x00%\xe4 \x00\x00\x00\x00'] [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Received ZCL frame: b'\x08 \x00\x00%\xe4 \x00\x00\x00\x00' [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=32, command_id=10, *is_reply=True) [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=3556))]) [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Received command 0x0A (TSN 32): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=3556))]) [2022-10-25 09:35:20][INFO] : [cc:86:ec:ff:fe:fa:8d:79][listener.general_command] Cluster: cluster_id: 0x0702 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=32, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=3556))]),) [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Attribute report received: current_summ_delivered=3556 [2022-10-25 09:35:20][INFO] : [cc:86:ec:ff:fe:fa:8d:79][listener.attribute_updated] Received an attribute update 0=3556 on cluster 1794 [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=32, command_id=, *is_reply=True) [2022-10-25 09:35:20][DEBUG] : [0x394A:1:0x0702] Sending reply: Default_Response(command_id=10, status=) [2022-10-25 09:35:20][DEBUG] : Send command sendUnicast: (, 0x394A, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=32), 1, b'\x18 \x0b \x00') [2022-10-25 09:35:20][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (cc:86:ec:ff:fe:fa:8d:79, 1, 1794, 0, 3556)) [2022-10-25 09:35:20][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (cc:86:ec:ff:fe:fa:8d:79, 1, 1794, 0, 3556)) completed [2022-10-25 09:35:20][DEBUG] : Sending: b'377021a9602a15f860904b27ad5493099d4e278beccb7fabf6cc6399367e' [2022-10-25 09:35:20][DEBUG] : executing functools.partial() [2022-10-25 09:35:20][DEBUG] : operation functools.partial() completed [2022-10-25 09:35:21][DEBUG] : Data frame: b'7470a1a9602a15c980987e' [2022-10-25 09:35:21][DEBUG] : Sending: b'8070787e' [2022-10-25 09:35:21][DEBUG] : Application frame 52 (sendUnicast) received: b'007b' [2022-10-25 09:35:21][INFO] : Send to jeedom : {'devices': {'cc:86:ec:ff:fe:fa:8d:79': {'1': {'1794': {'0': {'value': '3556', 'cluster_name': 'TuyaZBMeteringCluster'}}}}}} [2022-10-25 09:35:21][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:35:21][DEBUG] : Data frame: b'0470b1a96b2a15f860904b27ad5493099d4e27d0ecce67bcd17e' [2022-10-25 09:35:21][DEBUG] : Sending: b'8160597e' [2022-10-25 09:35:21][DEBUG] : Application frame 63 (messageSentHandler) received: b'004a39040102070101400100007b010000' [2022-10-25 09:35:21][DEBUG] : Received messageSentHandler frame with [, 14666, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=123), 1, , b''] [2022-10-25 09:35:21][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:35:24][DEBUG] : Data frame: b'1470b1a9112a15b658944a24ab1593499c58eb64f33c9874fade6283fd7e1fe4a2227e' [2022-10-25 09:35:24][DEBUG] : Sending: b'82503a7e' [2022-10-25 09:35:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001014001000016cccf1ef2ffff0718010a01002043' [2022-10-25 09:35:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=22), 204, -49, 0xf21e, 255, 255, b'\x18\x01 \x01\x00 C'] [2022-10-25 09:35:24][DEBUG] : [0xF21E:1:0x0000] Received ZCL frame: b'\x18\x01 \x01\x00 C' [2022-10-25 09:35:24][DEBUG] : [0xF21E:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=1, command_id=10, *is_reply=True) [2022-10-25 09:35:24][DEBUG] : [0xF21E:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=67))]) [2022-10-25 09:35:24][DEBUG] : [0xF21E:1:0x0000] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=67))]) [2022-10-25 09:35:24][INFO] : [2c:11:65:ff:fe:66:1c:5d][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=1, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=67))]),) [2022-10-25 09:35:24][DEBUG] : [0xF21E:1:0x0000] Attribute report received: app_version=67 [2022-10-25 09:35:24][INFO] : [2c:11:65:ff:fe:66:1c:5d][listener.attribute_updated] Received an attribute update 1=67 on cluster 0 [2022-10-25 09:35:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (2c:11:65:ff:fe:66:1c:5d, 1, 0, 1, 67)) [2022-10-25 09:35:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (2c:11:65:ff:fe:66:1c:5d, 1, 0, 1, 67)) completed [2022-10-25 09:35:24][DEBUG] : executing functools.partial() [2022-10-25 09:35:24][DEBUG] : operation functools.partial() completed [2022-10-25 09:35:25][INFO] : Send to jeedom : {'devices': {'2c:11:65:ff:fe:66:1c:5d': {'1': {'0': {'1': {'value': '67', 'cluster_name': 'Basic'}}}}}} [2022-10-25 09:35:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:35:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:35:27][DEBUG] : Send command readCounters: () [2022-10-25 09:35:27][DEBUG] : Sending: b'427121a9a52a5dc37e' [2022-10-25 09:35:27][DEBUG] : Data frame: b'2571a1a9a52a1db25a944e25a85592499c4e27abedce658bfcc66389fc7e3fa7e3cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048246be57e' [2022-10-25 09:35:27][DEBUG] : Sending: b'83401b7e' [2022-10-25 09:35:27][DEBUG] : Application frame 241 (readCounters) received: b'08000300040002000000000000000000020001000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:35:27][DEBUG] : Send command getValue: (,) [2022-10-25 09:35:27][DEBUG] : Sending: b'537621a9fe2a16d3cb7e' [2022-10-25 09:35:27][DEBUG] : Data frame: b'3676a1a9fe2a15b3a39bc47e' [2022-10-25 09:35:27][DEBUG] : Sending: b'8430fc7e' [2022-10-25 09:35:27][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:35:27][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:35:27][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 8, MAC_TX_BROADCAST = 3, MAC_RX_UNICAST = 4, MAC_TX_UNICAST_SUCCESS = 2, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 0, APS_DATA_TX_BROADCAST = 0, APS_DATA_RX_UNICAST = 2, APS_DATA_TX_UNICAST_SUCCESS = 1, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:35:33][DEBUG] : Data frame: b'4676b1a9112a10b2598b4a25aa5592499c4ed8abedce9874f7476252e14c37a766d8de73567e' [2022-10-25 09:35:33][DEBUG] : Sending: b'8520dd7e' [2022-10-25 09:35:33][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0500001f0000000000000000ff000000ffff0a8101db1d3208008d1500' [2022-10-25 09:35:33][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=31, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=0), 255, 0, 0x0000, 255, 255, b'\x81\x01\xdb\x1d2\x08\x00\x8d\x15\x00'] [2022-10-25 09:35:33][DEBUG] : [0x0000:zdo] ZDO request ZDOCmd.Parent_annce: [[00:15:8d:00:08:32:1d:db]] [2022-10-25 09:35:33][DEBUG] : [0x0000:zdo] No handler for ZDO request:ZDOCmd.Parent_annce([[00:15:8d:00:08:32:1d:db]]) [2022-10-25 09:35:34][DEBUG] : Data frame: b'5676b1a96b2a134ea6944a3aaa5592499c4e27ab12ce6741bc7e' [2022-10-25 09:35:34][DEBUG] : Sending: b'8610be7e' [2022-10-25 09:35:34][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fcff00001f0000000000000000ff0000' [2022-10-25 09:35:34][DEBUG] : Received messageSentHandler frame with [, 65532, EmberApsFrame(profileId=0, clusterId=31, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=0), 255, , b''] [2022-10-25 09:35:34][DEBUG] : Unexpected message send notification tag: 255 [2022-10-25 09:35:37][DEBUG] : Send command readCounters: () [2022-10-25 09:35:37][DEBUG] : Data frame: b'6777a1a9a52a1eb25e944e25a85592499c4e26abecce658bfcc66389fc7e3fa7e3cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824ec747e' [2022-10-25 09:35:37][DEBUG] : Sending: b'87009f7e' [2022-10-25 09:35:37][DEBUG] : Application frame 241 (readCounters) received: b'0b000700040002000000000001000100020001000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:35:37][DEBUG] : Send command getValue: (,) [2022-10-25 09:35:37][DEBUG] : Sending: b'777421a9fe2a16f7bb7e' [2022-10-25 09:35:37][DEBUG] : Data frame: b'7074a1a9fe2a15b3a311337e' [2022-10-25 09:35:37][DEBUG] : Sending: b'8070787e' [2022-10-25 09:35:37][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:35:37][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:35:37][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 11, MAC_TX_BROADCAST = 7, MAC_RX_UNICAST = 4, MAC_TX_UNICAST_SUCCESS = 2, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 2, APS_DATA_TX_UNICAST_SUCCESS = 1, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:35:47][DEBUG] : Send command readCounters: () [2022-10-25 09:35:47][DEBUG] : Sending: b'007521a9a52a35957e' [2022-10-25 09:35:47][DEBUG] : Data frame: b'0175a1a9a52a1bb251944e25a85592499c4e26abecce658bfcc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482416f67e' [2022-10-25 09:35:47][DEBUG] : Sending: b'8160597e' [2022-10-25 09:35:47][DEBUG] : Application frame 241 (readCounters) received: b'0e000800040002000000000001000100020001000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:35:47][DEBUG] : Send command getValue: (,) [2022-10-25 09:35:47][DEBUG] : Sending: b'7d317a21a9fe2a1665277e' [2022-10-25 09:35:47][DEBUG] : Data frame: b'127aa1a9fe2a15b3a3b1607e' [2022-10-25 09:35:47][DEBUG] : Sending: b'82503a7e' [2022-10-25 09:35:47][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:35:47][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:35:47][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 14, MAC_TX_BROADCAST = 8, MAC_RX_UNICAST = 4, MAC_TX_UNICAST_SUCCESS = 2, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 2, APS_DATA_TX_UNICAST_SUCCESS = 1, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:35:50][DEBUG] : Data frame: b'227ab1a9112a15b658944e24ab5593499c69fb7810789874f5de1f83fc7e1ea7ebdee17e' [2022-10-25 09:35:50][DEBUG] : Sending: b'83401b7e' [2022-10-25 09:35:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000401010001000027dcd3fdb6ffff08187c0a0000210000' [2022-10-25 09:35:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=39), 220, -45, 0xb6fd, 255, 255, b'\x18| \x00\x00!\x00\x00'] [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0400] Received ZCL frame: b'\x18| \x00\x00!\x00\x00' [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=124, command_id=10, *is_reply=True) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0400] Decoded ZCL frame: IlluminanceMeasurementCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=0))]) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0400] Received command 0x0A (TSN 124): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=0))]) [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.general_command] Cluster: cluster_id: 0x0400 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=124, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=0))]),) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0400] Attribute report received: measured_value=0 [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=0 on cluster 1024 [2022-10-25 09:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 0)) [2022-10-25 09:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 0)) completed [2022-10-25 09:35:50][DEBUG] : executing functools.partial() [2022-10-25 09:35:50][DEBUG] : operation functools.partial() completed [2022-10-25 09:35:50][DEBUG] : Data frame: b'327ab1a9112a15b658924e24ab5593499c66ff7910789874fade1e83fc7e27a678527e' [2022-10-25 09:35:50][DEBUG] : Sending: b'8430fc7e' [2022-10-25 09:35:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000028d8d2fdb6ffff07187d0a00001801' [2022-10-25 09:35:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=40), 216, -46, 0xb6fd, 255, 255, b'\x18} \x00\x00\x18\x01'] [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0406] Received ZCL frame: b'\x18} \x00\x00\x18\x01' [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=125, command_id=10, *is_reply=True) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0406] Received command 0x0A (TSN 125): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=125, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-10-25 09:35:50][DEBUG] : [0xB6FD:1:0x0406] Attribute report received: occupancy= [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-10-25 09:35:50][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:08:05:e3:0d': {'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'}}}}}}} [2022-10-25 09:35:50][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-10-25 09:35:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:35:50][DEBUG] : 00:15:8d:00:08:05:e3:0d - Received motion event message [2022-10-25 09:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1030, 0, )) [2022-10-25 09:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1030, 0, )) completed [2022-10-25 09:35:50][DEBUG] : executing functools.partial() [2022-10-25 09:35:50][DEBUG] : operation functools.partial() completed [2022-10-25 09:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1280, 0, 1)) [2022-10-25 09:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1280, 0, 1)) completed [2022-10-25 09:35:50][DEBUG] : executing functools.partial() [2022-10-25 09:35:50][DEBUG] : operation functools.partial() completed [2022-10-25 09:35:50][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:08:05:e3:0d': {'1': {'1024': {'0': {'value': '0', 'cluster_name': 'Illuminance Measurement'}}, '1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-10-25 09:35:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:35:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:35:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:35:57][DEBUG] : Send command readCounters: () [2022-10-25 09:35:57][DEBUG] : Sending: b'247b21a9a52ac9947e' [2022-10-25 09:35:57][DEBUG] : Data frame: b'437ba1a9a52a00b251944c25a85592499c4e26abecce638bfcc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048246fba7e' [2022-10-25 09:35:57][DEBUG] : Sending: b'8520dd7e' [2022-10-25 09:35:57][DEBUG] : Application frame 241 (readCounters) received: b'15000800060002000000000001000100040001000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:35:57][DEBUG] : Send command getValue: (,) [2022-10-25 09:35:57][DEBUG] : Sending: b'357821a9fe2a1641577e' [2022-10-25 09:35:57][DEBUG] : Data frame: b'5478a1a9fe2a15b3a33b977e' [2022-10-25 09:35:57][DEBUG] : Sending: b'8610be7e' [2022-10-25 09:35:57][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:35:57][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:35:57][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 21, MAC_TX_BROADCAST = 8, MAC_RX_UNICAST = 6, MAC_TX_UNICAST_SUCCESS = 2, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 4, APS_DATA_TX_UNICAST_SUCCESS = 1, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:07][DEBUG] : Send command readCounters: () [2022-10-25 09:36:07][DEBUG] : Sending: b'467921a9a52a594f7e' [2022-10-25 09:36:07][DEBUG] : Data frame: b'6579a1a9a52a02b250944c25a85592499c4e26abecce638bfcc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048248e497e' [2022-10-25 09:36:07][DEBUG] : Sending: b'87009f7e' [2022-10-25 09:36:07][DEBUG] : Application frame 241 (readCounters) received: b'17000900060002000000000001000100040001000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:07][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:07][DEBUG] : Sending: b'577d5e21a9fe2a161f4f7e' [2022-10-25 09:36:07][DEBUG] : Data frame: b'767ea1a9fe2a15b3a3dac77e' [2022-10-25 09:36:07][DEBUG] : Sending: b'8070787e' [2022-10-25 09:36:07][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:07][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:07][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 23, MAC_TX_BROADCAST = 9, MAC_RX_UNICAST = 6, MAC_TX_UNICAST_SUCCESS = 2, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 4, APS_DATA_TX_UNICAST_SUCCESS = 1, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:15][DEBUG] : Data frame: b'067eb1a9112a15b658944a24ab1593499cdfbb680d029874fade1483fd7e1fe754ac7e' [2022-10-25 09:36:15][DEBUG] : Sending: b'8160597e' [2022-10-25 09:36:15][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000919cc3e0ccffff0718770a01002040' [2022-10-25 09:36:15][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=145), 156, -61, 0xcce0, 255, 255, b'\x18w \x01\x00 @'] [2022-10-25 09:36:15][DEBUG] : [0xCCE0:1:0x0000] Received ZCL frame: b'\x18w \x01\x00 @' [2022-10-25 09:36:15][DEBUG] : [0xCCE0:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=119, command_id=10, *is_reply=True) [2022-10-25 09:36:15][DEBUG] : [0xCCE0:1:0x0000] Decoded ZCL frame: Basic:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=64))]) [2022-10-25 09:36:15][DEBUG] : [0xCCE0:1:0x0000] Received command 0x0A (TSN 119): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=64))]) [2022-10-25 09:36:15][INFO] : [b4:e3:f9:ff:fe:09:06:c8][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=119, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=64))]),) [2022-10-25 09:36:15][DEBUG] : [0xCCE0:1:0x0000] Attribute report received: app_version=64 [2022-10-25 09:36:15][INFO] : [b4:e3:f9:ff:fe:09:06:c8][listener.attribute_updated] Received an attribute update 1=64 on cluster 0 [2022-10-25 09:36:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (b4:e3:f9:ff:fe:09:06:c8, 1, 0, 1, 64)) [2022-10-25 09:36:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (b4:e3:f9:ff:fe:09:06:c8, 1, 0, 1, 64)) completed [2022-10-25 09:36:15][DEBUG] : executing functools.partial() [2022-10-25 09:36:15][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:15][DEBUG] : Data frame: b'167eb1a9112a15b658964d24ab5593499c35ef6561719874f1ce2e83fc7e1aebf9cdde6f8f2fc17e' [2022-10-25 09:36:15][DEBUG] : Sending: b'82503a7e' [2022-10-25 09:36:15][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040102070101000100007bc8ce8cbfffff0c084d0a0000254c1200000000' [2022-10-25 09:36:15][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=123), 200, -50, 0xbf8c, 255, 255, b'\x08M \x00\x00%L\x12\x00\x00\x00\x00'] [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Received ZCL frame: b'\x08M \x00\x00%L\x12\x00\x00\x00\x00' [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=10, *is_reply=True) [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Decoded ZCL frame: TuyaZBMeteringCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=4684))]) [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Received command 0x0A (TSN 77): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=4684))]) [2022-10-25 09:36:15][INFO] : [cc:86:ec:ff:fe:fa:89:2d][listener.general_command] Cluster: cluster_id: 0x0702 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint48_t, value=4684))]),) [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Attribute report received: current_summ_delivered=4684 [2022-10-25 09:36:15][INFO] : [cc:86:ec:ff:fe:fa:89:2d][listener.attribute_updated] Received an attribute update 0=4684 on cluster 1794 [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=77, command_id=, *is_reply=True) [2022-10-25 09:36:15][DEBUG] : [0xBF8C:1:0x0702] Sending reply: Default_Response(command_id=10, status=) [2022-10-25 09:36:15][DEBUG] : Send command sendUnicast: (, 0xBF8C, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=77), 2, b'\x18M\x0b \x00') [2022-10-25 09:36:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (cc:86:ec:ff:fe:fa:89:2d, 1, 1794, 0, 4684)) [2022-10-25 09:36:15][DEBUG] : Sending: b'627f21a9602a153ee6904b27ad5493099d4e27e6efcb7fc6f6cc63afba7e' [2022-10-25 09:36:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (cc:86:ec:ff:fe:fa:89:2d, 1, 1794, 0, 4684)) completed [2022-10-25 09:36:15][DEBUG] : executing functools.partial() [2022-10-25 09:36:15][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:15][DEBUG] : Data frame: b'277fa1a9602a15ce79877e' [2022-10-25 09:36:15][DEBUG] : Sending: b'83401b7e' [2022-10-25 09:36:15][DEBUG] : Application frame 52 (sendUnicast) received: b'007c' [2022-10-25 09:36:15][INFO] : Send to jeedom : {'devices': {'b4:e3:f9:ff:fe:09:06:c8': {'1': {'0': {'1': {'value': '64', 'cluster_name': 'Basic'}}}}, 'cc:86:ec:ff:fe:fa:89:2d': {'1': {'1794': {'0': {'value': '4684', 'cluster_name': 'TuyaZBMeteringCluster'}}}}}} [2022-10-25 09:36:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:36:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:36:17][DEBUG] : Send command readCounters: () [2022-10-25 09:36:17][DEBUG] : Sending: b'747c21a9a52aded47e' [2022-10-25 09:36:17][DEBUG] : Data frame: b'407ca1a9a52a09b253944325ae5592499c4e26abecce618bffc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824f78c7e' [2022-10-25 09:36:17][DEBUG] : Sending: b'8520dd7e' [2022-10-25 09:36:17][DEBUG] : Application frame 241 (readCounters) received: b'1c000a00090004000000000001000100060002000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:17][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:17][DEBUG] : Sending: b'057d5d21a9fe2a165bdb7e' [2022-10-25 09:36:17][DEBUG] : Data frame: b'517da1a9fe2a15b3a304e57e' [2022-10-25 09:36:17][DEBUG] : Sending: b'8610be7e' [2022-10-25 09:36:17][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:17][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:17][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 28, MAC_TX_BROADCAST = 10, MAC_RX_UNICAST = 9, MAC_TX_UNICAST_SUCCESS = 4, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 6, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:27][DEBUG] : Send command readCounters: () [2022-10-25 09:36:27][DEBUG] : Sending: b'160221a9a52ad8a27e' [2022-10-25 09:36:27][DEBUG] : Data frame: b'6202a1a9a52a36b253944325ae5592499c4e26abecce618bffc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482438b97e' [2022-10-25 09:36:27][DEBUG] : Sending: b'87009f7e' [2022-10-25 09:36:27][DEBUG] : Application frame 241 (readCounters) received: b'23000a00090004000000000001000100060002000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:27][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:27][DEBUG] : Sending: b'270321a9fe2a1690f17e' [2022-10-25 09:36:27][DEBUG] : Data frame: b'7303a1a9fe2a15b3a34b637e' [2022-10-25 09:36:27][DEBUG] : Sending: b'8070787e' [2022-10-25 09:36:27][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:27][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:27][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 35, MAC_TX_BROADCAST = 10, MAC_RX_UNICAST = 9, MAC_TX_UNICAST_SUCCESS = 4, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 6, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:37][DEBUG] : Send command readCounters: () [2022-10-25 09:36:37][DEBUG] : Sending: b'300021a9a52a24c87e' [2022-10-25 09:36:37][DEBUG] : Data frame: b'0400a1a9a52a33b252944325ae5592499c4e26abecce618bffc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482488957e' [2022-10-25 09:36:37][DEBUG] : Sending: b'8160597e' [2022-10-25 09:36:37][DEBUG] : Application frame 241 (readCounters) received: b'26000b00090004000000000001000100060002000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:37][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:37][DEBUG] : Sending: b'410121a9fe2a16098e7e' [2022-10-25 09:36:37][DEBUG] : Data frame: b'1501a1a9fe2a15b3a366687e' [2022-10-25 09:36:37][DEBUG] : Sending: b'82503a7e' [2022-10-25 09:36:37][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:37][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:37][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 38, MAC_TX_BROADCAST = 11, MAC_RX_UNICAST = 9, MAC_TX_UNICAST_SUCCESS = 4, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 6, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:47][DEBUG] : Send command readCounters: () [2022-10-25 09:36:47][DEBUG] : Sending: b'520621a9a52a3d157e' [2022-10-25 09:36:47][DEBUG] : Data frame: b'2606a1a9a52a3fb252944325ae5592499c4e26abecce618bffc66389fc7e3fa7e2cdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482470377e' [2022-10-25 09:36:47][DEBUG] : Sending: b'83401b7e' [2022-10-25 09:36:47][DEBUG] : Application frame 241 (readCounters) received: b'2a000b00090004000000000001000100060002000000000000000900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:47][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:47][DEBUG] : Sending: b'630721a9fe2a168a7a7e' [2022-10-25 09:36:47][DEBUG] : Data frame: b'3707a1a9fe2a15b3a387387e' [2022-10-25 09:36:47][DEBUG] : Sending: b'8430fc7e' [2022-10-25 09:36:47][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:47][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:47][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 42, MAC_TX_BROADCAST = 11, MAC_RX_UNICAST = 9, MAC_TX_UNICAST_SUCCESS = 4, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 6, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 0, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250] [2022-10-25 09:36:54][DEBUG] : Data frame: b'4707b1a9112a15b658944a24ab5593499c67ff7910789874d7da3c9882743e58a9ecdf4e5ef4c4f3cdd64824552688fa763d81e5758741984607f3e5846038172f0fbbe3727e' [2022-10-25 09:36:54][DEBUG] : Sending: b'8520dd7e' [2022-10-25 09:36:54][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001010001000029d8d2fdb6ffff2a1c5f117e0a01ff42210121d10b0328180421a8130521160006240f000500000a21e0546410000b210800' [2022-10-25 09:36:54][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=41), 216, -46, 0xb6fd, 255, 255, b'\x1c_\x11~ \x01\xffB!\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00'] [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0000] Received ZCL frame: b'\x1c_\x11~ \x01\xffA!\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00' [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), manufacturer=4447, tsn=126, command_id=10, *is_reply=True) [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00'))]) [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0000] Received command 0x0A (TSN 126): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00'))]) [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), manufacturer=4447, tsn=126, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00'))]),) [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0000] Attribute report received: 0xFF01=b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00' [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 65281=b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00' on cluster 0 [2022-10-25 09:36:54][DEBUG] : 00:15:8d:00:08:05:e3:0d - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 3025, 'temperature': 24, 'X-attrib-4': 5032, 'X-attrib-5': 22, 'X-attrib-6': 327695, 'path': 21728, '0xff01-100': , 'illuminance_measurement': 8}] [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 32=30.2 on cluster 1 [2022-10-25 09:36:54][DEBUG] : [0xB6FD:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3025 < [Max]:3100, Battery Percent: 73.0 [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 33=146 on cluster 1 [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=9031.899869919436 on cluster 1024 [2022-10-25 09:36:54][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=2400 on cluster 2 [2022-10-25 09:36:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 0, 65281, b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00')) [2022-10-25 09:36:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 0, 65281, b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00')) completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial() [2022-10-25 09:36:54][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1, 32, 30.2)) [2022-10-25 09:36:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1, 32, 30.2)) completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial() [2022-10-25 09:36:54][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1, 33, 146)) [2022-10-25 09:36:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1, 33, 146)) completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial() [2022-10-25 09:36:54][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 9031.899869919436)) [2022-10-25 09:36:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 9031.899869919436)) completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial() [2022-10-25 09:36:54][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 2, 0, 2400)) [2022-10-25 09:36:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 2, 0, 2400)) completed [2022-10-25 09:36:54][DEBUG] : executing functools.partial() [2022-10-25 09:36:54][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:54][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:08:05:e3:0d': {'1': {'0': {'65281': {'value': "b'\x01!\xd1\x0b\x03(\x18\x04!\xa8\x13\x05!\x16\x00\x06$\x0f\x00\x05\x00\x00 !\xe0Td\x10\x00\x0b!\x08\x00'", 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '30.2', 'cluster_name': 'Power Configuration'}, '33': {'value': '146', 'cluster_name': 'Power Configuration'}}, '1024': {'0': {'value': '9031.899869919436', 'cluster_name': 'Illuminance Measurement'}}, '2': {'0': {'value': '2400', 'cluster_name': 'Device Temperature'}}}}}} [2022-10-25 09:36:54][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:36:54][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:36:56][DEBUG] : Data frame: b'5707b1a9112a15b658944e24ab5593499c64ff7910789874f5de1c83fc7e1ea0ebe2f77e' [2022-10-25 09:36:56][DEBUG] : Sending: b'8610be7e' [2022-10-25 09:36:56][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040100040101000100002ad8d2fdb6ffff08187f0a0000210700' [2022-10-25 09:36:56][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=42), 216, -46, 0xb6fd, 255, 255, b'\x18\x7f \x00\x00!\x07\x00'] [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0400] Received ZCL frame: b'\x18\x7f \x00\x00!\x07\x00' [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=127, command_id=10, *is_reply=True) [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0400] Decoded ZCL frame: IlluminanceMeasurementCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=7))]) [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0400] Received command 0x0A (TSN 127): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=7))]) [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.general_command] Cluster: cluster_id: 0x0400 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=127, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=7))]),) [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0400] Attribute report received: measured_value=7 [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=8451.980400142567 on cluster 1024 [2022-10-25 09:36:56][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 8451.980400142567)) [2022-10-25 09:36:56][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1024, 0, 8451.980400142567)) completed [2022-10-25 09:36:56][DEBUG] : executing functools.partial() [2022-10-25 09:36:56][DEBUG] : Data frame: b'6707b1a9112a15b658924e24ab5593499c65ff7910789874fadee383fc7e27a612af7e' [2022-10-25 09:36:56][DEBUG] : Sending: b'87009f7e' [2022-10-25 09:36:56][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040106040101000100002bd8d2fdb6ffff0718800a00001801' [2022-10-25 09:36:56][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=43), 216, -46, 0xb6fd, 255, 255, b'\x18\x80 \x00\x00\x18\x01'] [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0406] Received ZCL frame: b'\x18\x80 \x00\x00\x18\x01' [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=1, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=128, command_id=10, *is_reply=True) [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0406] Received command 0x0A (TSN 128): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, is_reply=False, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=128, command_id=10, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-10-25 09:36:56][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:56][DEBUG] : [0xB6FD:1:0x0406] Attribute report received: occupancy= [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-10-25 09:36:56][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:08:05:e3:0d': {'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'}}}}}}} [2022-10-25 09:36:56][INFO] : [00:15:8d:00:08:05:e3:0d][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-10-25 09:36:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:36:56][DEBUG] : 00:15:8d:00:08:05:e3:0d - Received motion event message [2022-10-25 09:36:56][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1030, 0, )) [2022-10-25 09:36:56][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1030, 0, )) completed [2022-10-25 09:36:56][DEBUG] : executing functools.partial() [2022-10-25 09:36:56][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:56][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1280, 0, 1)) [2022-10-25 09:36:56][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v7 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', (00:15:8d:00:08:05:e3:0d, 1, 1280, 0, 1)) completed [2022-10-25 09:36:56][DEBUG] : executing functools.partial() [2022-10-25 09:36:56][DEBUG] : operation functools.partial() completed [2022-10-25 09:36:56][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:36:56][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:08:05:e3:0d': {'1': {'1024': {'0': {'value': '8451.980400142567', 'cluster_name': 'Illuminance Measurement'}}, '1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-10-25 09:36:56][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-10-25 09:36:56][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=Wse60kTj2ELASxM9TkVA7V2PLceWyu2Y HTTP/1.1" 200 0 [2022-10-25 09:36:57][DEBUG] : Send command readCounters: () [2022-10-25 09:36:57][DEBUG] : Sending: b'770421a9a52a0f9f7e' [2022-10-25 09:36:57][DEBUG] : Data frame: b'7004a1a9a52a3ab255944625ae5592499c4e26abecce6e8bffc66389fc7e3fa7e2cdde6f8effc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048248ecb7e' [2022-10-25 09:36:57][DEBUG] : Sending: b'8070787e' [2022-10-25 09:36:57][DEBUG] : Application frame 241 (readCounters) received: b'2f000c000c0004000000000001000100090002000000000000000900000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-10-25 09:36:57][DEBUG] : Send command getValue: (,) [2022-10-25 09:36:57][DEBUG] : Sending: b'000521a9fe2a166aa27e' [2022-10-25 09:36:57][DEBUG] : Data frame: b'0105a1a9fe2a15b3a3a6147e' [2022-10-25 09:36:57][DEBUG] : Sending: b'8160597e' [2022-10-25 09:36:57][DEBUG] : Application frame 170 (getValue) received: b'0001fa' [2022-10-25 09:36:57][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 250 [2022-10-25 09:36:57][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 47, MAC_TX_BROADCAST = 12, MAC_RX_UNICAST = 12, MAC_TX_UNICAST_SUCCESS = 4, MAC_TX_UNICAST_RETRY = 0, MAC_TX_UNICAST_FAILED = 0, APS_DATA_RX_BROADCAST = 1, APS_DATA_TX_BROADCAST = 1, APS_DATA_RX_UNICAST = 9, APS_DATA_TX_UNICAST_SUCCESS = 2, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 9, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 1, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 0, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 250]