[2022-09-01 21:33:35][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:33:35][DEBUG] : Sending: b'563621a92a2a7d335ada954aa8bf5593ae227e' [2022-09-01 21:33:35][DEBUG] : Data frame: b'6636a1a92a2ace487e' [2022-09-01 21:33:35][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:35][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:35][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=25), 26, b"\x19\x06\xe8\x83\x01\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:33:35][DEBUG] : Sending: b'673721a9602a153f08944a04aa5592099d4e27b2f7d87d5e8d15456289716b3fa6ebcddd9ba57d5d3924f22fed8d34807e' [2022-09-01 21:33:35][DEBUG] : Data frame: b'7737a1a9602a1507b4c77e' [2022-09-01 21:33:35][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:35][DEBUG] : Application frame 52 (sendUnicast) received: b'00b5' [2022-09-01 21:33:37][DEBUG] : Data frame: b'0737b1a9772a17b3c205bba8075792c4894e233df27e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:37][DEBUG] : Application frame 35 (childJoinHandler) received: b'02019b91f18dad02008d150004' [2022-09-01 21:33:37][DEBUG] : Received childJoinHandler frame with [2, , 0x919b, 00:15:8d:00:02:ad:8d:f1, ] [2022-09-01 21:33:37][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:33:37][INFO] : [84:fd:27:ff:fe:82:2a:f4][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=27, command_id=, *direction=, *is_reply=False) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][DEBUG] : Send command sendUnicast: (, 0x0000, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=27), 28, b'\x00\x1b\x00\x04\x00\x05\x00') [2022-09-01 21:33:37][DEBUG] : Sending: b'713421a9602a15b259904b25aa5493099d4e27b0f1c96790fdc2638cfcf7cb7e' [2022-09-01 21:33:37][DEBUG] : Data frame: b'1034a1a9602a150416867e' [2022-09-01 21:33:37][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:37][DEBUG] : Application frame 52 (sendUnicast) received: b'00b6' [2022-09-01 21:33:37][DEBUG] : Data frame: b'2034b1a9112a15b658944a24ab1593499cf8d8abedce9874fac67889f87e3aa7cb2f7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:37][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000b6ff000000ffff07001b0004000500' [2022-09-01 21:33:37][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=182), 255, 0, 0x0000, 255, 255, b'\x00\x1b\x00\x04\x00\x05\x00'] [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Received ZCL frame: b'\x00\x1b\x00\x04\x00\x05\x00' [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=27, command_id=0, *direction=, *is_reply=False) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Received command 0x00 (TSN 27): Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][INFO] : [84:fd:27:ff:fe:82:2a:f4][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=27, command_id=0, *direction=, *is_reply=False) args: (Read_Attributes(attribute_ids=[4, 5]),) [2022-09-01 21:33:37][DEBUG] : Data frame: b'3034b1a96b2a15b259904b25aa5493099d4e271df1ce6739f97e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:33:37][DEBUG] : Application frame 63 (messageSentHandler) received: b'00000004010000010140010000b61c0000' [2022-09-01 21:33:37][DEBUG] : Received messageSentHandler frame with [, 0, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=182), 28, , b''] [2022-09-01 21:33:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.562484, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.562484, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial() [2022-09-01 21:33:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.567109, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.567109, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial() [2022-09-01 21:33:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:37][DEBUG] : Data frame: b'4034b1a9702a8e23a819e727aad887499d4e27ab04617e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:33:37][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'9b91f18dad02008d150001000000' [2022-09-01 21:33:37][DEBUG] : Received trustCenterJoinHandler frame with [0x919b, 00:15:8d:00:02:ad:8d:f1, , , 0x0000] [2022-09-01 21:33:37][INFO] : New device 0x919b (00:15:8d:00:02:ad:8d:f1) joined the network [2022-09-01 21:33:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.device_joined] [2022-09-01 21:33:37][INFO] : Send to jeedom : {'device_joined': '00:15:8d:00:02:ad:8d:f1'} [2022-09-01 21:33:37][DEBUG] : [0x919b] Scheduling initialization [2022-09-01 21:33:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:37][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:33:37][DEBUG] : Tries remaining: 3 [2022-09-01 21:33:37][INFO] : [0x919b] Requesting 'Node Descriptor' [2022-09-01 21:33:37][DEBUG] : Tries remaining: 2 [2022-09-01 21:33:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET nwk=? WHERE ieee=?', (0x919B, 00:15:8d:00:02:ad:8d:f1)) [2022-09-01 21:33:37][DEBUG] : [0x919b] Extending timeout for 0x1d request [2022-09-01 21:33:37][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:33:37][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:33:37][DEBUG] : Sending: b'053521a9212ae43ff4964aa8bf55938c097e' [2022-09-01 21:33:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET nwk=? WHERE ieee=?', (0x919B, 00:15:8d:00:02:ad:8d:f1)) completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial() [2022-09-01 21:33:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:37][DEBUG] : Data frame: b'5135a1a9212aea523e7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'163a21a92a2ae43ff4964aa8bf559360bf7e' [2022-09-01 21:33:37][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:33:37][DEBUG] : Data frame: b'623aa1a92a2a43c27e' [2022-09-01 21:33:37][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:37][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:37][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=29), 30, b'\x1d\x9b\x91') [2022-09-01 21:33:37][DEBUG] : Sending: b'273b21a9602a1529c8944a27aa5592099d4e27b6f3cd7a106c76307e' [2022-09-01 21:33:37][DEBUG] : Data frame: b'733ba1a9602a150a386c7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:37][DEBUG] : Application frame 52 (sendUnicast) received: b'00b8' [2022-09-01 21:33:37][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:33:37][INFO] : [84:fd:27:ff:fe:82:2a:f4][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=31, command_id=, *direction=, *is_reply=False) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][DEBUG] : Send command sendUnicast: (, 0x0000, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=31), 32, b'\x00\x1f\x00\x04\x00\x05\x00') [2022-09-01 21:33:37][DEBUG] : Sending: b'303821a9602a15b259904b25aa5493099d4e27b4cdc96794fdc2638cfc85257e' [2022-09-01 21:33:37][DEBUG] : Data frame: b'0438a1a9602a150b87db7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:37][DEBUG] : Application frame 52 (sendUnicast) received: b'00b9' [2022-09-01 21:33:37][DEBUG] : Data frame: b'1438b1a9112a15b658944a24ab1593499cf7d8abedce9874fac67c89f87e3aa793217e' [2022-09-01 21:33:37][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:37][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000b9ff000000ffff07001f0004000500' [2022-09-01 21:33:37][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=185), 255, 0, 0x0000, 255, 255, b'\x00\x1f\x00\x04\x00\x05\x00'] [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Received ZCL frame: b'\x00\x1f\x00\x04\x00\x05\x00' [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=31, command_id=0, *direction=, *is_reply=False) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][DEBUG] : [0x0000:1:0x0000] Received command 0x00 (TSN 31): Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:37][INFO] : [84:fd:27:ff:fe:82:2a:f4][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=31, command_id=0, *direction=, *is_reply=False) args: (Read_Attributes(attribute_ids=[4, 5]),) [2022-09-01 21:33:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.978597, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.978597, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial() [2022-09-01 21:33:37][DEBUG] : Data frame: b'2438b1a96b2a15b259904b25aa5493099d4e2712cdce67104a7e' [2022-09-01 21:33:37][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:37][DEBUG] : Application frame 63 (messageSentHandler) received: b'00000004010000010140010000b9200000' [2022-09-01 21:33:37][DEBUG] : Received messageSentHandler frame with [, 0, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=185), 32, , b''] [2022-09-01 21:33:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.984235, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060817.984235, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:37][DEBUG] : executing functools.partial() [2022-09-01 21:33:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:38][DEBUG] : Data frame: b'3438b1a9112a11b259874a25aa5593499cbbd848765f9874f1f0f8180df392a5eb40cb6f0ffdba5a7e' [2022-09-01 21:33:38][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:33:38][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0400001300000000010000f5ffe39b91ffff0c369b91f18dad02008d15008002' [2022-09-01 21:33:38][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=245), 255, -29, 0x919b, 255, 255, b'6\x9b\x91\xf1\x8d\xad\x02\x00\x8d\x15\x00\x80'] [2022-09-01 21:33:38][INFO] : ZDO Device announce: 0x919b, 00:15:8d:00:02:ad:8d:f1 [2022-09-01 21:33:38][INFO] : Device 0x919b (00:15:8d:00:02:ad:8d:f1) joined the network [2022-09-01 21:33:38][DEBUG] : [0x919b] Scheduling initialization [2022-09-01 21:33:38][DEBUG] : [0x919b] Canceling old initialize call [2022-09-01 21:33:38][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 19: b'6\x9b\x91\xf1\x8d\xad\x02\x00\x8d\x15\x00\x80' [2022-09-01 21:33:38][DEBUG] : [0x919b:zdo] ZDO request ZDOCmd.Device_annce: [0x919B, 00:15:8d:00:02:ad:8d:f1, 128] [2022-09-01 21:33:38][WARNING] : Device failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 177, in initialize await self._initialize() File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 200, in _initialize await self.get_node_descriptor() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 162, in get_node_descriptor self.nwk, tries=2, delay=0.1 File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request use_ieee=use_ieee, File "/usr/local/lib/python3.7/dist-packages/bellows/zigbee/application.py", line 825, in request res = await asyncio.wait_for(req.result, APS_ACK_TIMEOUT) File "/usr/lib/python3.7/asyncio/tasks.py", line 409, in wait_for await waiter concurrent.futures._base.CancelledError [2022-09-01 21:33:38][DEBUG] : Tries remaining: 3 [2022-09-01 21:33:38][INFO] : [0x919b] Requesting 'Node Descriptor' [2022-09-01 21:33:38][DEBUG] : Tries remaining: 2 [2022-09-01 21:33:38][DEBUG] : [0x919b] Extending timeout for 0x21 request [2022-09-01 21:33:38][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:33:38][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:33:38][DEBUG] : Sending: b'443921a92a2ae43ff4964aa8bf5593c4467e' [2022-09-01 21:33:38][DEBUG] : Data frame: b'4539a1a92a2a50597e' [2022-09-01 21:33:38][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:33:38][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:38][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=33), 34, b'!\x9b\x91') [2022-09-01 21:33:38][DEBUG] : Sending: b'553e21a9602a1529c8944a27aa5592099d4e278acfcd46106c46657e' [2022-09-01 21:33:38][DEBUG] : Data frame: b'563ea1a9602a1508525f7e' [2022-09-01 21:33:38][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:33:38][DEBUG] : Application frame 52 (sendUnicast) received: b'00ba' [2022-09-01 21:33:38][DEBUG] : Data frame: b'663eb1a9112a15b658944a24ab5593499cb8d849765f9874dcde6383f97e7db187b8b306a18ca2b5a6bd1bd33554c09815538b8b04b140986c2311a9ce7e' [2022-09-01 21:33:38][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:38][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000f6ffe29b91ffff2118000a050042166c756d692e73656e736f725f7377697463682e6171330100200502' [2022-09-01 21:33:38][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=246), 255, -30, 0x919b, 255, 255, b'\x18\x00 \x05\x00B\x16lumi.sensor_switch.aq3\x01\x00 \x05'] [2022-09-01 21:33:38][DEBUG] : Received frame on uninitialized device from ep 1 to ep 1, cluster 0: b'\x18\x00 \x05\x00B\x16lumi.sensor_switch.aq3\x01\x00 \x05' [2022-09-01 21:33:38][DEBUG] : [0x919b] Received ZCL while uninitialized on endpoint id 1, cluster 0x0000 id, hdr: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=0, command_id=10, *direction=, *is_reply=True), payload: b'\x05\x00B\x16lumi.sensor_switch.aq3\x01\x00 \x05' [2022-09-01 21:33:38][DEBUG] : [0x919b] Uninitialized device command '10' params: Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=5))]) [2022-09-01 21:33:38][DEBUG] : Data frame: b'763eb1a96b2a134fa6944a36aa5592499d4e275e12ce678f987e' [2022-09-01 21:33:38][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:38][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fdff00001300000000010000f5ff0000' [2022-09-01 21:33:38][DEBUG] : Received messageSentHandler frame with [, 65533, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=245), 255, , b''] [2022-09-01 21:33:38][DEBUG] : Unexpected message send notification tag: 255 [2022-09-01 21:33:39][DEBUG] : Data frame: b'063eb1a9112a15b658944a24ab5593499cb9d84b765f9874d2da3c98fd743e58a9ebdf4e60f4c4f3cbd64824472688ba763d81eb75824198440716b0ea51381c9626bae553448a459821857e' [2022-09-01 21:33:39][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:39][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000f7ffe09b91ffff2f1c5f11010a01ff42260121ef0b03281e0421a8010521560006240100000000082105010a210000982101009921000002' [2022-09-01 21:33:39][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=247), 255, -32, 0x919b, 255, 255, b'\x1c_\x11\x01 \x01\xffB&\x01!\xef\x0b\x03(\x1e\x04!\xa8\x01\x05!V\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'] [2022-09-01 21:33:39][DEBUG] : Received frame on uninitialized device from ep 1 to ep 1, cluster 0: b'\x1c_\x11\x01 \x01\xffB&\x01!\xef\x0b\x03(\x1e\x04!\xa8\x01\x05!V\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00' [2022-09-01 21:33:39][DEBUG] : [0x919b] Received ZCL while uninitialized on endpoint id 1, cluster 0x0000 id, hdr: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4447, tsn=1, command_id=10, *direction=, *is_reply=True), payload: b'\x01\xffB&\x01!\xef\x0b\x03(\x1e\x04!\xa8\x01\x05!V\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00' [2022-09-01 21:33:39][DEBUG] : [0x919b] Uninitialized device command '10' params: Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=CharacterString, value='\x01!�\x0b\x03(\x1e\x04!�\x01\x05!V'))]) [2022-09-01 21:33:39][INFO] : Traceback (most recent call last): File "/var/www/html/plugins/zigbee/resources/zigbeed/restServer.py", line 129, in get for device in shared.ZIGPY.devices.values(): RuntimeError: dictionary changed size during iteration [2022-09-01 21:33:39][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 2004.82ms [2022-09-01 21:33:39][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 500 0 [2022-09-01 21:33:39][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:39][DEBUG] : Data frame: b'163eb1a96b2a1529c8944a27aa5592099d4e2713f3ce6702ba7e' [2022-09-01 21:33:39][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:39][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100000200000040010000b81e0000' [2022-09-01 21:33:39][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=184), 30, , b''] [2022-09-01 21:33:39][DEBUG] : Unexpected message send notification tag: 30 [2022-09-01 21:33:39][DEBUG] : Data frame: b'263eb1a9112a15b25996ca25aa1593499cb6d84a765f9874ecdb63126d7c7f27dcdda10b8fffc7bfd5d26b9ef37e' [2022-09-01 21:33:39][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:39][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000000280000040010000f8ffe19b91ffff111d009b9102408037107f6400000064000002' [2022-09-01 21:33:39][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32770, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=248), 255, -31, 0x919b, 255, 255, b'\x1d\x00\x9b\x91\x02@\x807\x10\x7fd\x00\x00\x00d\x00\x00'] [2022-09-01 21:33:39][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 32770: b'\x1d\x00\x9b\x91\x02@\x807\x10\x7fd\x00\x00\x00d\x00\x00' [2022-09-01 21:33:39][DEBUG] : [0x919b:zdo] ZDO request ZDOCmd.Node_Desc_rsp: [, 0x919B, NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4151, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=0, maximum_outgoing_transfer_size=100, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)] [2022-09-01 21:33:39][DEBUG] : [0x919b:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_rsp([, 0x919B, NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4151, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=0, maximum_outgoing_transfer_size=100, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)]) [2022-09-01 21:33:39][DEBUG] : Data frame: b'363eb1a96b2a1529c8944a27aa5592099d4e2711cfce673ffa7e' [2022-09-01 21:33:39][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:33:39][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100000200000040010000ba220000' [2022-09-01 21:33:39][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=186), 34, , b''] [2022-09-01 21:33:39][INFO] : [00:15:8d:00:02:37:6b:76][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:39][INFO] : [a4:c1:38:2f:b6:32:51:18][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:39][INFO] : [00:15:8d:00:02:00:a5:40][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:39][INFO] : [00:15:8d:00:01:a2:e8:07][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:39][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:39][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=35, command_id=, *direction=, *is_reply=False) [2022-09-01 21:33:39][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:33:39][DEBUG] : [0xbbbd] Extending timeout for 0x23 request [2022-09-01 21:33:39][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:33:39][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:33:39][DEBUG] : Sending: b'643f21a92a2a14e878954aa8bf559380d37e' [2022-09-01 21:33:39][DEBUG] : Data frame: b'473fa1a92a2a169c7e' [2022-09-01 21:33:39][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:33:39][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:39][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=35), 36, b'\x00#\x00\x04\x00') [2022-09-01 21:33:39][DEBUG] : Sending: b'753c21a9602a150fe2904b25aa5493099d4e2788c9cb67a8fdc263e0de7e' [2022-09-01 21:33:39][DEBUG] : Data frame: b'503ca1a9602a1509a2567e' [2022-09-01 21:33:39][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:33:39][DEBUG] : Application frame 52 (sendUnicast) received: b'00bb' [2022-09-01 21:33:41][DEBUG] : Send command readCounters: () [2022-09-01 21:33:41][DEBUG] : Sending: b'063d21a9a52aab317e' [2022-09-01 21:33:41][DEBUG] : Data frame: b'613da1a9a52a1bb243946d25b1559249894e23abe9ce748bf4c66e89f97e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482433f07e' [2022-09-01 21:33:41][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:41][DEBUG] : Application frame 241 (readCounters) received: b'0e001a0027001b000000150004000400130009000d00050000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:33:41][DEBUG] : Send command getValue: (,) [2022-09-01 21:33:41][DEBUG] : Sending: b'17c221a9fe2a1632ec7e' [2022-09-01 21:33:41][DEBUG] : Data frame: b'72c2a1a9fe2a15b3b48e147e' [2022-09-01 21:33:41][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:41][DEBUG] : Application frame 170 (getValue) received: b'0001ed' [2022-09-01 21:33:41][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 237 [2022-09-01 21:33:41][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1457, MAC_RX_UNICAST = 452, MAC_TX_UNICAST_SUCCESS = 220, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 90, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 313, APS_DATA_TX_UNICAST_SUCCESS = 147, APS_DATA_TX_UNICAST_RETRY = 35, APS_DATA_TX_UNICAST_FAILED = 15, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 237] [2022-09-01 21:33:41][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:41][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=37, command_id=, *direction=, *is_reply=False) [2022-09-01 21:33:41][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:33:41][DEBUG] : [0x518d] Extending timeout for 0x25 request [2022-09-01 21:33:41][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:33:41][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:33:41][DEBUG] : Sending: b'20c321a92a2a7d335ada954aa8bf559320e37e' [2022-09-01 21:33:41][DEBUG] : Data frame: b'03c3a1a92a2ace507e' [2022-09-01 21:33:41][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:41][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:41][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=37), 38, b'\x00%\x00\x04\x00\x05\x00') [2022-09-01 21:33:41][DEBUG] : Sending: b'31c021a9602a153f08904b25aa5493099d4e278ecbc967aefdc2638cfc92a07e' [2022-09-01 21:33:41][DEBUG] : Data frame: b'14c0a1a9602a150e56ff7e' [2022-09-01 21:33:41][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:41][DEBUG] : Application frame 52 (sendUnicast) received: b'00bc' [2022-09-01 21:33:42][DEBUG] : Data frame: b'24c0b1a9d42a570fe23ce27e' [2022-09-01 21:33:42][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:42][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:33:42][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:33:42][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:33:42][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:33:42][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:33:42][DEBUG] : executing functools.partial() [2022-09-01 21:33:42][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:43][DEBUG] : Data frame: b'34c0b1a9d42a573f0836ed7e' [2022-09-01 21:33:43][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:33:43][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:33:43][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:33:43][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:33:43][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:33:43][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:33:43][DEBUG] : executing functools.partial() [2022-09-01 21:33:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:43][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:33:43][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 6018.70ms [2022-09-01 21:33:44][INFO] : [GroupHandler.prepare] Json arg : None [2022-09-01 21:33:44][INFO] : 200 GET /group/all (127.0.0.1) 0.61ms [2022-09-01 21:33:44][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:33:44][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.serialize] Serialize device with attributes : 1 [2022-09-01 21:33:44][INFO] : 200 GET /device/info?ieee=00%3A15%3A8d%3A00%3A02%3Aad%3A8d%3Af1 (127.0.0.1) 0.80ms [2022-09-01 21:33:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:44][DEBUG] : Data frame: b'44c0b1a96b2a150fe2904b23ae5493099d4e271ff5a867ee7e7e' [2022-09-01 21:33:44][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:33:44][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010604010140010000b4186600' [2022-09-01 21:33:44][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=180), 24, , b''] [2022-09-01 21:33:44][DEBUG] : [0xbbbd] Delivery error for seq # 0x17, on endpoint id 1 cluster 0x0406: message send failure [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Failed to set reporting for 'occupancy' attr on 'occupancy' input cluster: [0xbbbd:1:0x0406]: Message send failure [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_motion' input cluster: 1030 [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] End configuration of input cluster 'occupancy' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'ias_zone', is_server 'True' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Bind input cluster 'ias_zone' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Bound 'ias_zone' input cluster [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_motion' input cluster: 1280 [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Intput cluster 1280 has specific function to initialize, I used it [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][chanels.security.IASZoneChannel.initialize] Started IASZoneChannel specific configuration [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Failed to initialize 'ias_zone' input cluster: 'cie_addr' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] End configuration of input cluster 'ias_zone' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'manufacturer_specific', is_server 'True' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] End configuration of input cluster 'manufacturer_specific' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'basic', is_server 'False' [2022-09-01 21:33:44][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Bind 'basic' output cluster [2022-09-01 21:33:44][DEBUG] : [0xbbbd] Extending timeout for 0x27 request [2022-09-01 21:33:44][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:33:44][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:33:44][DEBUG] : Sending: b'45c121a92a2a14e878954aa8bf559374ce7e' [2022-09-01 21:33:44][DEBUG] : Data frame: b'55c1a1a92a2a77a67e' [2022-09-01 21:33:44][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:33:44][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:33:44][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=39), 40, b"'\x01Z!\x01\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:33:44][DEBUG] : Sending: b'56c621a9602a150fe2944a04aa5592099d4e278cc5d8408aa7e76289716b3fa6ebcddd9ba57d5d3924f22fed8d81847e' [2022-09-01 21:33:44][DEBUG] : Data frame: b'66c6a1a9602a150fd8517e' [2022-09-01 21:33:44][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:44][DEBUG] : Application frame 52 (sendUnicast) received: b'00bd' [2022-09-01 21:33:47][DEBUG] : Data frame: b'76c6b1a9d42a570fe276697e' [2022-09-01 21:33:47][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:47][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:33:47][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:33:47][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:33:47][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:33:47][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:33:47][DEBUG] : executing functools.partial() [2022-09-01 21:33:47][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:49][DEBUG] : Data frame: b'06c6b1a9d42a573f0884437e' [2022-09-01 21:33:49][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:49][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:33:49][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:33:49][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:33:49][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:33:49][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial() [2022-09-01 21:33:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:49][DEBUG] : Data frame: b'16c6b1a9112a15b658924e24ab5593499cbff37a50759874fade6283fc7e27a6e95d847e' [2022-09-01 21:33:49][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:49][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f1d4d1bdbbffff0718010a0000180102' [2022-09-01 21:33:49][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=241), 212, -47, 0xbbbd, 255, 255, b'\x18\x01 \x00\x00\x18\x01'] [2022-09-01 21:33:49][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x01 \x00\x00\x18\x01' [2022-09-01 21:33:49][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=1, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:33:49][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:33:49][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:33:49][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=1, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:33:49][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:33:49][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:33:49][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:33:49][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:33:49][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:33:49][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:49][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:33:49][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:33:49][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060829.704967, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:49][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060829.704967, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial() [2022-09-01 21:33:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:33:49][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial() [2022-09-01 21:33:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:33:49][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:33:49][DEBUG] : executing functools.partial() [2022-09-01 21:33:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:49][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:33:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:51][DEBUG] : Send command readCounters: () [2022-09-01 21:33:51][DEBUG] : Sending: b'62c721a9a52a8b707e' [2022-09-01 21:33:51][DEBUG] : Data frame: b'27c7a1a9a52a1bb243946225b1559249854e23abe9ce738bf4c66c89fa7e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824122a7e' [2022-09-01 21:33:51][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:51][DEBUG] : Application frame 241 (readCounters) received: b'0e001a0028001b000000190004000400140009000f00060000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:33:51][DEBUG] : Send command getValue: (,) [2022-09-01 21:33:51][DEBUG] : Sending: b'73c421a9fe2a16cdd17e' [2022-09-01 21:33:51][DEBUG] : Data frame: b'30c4a1a9fe2a15b3b2f7a77e' [2022-09-01 21:33:51][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:33:51][DEBUG] : Application frame 170 (getValue) received: b'0001eb' [2022-09-01 21:33:51][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 235 [2022-09-01 21:33:51][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1457, MAC_RX_UNICAST = 453, MAC_TX_UNICAST_SUCCESS = 220, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 94, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 314, APS_DATA_TX_UNICAST_SUCCESS = 147, APS_DATA_TX_UNICAST_RETRY = 37, APS_DATA_TX_UNICAST_FAILED = 16, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 235] [2022-09-01 21:33:51][DEBUG] : Data frame: b'40c4b1a94d2a88af8c7e' [2022-09-01 21:33:51][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:33:51][DEBUG] : Application frame 25 (stackStatusHandler) received: b'9d' [2022-09-01 21:33:51][DEBUG] : Received stackStatusHandler frame with [] [2022-09-01 21:33:52][DEBUG] : Data frame: b'50c4b1a9d42a570fe204bb7e' [2022-09-01 21:33:52][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:33:52][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:33:52][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:33:52][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:33:52][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:33:52][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:33:52][DEBUG] : executing functools.partial() [2022-09-01 21:33:52][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:52][DEBUG] : Data frame: b'60c4b1a9d42a573f08a9487e' [2022-09-01 21:33:52][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:33:52][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:33:52][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:33:52][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:33:52][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:33:52][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:33:52][DEBUG] : executing functools.partial() [2022-09-01 21:33:52][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:52][DEBUG] : Send command setPolicy: (, ) [2022-09-01 21:33:52][DEBUG] : Sending: b'07c521a9012a15bb59c1677e' [2022-09-01 21:33:52][DEBUG] : Data frame: b'71c5a1a9012a1535427e' [2022-09-01 21:33:52][DEBUG] : Sending: b'8070787e' [2022-09-01 21:33:52][DEBUG] : Application frame 85 (setPolicy) received: b'00' [2022-09-01 21:33:54][DEBUG] : Data frame: b'01c5b1a9112a15b658924e24ab5593499cbce76750759874fade6183fc7e27a6e9355e7e' [2022-09-01 21:33:54][DEBUG] : Sending: b'8160597e' [2022-09-01 21:33:54][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f2c0ccbdbbffff0718020a0000180102' [2022-09-01 21:33:54][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=242), 192, -52, 0xbbbd, 255, 255, b'\x18\x02 \x00\x00\x18\x01'] [2022-09-01 21:33:54][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x02 \x00\x00\x18\x01' [2022-09-01 21:33:54][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=2, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:33:54][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:33:54][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:33:54][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=2, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:33:54][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:33:54][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:33:54][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:33:54][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:33:54][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:33:54][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:54][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:33:54][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:33:54][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060834.862836, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:33:54][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060834.862836, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:33:54][DEBUG] : executing functools.partial() [2022-09-01 21:33:54][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:33:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:33:54][DEBUG] : executing functools.partial() [2022-09-01 21:33:54][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:54][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:33:54][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:33:54][DEBUG] : executing functools.partial() [2022-09-01 21:33:54][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:54][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:54][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:33:54][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:33:54][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:33:56][DEBUG] : Data frame: b'11c5b1a9d42a570fe2f7927e' [2022-09-01 21:33:56][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:33:56][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:33:56][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:33:56][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:33:56][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:33:56][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:33:56][DEBUG] : executing functools.partial() [2022-09-01 21:33:56][DEBUG] : operation functools.partial() completed [2022-09-01 21:33:58][DEBUG] : Data frame: b'21c5b1a9d42a573f085a617e' [2022-09-01 21:33:58][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:33:58][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:33:58][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:33:58][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:33:58][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:33:58][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:33:58][DEBUG] : executing functools.partial() [2022-09-01 21:33:58][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:01][DEBUG] : Send command readCounters: () [2022-09-01 21:34:01][DEBUG] : Sending: b'7d33ca21a9a52aaa367e' [2022-09-01 21:34:01][DEBUG] : Data frame: b'32caa1a9a52a1bb242946025b1559249814e23abe9ce728bf4c66c89fa7e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048241b157e' [2022-09-01 21:34:01][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:01][DEBUG] : Application frame 241 (readCounters) received: b'0e001b002a001b0000001d0004000400150009000f00060000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:01][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:01][DEBUG] : Sending: b'24cb21a9fe2a16fb017e' [2022-09-01 21:34:01][DEBUG] : Data frame: b'43cba1a9fe2a15b3b2a8fa7e' [2022-09-01 21:34:01][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:01][DEBUG] : Application frame 170 (getValue) received: b'0001eb' [2022-09-01 21:34:01][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 235 [2022-09-01 21:34:01][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1458, MAC_RX_UNICAST = 455, MAC_TX_UNICAST_SUCCESS = 220, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 98, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 315, APS_DATA_TX_UNICAST_SUCCESS = 147, APS_DATA_TX_UNICAST_RETRY = 37, APS_DATA_TX_UNICAST_FAILED = 16, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 235] [2022-09-01 21:34:01][DEBUG] : Data frame: b'53cbb1a9d42a570fe2f03d7e' [2022-09-01 21:34:01][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:01][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:01][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:01][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:01][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:01][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:01][DEBUG] : executing functools.partial() [2022-09-01 21:34:01][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:01][DEBUG] : Data frame: b'63cbb1a9d42a573f085dce7e' [2022-09-01 21:34:01][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:01][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:01][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:01][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:01][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:01][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:01][DEBUG] : executing functools.partial() [2022-09-01 21:34:01][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:03][DEBUG] : Data frame: b'73cbb1a96b2a153f08944a04aa5592099d4e271ef7a867826a7e' [2022-09-01 21:34:03][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:03][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5100002100000040010000b51a6600' [2022-09-01 21:34:03][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=181), 26, , b''] [2022-09-01 21:34:03][DEBUG] : [0x518d] Delivery error for seq # 0x19, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:34:03][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Failed to bind 'basic' output cluster: [0x518d:0:0x0021]: Message send failure [2022-09-01 21:34:03][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] End configuration of output cluster 'basic' [2022-09-01 21:34:03][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'scenes', is_server 'False' [2022-09-01 21:34:03][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Bind 'scenes' output cluster [2022-09-01 21:34:03][DEBUG] : [0x518d] Extending timeout for 0x29 request [2022-09-01 21:34:03][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:34:03][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:34:03][DEBUG] : Sending: b'30c821a92a2a7d335ada954aa8bf559308a17e' [2022-09-01 21:34:03][DEBUG] : Data frame: b'04c8a1a92a2aeaee7e' [2022-09-01 21:34:03][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:03][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:03][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=41), 42, b")\x06\xe8\x83\x01\x00\x8d\x15\x00\x01\x05\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:03][DEBUG] : Sending: b'41c921a9602a153f08944a04aa5592099d4e2782c7d84e8d15456289716b3fa6eecddd9ba57d5d3924f22fed8d8c7d3a7e' [2022-09-01 21:34:03][DEBUG] : Data frame: b'15c9a1a9602a150c1aa27e' [2022-09-01 21:34:03][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:03][DEBUG] : Application frame 52 (sendUnicast) received: b'00be' [2022-09-01 21:34:04][DEBUG] : Data frame: b'25c9b1a9112a15b658924e24ab5593499cbde76750759874fade6083fc7e27a6e914f27e' [2022-09-01 21:34:04][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:04][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f3c0ccbdbbffff0718030a0000180102' [2022-09-01 21:34:04][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=243), 192, -52, 0xbbbd, 255, 255, b'\x18\x03 \x00\x00\x18\x01'] [2022-09-01 21:34:04][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x03 \x00\x00\x18\x01' [2022-09-01 21:34:04][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=3, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:34:04][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:04][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 3): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=3, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:34:04][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:34:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:34:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:34:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:34:04][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:34:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:34:04][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:34:04][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060844.117358, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:04][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060844.117358, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:04][DEBUG] : executing functools.partial() [2022-09-01 21:34:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:04][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:34:04][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:34:04][DEBUG] : executing functools.partial() [2022-09-01 21:34:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:04][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:34:04][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:34:04][DEBUG] : executing functools.partial() [2022-09-01 21:34:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:04][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:34:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:06][DEBUG] : Data frame: b'35c9b1a9d42a570fe2dd367e' [2022-09-01 21:34:06][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:06][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:06][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:06][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:06][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:06][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:06][DEBUG] : executing functools.partial() [2022-09-01 21:34:06][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:07][DEBUG] : Data frame: b'45c9b1a96b2a150fe2904b25aa5493099d4e2710c9a867865d7e' [2022-09-01 21:34:07][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:07][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000bb246600' [2022-09-01 21:34:07][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=187), 36, , b''] [2022-09-01 21:34:07][DEBUG] : Unexpected message send notification tag: 36 [2022-09-01 21:34:07][DEBUG] : Tries remaining: 1 [2022-09-01 21:34:07][DEBUG] : [0x919b] Extending timeout for 0x2b request [2022-09-01 21:34:07][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:07][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:07][DEBUG] : Sending: b'55ce21a92a2ae43ff4964aa8bf559373cf7e' [2022-09-01 21:34:07][DEBUG] : Data frame: b'56cea1a92a2adcbf7e' [2022-09-01 21:34:07][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:07][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:07][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=43), 44, b'+\x9b\x91') [2022-09-01 21:34:07][DEBUG] : Sending: b'66cf21a9602a1529c8944a27aa5592099d4e2780c1cd4c106ceedf7e' [2022-09-01 21:34:07][DEBUG] : Data frame: b'67cfa1a9602a150d940c7e' [2022-09-01 21:34:07][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:07][DEBUG] : Application frame 52 (sendUnicast) received: b'00bf' [2022-09-01 21:34:08][DEBUG] : Data frame: b'77cfb1a9d42a573f089db27e' [2022-09-01 21:34:08][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:08][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:08][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:08][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:08][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:08][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:08][DEBUG] : executing functools.partial() [2022-09-01 21:34:08][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:09][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:34:09][INFO] : [84:fd:27:ff:fe:82:2a:f4][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=45, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:09][DEBUG] : Send command sendUnicast: (, 0x0000, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=45), 46, b'\x00-\x00\x04\x00\x05\x00') [2022-09-01 21:34:09][DEBUG] : Sending: b'70cc21a9602a15b259904b25aa5493099d4e2786c3c967a6fdc2638cfc0adc7e' [2022-09-01 21:34:09][DEBUG] : Data frame: b'00cca1a9602a157289567e' [2022-09-01 21:34:09][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:09][DEBUG] : Application frame 52 (sendUnicast) received: b'00c0' [2022-09-01 21:34:09][DEBUG] : Data frame: b'10ccb1a9112a15b658944a24ab1593499c8ed8abedce9874fac64e89f87e3aa73c567e' [2022-09-01 21:34:09][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:09][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000c0ff000000ffff07002d0004000500' [2022-09-01 21:34:09][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=192), 255, 0, 0x0000, 255, 255, b'\x00-\x00\x04\x00\x05\x00'] [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Received ZCL frame: b'\x00-\x00\x04\x00\x05\x00' [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=45, command_id=0, *direction=, *is_reply=False) [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:09][DEBUG] : [0x0000:1:0x0000] Received command 0x00 (TSN 45): Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:09][INFO] : [84:fd:27:ff:fe:82:2a:f4][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=45, command_id=0, *direction=, *is_reply=False) args: (Read_Attributes(attribute_ids=[4, 5]),) [2022-09-01 21:34:09][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060849.583364, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:09][DEBUG] : Data frame: b'20ccb1a96b2a15b259904b25aa5493099d4e276bc3ce6721217e' [2022-09-01 21:34:09][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:09][DEBUG] : Application frame 63 (messageSentHandler) received: b'00000004010000010140010000c02e0000' [2022-09-01 21:34:09][DEBUG] : Received messageSentHandler frame with [, 0, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=192), 46, , b''] [2022-09-01 21:34:09][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060849.583364, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:09][DEBUG] : executing functools.partial() [2022-09-01 21:34:09][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:09][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060849.587627, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:09][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060849.587627, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:09][DEBUG] : executing functools.partial() [2022-09-01 21:34:09][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:09][DEBUG] : Data frame: b'30ccb1a96b2a153f08904b25aa5493099d4e2717cba867ef407e' [2022-09-01 21:34:09][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:09][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000bc266600' [2022-09-01 21:34:09][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=188), 38, , b''] [2022-09-01 21:34:09][DEBUG] : Unexpected message send notification tag: 38 [2022-09-01 21:34:10][DEBUG] : Data frame: b'40ccb1a9112a15b658924e24ab5593499cba9b6050759874fade6783fc7e27a6e93c4f7e' [2022-09-01 21:34:10][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:10][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f4bccbbdbbffff0718040a0000180102' [2022-09-01 21:34:10][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=244), 188, -53, 0xbbbd, 255, 255, b'\x18\x04 \x00\x00\x18\x01'] [2022-09-01 21:34:10][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x04 \x00\x00\x18\x01' [2022-09-01 21:34:10][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=4, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:34:10][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:10][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 4): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=4, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:34:10][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:34:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:34:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:34:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:34:10][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:34:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:34:10][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:34:10][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060850.539756, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:10][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060850.539756, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial() [2022-09-01 21:34:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:34:10][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial() [2022-09-01 21:34:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:34:10][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial() [2022-09-01 21:34:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:10][DEBUG] : Data frame: b'50ccb1a9d42a570fe21a617e' [2022-09-01 21:34:10][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:10][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:10][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:10][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:10][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:10][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:10][DEBUG] : executing functools.partial() [2022-09-01 21:34:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:10][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:34:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:10][DEBUG] : Data frame: b'60ccb1a96b2a1529c8944a27aa5592099d4e2714c1ce67449f7e' [2022-09-01 21:34:10][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:10][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100000200000040010000bf2c0000' [2022-09-01 21:34:10][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=191), 44, , b''] [2022-09-01 21:34:10][DEBUG] : Data frame: b'70ccb1a9112a15b25996ca25aa1593499cb7fb78765f9874eced63126d7c7f27dcdda10b8fffc7bfd5d26b0be47e' [2022-09-01 21:34:10][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:10][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000000280000040010000f9dcd39b91ffff112b009b9102408037107f6400000064000002' [2022-09-01 21:34:10][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32770, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=249), 220, -45, 0x919b, 255, 255, b'+\x00\x9b\x91\x02@\x807\x10\x7fd\x00\x00\x00d\x00\x00'] [2022-09-01 21:34:10][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 32770: b'+\x00\x9b\x91\x02@\x807\x10\x7fd\x00\x00\x00d\x00\x00' [2022-09-01 21:34:10][INFO] : [0x919b] Got Node Descriptor: NodeDescriptor(logical_type=, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=, mac_capability_flags=, manufacturer_code=4151, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=0, maximum_outgoing_transfer_size=100, descriptor_capability_field=, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False) [2022-09-01 21:34:10][INFO] : [0x919b] Discovering endpoints [2022-09-01 21:34:10][DEBUG] : Tries remaining: 3 [2022-09-01 21:34:10][DEBUG] : [0x919b] Extending timeout for 0x2f request [2022-09-01 21:34:10][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:10][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:10][DEBUG] : Sending: b'00cd21a92a2ae43ff4964aa8bf5593afa17e' [2022-09-01 21:34:10][DEBUG] : Data frame: b'01cda1a92a2a8ab87e' [2022-09-01 21:34:10][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:10][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:10][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=5, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=47), 48, b'/\x9b\x91') [2022-09-01 21:34:10][DEBUG] : Sending: b'7d31d221a9602a1529c8944a20aa5592099d4e2784ddcd48106c43dd7e' [2022-09-01 21:34:10][DEBUG] : Data frame: b'12d2a1a9602a15732e967e' [2022-09-01 21:34:10][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:10][DEBUG] : Application frame 52 (sendUnicast) received: b'00c1' [2022-09-01 21:34:11][DEBUG] : Data frame: b'22d2b1a9d42a573f088d897e' [2022-09-01 21:34:11][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:11][DEBUG] : executing functools.partial() [2022-09-01 21:34:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:11][DEBUG] : Send command readCounters: () [2022-09-01 21:34:11][DEBUG] : Sending: b'23d321a9a52a299c7e' [2022-09-01 21:34:11][DEBUG] : Data frame: b'33d3a1a9a52a1bb242947e25b7559249bf4e23abe9ce7e8bf6c67689f57e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824feb37e' [2022-09-01 21:34:11][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:11][DEBUG] : Application frame 241 (readCounters) received: b'0e001b0034001d00000023000400040019000b001500090000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:11][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:11][DEBUG] : Sending: b'34d021a9fe2a16155c7e' [2022-09-01 21:34:11][DEBUG] : Data frame: b'44d0a1a9fe2a15b3b4928c7e' [2022-09-01 21:34:11][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:11][DEBUG] : Application frame 170 (getValue) received: b'0001ed' [2022-09-01 21:34:11][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 237 [2022-09-01 21:34:11][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1458, MAC_RX_UNICAST = 465, MAC_TX_UNICAST_SUCCESS = 222, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 104, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 319, APS_DATA_TX_UNICAST_SUCCESS = 149, APS_DATA_TX_UNICAST_RETRY = 43, APS_DATA_TX_UNICAST_FAILED = 19, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 237] [2022-09-01 21:34:11][INFO] : [00:15:8d:00:02:37:6b:76][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:11][INFO] : [a4:c1:38:2f:b6:32:51:18][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:11][INFO] : [00:15:8d:00:02:00:a5:40][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:11][INFO] : [00:15:8d:00:01:a2:e8:07][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:11][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:11][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=49, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:11][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:34:11][DEBUG] : [0xbbbd] Extending timeout for 0x31 request [2022-09-01 21:34:11][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:34:11][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:34:11][DEBUG] : Sending: b'45d121a92a2a14e878954aa8bf5593b2397e' [2022-09-01 21:34:11][DEBUG] : Data frame: b'55d1a1a92a2a73fc7e' [2022-09-01 21:34:11][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:11][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:11][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=49), 50, b'\x001\x00\x04\x00') [2022-09-01 21:34:11][DEBUG] : Sending: b'56d621a9602a150fe2904b25aa5493099d4e279adfcb67bafdc263b3757e' [2022-09-01 21:34:11][DEBUG] : Data frame: b'66d6a1a9602a157060527e' [2022-09-01 21:34:11][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:11][DEBUG] : Application frame 52 (sendUnicast) received: b'00c2' [2022-09-01 21:34:12][DEBUG] : Data frame: b'76d6b1a96b2a150fe2944a04aa5592099d4e2716c5a867889b7e' [2022-09-01 21:34:12][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:12][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb00002100000040010000bd286600' [2022-09-01 21:34:12][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=189), 40, , b''] [2022-09-01 21:34:12][DEBUG] : [0xbbbd] Delivery error for seq # 0x27, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:34:12][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Failed to bind 'basic' output cluster: [0xbbbd:0:0x0021]: Message send failure [2022-09-01 21:34:12][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] End configuration of output cluster 'basic' [2022-09-01 21:34:12][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'scenes', is_server 'False' [2022-09-01 21:34:12][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Bind 'scenes' output cluster [2022-09-01 21:34:12][DEBUG] : [0xbbbd] Extending timeout for 0x33 request [2022-09-01 21:34:12][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:34:12][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:34:12][DEBUG] : Sending: b'60d721a92a2a14e878954aa8bf55937d31047e' [2022-09-01 21:34:12][DEBUG] : Data frame: b'07d7a1a92a2a45ad7e' [2022-09-01 21:34:12][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:12][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:12][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=51), 52, b"3\x01Z!\x01\x00\x8d\x15\x00\x01\x05\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:12][DEBUG] : Sending: b'71d421a9602a150fe2944a04aa5592099d4e2798d9d8548aa7e76289716b3fa6eecddd9ba57d5d3924f22fed8d7d3a2e7e' [2022-09-01 21:34:12][DEBUG] : Data frame: b'10d4a1a9602a157120577e' [2022-09-01 21:34:12][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:12][DEBUG] : Application frame 52 (sendUnicast) received: b'00c3' [2022-09-01 21:34:13][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:13][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=53, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:13][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:13][DEBUG] : [0x518d] Extending timeout for 0x35 request [2022-09-01 21:34:13][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:34:13][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:34:13][DEBUG] : Sending: b'02d521a92a2a7d335ada954aa8bf55933dbe7e' [2022-09-01 21:34:13][DEBUG] : Data frame: b'21d5a1a92a2ab9c77e' [2022-09-01 21:34:13][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:13][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:13][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=53), 54, b'\x005\x00\x04\x00\x05\x00') [2022-09-01 21:34:13][DEBUG] : Sending: b'7d33da21a9602a153f08904b25aa5493099d4e279edbc967befdc2638cfc45357e' [2022-09-01 21:34:13][DEBUG] : Data frame: b'32daa1a9602a157696f67e' [2022-09-01 21:34:13][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:13][DEBUG] : Application frame 52 (sendUnicast) received: b'00c4' [2022-09-01 21:34:14][DEBUG] : Data frame: b'42dab1a96b2a1529c8944a20aa5592099d4e276addce67f1b47e' [2022-09-01 21:34:14][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:14][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100000500000040010000c1300000' [2022-09-01 21:34:14][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=5, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=193), 48, , b''] [2022-09-01 21:34:14][DEBUG] : Data frame: b'52dab1a9112a15b25991ca25aa1593499cb4c77f765f9874fbe963126d7f3ea57cf37e' [2022-09-01 21:34:14][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:14][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000000580000040010000fae0d49b91ffff062f009b91010102' [2022-09-01 21:34:14][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32773, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=250), 224, -44, 0x919b, 255, 255, b'/\x00\x9b\x91\x01\x01'] [2022-09-01 21:34:14][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 32773: b'/\x00\x9b\x91\x01\x01' [2022-09-01 21:34:14][INFO] : [0x919b] Discovered endpoints: [1] [2022-09-01 21:34:14][INFO] : [0x919b] Initializing endpoints [>] [2022-09-01 21:34:14][INFO] : [0x919b:1] Discovering endpoint information [2022-09-01 21:34:14][DEBUG] : Tries remaining: 3 [2022-09-01 21:34:14][DEBUG] : [0x919b] Extending timeout for 0x37 request [2022-09-01 21:34:14][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:14][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:14][DEBUG] : Sending: b'26db21a92a2ae43ff4964aa8bf5593294e7e' [2022-09-01 21:34:14][DEBUG] : Data frame: b'63dba1a92a2a973f7e' [2022-09-01 21:34:14][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:14][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:14][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=55), 56, b'7\x9b\x91\x01') [2022-09-01 21:34:14][DEBUG] : Sending: b'37d821a9602a1529c8944a21aa5592099d4e279cd5ca50106cc763cf7e' [2022-09-01 21:34:14][DEBUG] : Data frame: b'74d8a1a9602a1577902f7e' [2022-09-01 21:34:14][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:14][DEBUG] : Application frame 52 (sendUnicast) received: b'00c5' [2022-09-01 21:34:15][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:15][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 6018.26ms [2022-09-01 21:34:15][INFO] : [GroupHandler.prepare] Json arg : None [2022-09-01 21:34:15][INFO] : 200 GET /group/all (127.0.0.1) 0.71ms [2022-09-01 21:34:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:15][DEBUG] : Data frame: b'04d8b1a9112a15b658924e24ab5593499cbb9f6150759874fade6683fc7e27a6e909167e' [2022-09-01 21:34:15][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:15][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f5b8cabdbbffff0718050a0000180102' [2022-09-01 21:34:15][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=245), 184, -54, 0xbbbd, 255, 255, b'\x18\x05 \x00\x00\x18\x01'] [2022-09-01 21:34:15][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x05 \x00\x00\x18\x01' [2022-09-01 21:34:15][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=5, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:34:15][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:15][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 5): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=5, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:34:15][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:34:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:34:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:34:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:34:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:34:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:34:15][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:34:15][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060855.859548, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:15][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060855.859548, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:15][DEBUG] : executing functools.partial() [2022-09-01 21:34:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:34:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:34:15][DEBUG] : executing functools.partial() [2022-09-01 21:34:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:34:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:34:15][DEBUG] : executing functools.partial() [2022-09-01 21:34:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:34:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:17][DEBUG] : Data frame: b'14d8b1a96b2a1529c8944a21aa5592099d4e276ed5ce67f5947e' [2022-09-01 21:34:17][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:17][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100000400000040010000c5380000' [2022-09-01 21:34:17][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=4, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=197), 56, , b''] [2022-09-01 21:34:17][DEBUG] : Data frame: b'24d8b1a9112a15b25990ca25aa1593499cb5c77f765f9874eaf163126d6c3ea3eacc816e8bffc7c9d5d4698d4622a9ec74fd407e' [2022-09-01 21:34:17][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:17][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000000480000040010000fbe0d49b91ffff1737009b9112010401015f0104000012000600010001000002' [2022-09-01 21:34:17][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32772, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=251), 224, -44, 0x919b, 255, 255, b'7\x00\x9b\x91\x12\x01\x04\x01\x01_\x01\x04\x00\x00\x12\x00\x06\x00\x01\x00\x01\x00\x00'] [2022-09-01 21:34:17][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 32772: b'7\x00\x9b\x91\x12\x01\x04\x01\x01_\x01\x04\x00\x00\x12\x00\x06\x00\x01\x00\x01\x00\x00' [2022-09-01 21:34:17][INFO] : [0x919b:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=24321, device_version=1, input_clusters=[0, 18, 6, 1], output_clusters=[0]) [2022-09-01 21:34:17][DEBUG] : [0x919B:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=57, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:17][DEBUG] : [0x919B:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:17][DEBUG] : [0x919b] Extending timeout for 0x39 request [2022-09-01 21:34:17][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:17][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:17][DEBUG] : Sending: b'43d921a92a2ae43ff4964aa8bf55935ddf7e' [2022-09-01 21:34:17][DEBUG] : Data frame: b'35d9a1a92a2a2ec97e' [2022-09-01 21:34:17][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:17][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:17][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=57), 58, b'\x009\x00\x04\x00\x05\x00') [2022-09-01 21:34:17][DEBUG] : Sending: b'54de21a9602a1529c8904b25aa5493099d4e2792d7c967b2fdc2638cfc5e6a7e' [2022-09-01 21:34:17][DEBUG] : Data frame: b'46dea1a9602a1574c8137e' [2022-09-01 21:34:17][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:17][DEBUG] : Application frame 52 (sendUnicast) received: b'00c6' [2022-09-01 21:34:19][DEBUG] : Data frame: b'56deb1a9d42a570fe2f2fb7e' [2022-09-01 21:34:19][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:19][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:19][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:19][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:19][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:19][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:19][DEBUG] : executing functools.partial() [2022-09-01 21:34:19][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:20][DEBUG] : Data frame: b'66deb1a9d42a570fe206f97e' [2022-09-01 21:34:20][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:20][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:20][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:20][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial() [2022-09-01 21:34:20][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:20][DEBUG] : Data frame: b'76deb1a9d42a573f080cf67e' [2022-09-01 21:34:20][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:20][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:20][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:20][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial() [2022-09-01 21:34:20][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:20][DEBUG] : Data frame: b'06deb1a96b2a1529c8904b25aa5493099d4e276dd7ce67b7cd7e' [2022-09-01 21:34:20][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:20][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104010000010140010000c63a0000' [2022-09-01 21:34:20][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=198), 58, , b''] [2022-09-01 21:34:20][DEBUG] : Data frame: b'16deb1a9112a15b658944a24ab1593499cb2f37a765f9874dcde5a88f87e3fe5ef818b22c6fac7db97c205f92b4a879f1355d68507dd32ef2552115b827e' [2022-09-01 21:34:20][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:20][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000fcd4d19b91ffff2118390104000042044c554d4905000042106c756d692e73656e736f725f7377697402' [2022-09-01 21:34:20][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=252), 212, -47, 0x919b, 255, 255, b'\x189\x01\x04\x00\x00B\x04LUMI\x05\x00\x00B\x10lumi.sensor_swit'] [2022-09-01 21:34:20][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x189\x01\x04\x00\x00B\x04LUMI\x05\x00\x00B\x10lumi.sensor_swit' [2022-09-01 21:34:20][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=57, command_id=1, *direction=, *is_reply=True) [2022-09-01 21:34:20][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=, value=TypeValue(type=CharacterString, value='LUMI')), ReadAttributeRecord(attrid=0x0005, status=, value=TypeValue(type=CharacterString, value='lumi.sensor_swit'))]) [2022-09-01 21:34:20][INFO] : [0x919b] Read model 'lumi.sensor_swit' and manufacturer 'LUMI' from > [2022-09-01 21:34:20][INFO] : [0x919b] Discovered basic device information for [2022-09-01 21:34:20][DEBUG] : Device is initialized [2022-09-01 21:34:20][DEBUG] : Checking quirks for LUMI lumi.sensor_swit (00:15:8d:00:02:ad:8d:f1) [2022-09-01 21:34:20][DEBUG] : Considering [2022-09-01 21:34:20][DEBUG] : Found custom device replacement for 00:15:8d:00:02:ad:8d:f1: [2022-09-01 21:34:20][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.device_initialized] new=True [2022-09-01 21:34:20][INFO] : Send to jeedom : {'device_initialized': '00:15:8d:00:02:ad:8d:f1'} [2022-09-01 21:34:20][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize] Begin device initialize [2022-09-01 21:34:20][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI')) [2022-09-01 21:34:20][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'basic', is_server 'True' [2022-09-01 21:34:20][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind input cluster 'basic' [2022-09-01 21:34:20][DEBUG] : [0x919b] Extending timeout for 0x3b request [2022-09-01 21:34:20][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:20][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:20][DEBUG] : returning exception FOREIGN KEY constraint failed [2022-09-01 21:34:20][DEBUG] : Error handling '_save_attribute' event with (00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI') params: FOREIGN KEY constraint failed [2022-09-01 21:34:20][DEBUG] : Sending: b'62df21a92a2ae43ff4964aa8bf559365507e' [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit')) [2022-09-01 21:34:20][DEBUG] : returning exception FOREIGN KEY constraint failed [2022-09-01 21:34:20][DEBUG] : Error handling '_save_attribute' event with (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit') params: FOREIGN KEY constraint failed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO devices_v10 (ieee, nwk, status, last_seen) VALUES (?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET nwk=excluded.nwk, status=excluded.status, last_seen=excluded.last_seen', (00:15:8d:00:02:ad:8d:f1, 0x919B, , 1662060860.533835)) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO devices_v10 (ieee, nwk, status, last_seen) VALUES (?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET nwk=excluded.nwk, status=excluded.status, last_seen=excluded.last_seen', (00:15:8d:00:02:ad:8d:f1, 0x919B, , 1662060860.533835)) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO node_descriptors_v10 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET logical_type=excluded.logical_type, complex_descriptor_available=excluded.complex_descriptor_available, user_descriptor_available=excluded.user_descriptor_available, reserved=excluded.reserved, aps_flags=excluded.aps_flags, frequency_band=excluded.frequency_band, mac_capability_flags=excluded.mac_capability_flags, manufacturer_code=excluded.manufacturer_code, maximum_buffer_size=excluded.maximum_buffer_size, maximum_incoming_transfer_size=excluded.maximum_incoming_transfer_size, server_mask=excluded.server_mask, maximum_outgoing_transfer_size=excluded.maximum_outgoing_transfer_size, descriptor_capability_field=excluded.descriptor_capability_field', (00:15:8d:00:02:ad:8d:f1, , 0, 0, 0, 0, , , 4151, 127, 100, 0, 100, )) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO node_descriptors_v10 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET logical_type=excluded.logical_type, complex_descriptor_available=excluded.complex_descriptor_available, user_descriptor_available=excluded.user_descriptor_available, reserved=excluded.reserved, aps_flags=excluded.aps_flags, frequency_band=excluded.frequency_band, mac_capability_flags=excluded.mac_capability_flags, manufacturer_code=excluded.manufacturer_code, maximum_buffer_size=excluded.maximum_buffer_size, maximum_incoming_transfer_size=excluded.maximum_incoming_transfer_size, server_mask=excluded.server_mask, maximum_outgoing_transfer_size=excluded.maximum_outgoing_transfer_size, descriptor_capability_field=excluded.descriptor_capability_field', (00:15:8d:00:02:ad:8d:f1, , 0, 0, 0, 0, , , 4151, 127, 100, 0, 100, )) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO endpoints_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id) DO UPDATE SET profile_id=excluded.profile_id, device_type=excluded.device_type, status=excluded.status', [(00:15:8d:00:02:ad:8d:f1, 1, 260, , )]) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO endpoints_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id) DO UPDATE SET profile_id=excluded.profile_id, device_type=excluded.device_type, status=excluded.status', [(00:15:8d:00:02:ad:8d:f1, 1, 260, , )]) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO in_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:02:ad:8d:f1, 1, 0), (00:15:8d:00:02:ad:8d:f1, 1, 18), (00:15:8d:00:02:ad:8d:f1, 1, 6), (00:15:8d:00:02:ad:8d:f1, 1, 1)]) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO in_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:02:ad:8d:f1, 1, 0), (00:15:8d:00:02:ad:8d:f1, 1, 18), (00:15:8d:00:02:ad:8d:f1, 1, 6), (00:15:8d:00:02:ad:8d:f1, 1, 1)]) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', [(00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI'), (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit')]) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', [(00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI'), (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit')]) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO unsupported_attributes_v10 VALUES (?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO NOTHING', []) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO unsupported_attributes_v10 VALUES (?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO NOTHING', []) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial(, 'INSERT INTO out_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:02:ad:8d:f1, 1, 0)]) [2022-09-01 21:34:20][DEBUG] : operation functools.partial(, 'INSERT INTO out_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:02:ad:8d:f1, 1, 0)]) completed [2022-09-01 21:34:20][DEBUG] : executing functools.partial() [2022-09-01 21:34:20][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:20][DEBUG] : Data frame: b'27dfa1a92a2a72887e' [2022-09-01 21:34:20][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:20][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:20][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=59), 60, b";\xf1\x8d\xad\x02\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:20][DEBUG] : Sending: b'73dc21a9602a1529c8944a04aa5592099d4e2790d1d85c7a706b6189716b3fa6ebcddd9ba57d5d3924f22fed8dc7ff7e' [2022-09-01 21:34:20][DEBUG] : Data frame: b'30dca1a9602a157588167e' [2022-09-01 21:34:20][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:20][DEBUG] : Application frame 52 (sendUnicast) received: b'00c7' [2022-09-01 21:34:21][DEBUG] : Data frame: b'40dcb1a9d42a573f082dda7e' [2022-09-01 21:34:21][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:21][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:21][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:21][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:21][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:21][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:21][DEBUG] : executing functools.partial() [2022-09-01 21:34:21][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:21][DEBUG] : Send command readCounters: () [2022-09-01 21:34:21][DEBUG] : Sending: b'05dd21a9a52a5edd7e' [2022-09-01 21:34:21][DEBUG] : Data frame: b'51dda1a9a52a1bb245940b2589559249bb4e23abe9ce7a8bf3c67489f67e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824f8157e' [2022-09-01 21:34:21][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:21][DEBUG] : Application frame 241 (readCounters) received: b'0e001c004100230000002700040004001d000e0017000a0000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:21][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:21][DEBUG] : Sending: b'16e221a9fe2a16bf857e' [2022-09-01 21:34:21][DEBUG] : Data frame: b'62e2a1a9fe2a15b3b0e6067e' [2022-09-01 21:34:21][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:21][DEBUG] : Application frame 170 (getValue) received: b'0001e9' [2022-09-01 21:34:21][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 233 [2022-09-01 21:34:21][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1459, MAC_RX_UNICAST = 478, MAC_TX_UNICAST_SUCCESS = 228, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 108, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 323, APS_DATA_TX_UNICAST_SUCCESS = 152, APS_DATA_TX_UNICAST_RETRY = 45, APS_DATA_TX_UNICAST_FAILED = 20, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 233] [2022-09-01 21:34:22][DEBUG] : Data frame: b'72e2b1a9112a15b658924e24ab5593499cb89b6050759874fade6583fc7e27a6e946687e' [2022-09-01 21:34:22][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:22][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f6bccbbdbbffff0718060a0000180102' [2022-09-01 21:34:22][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=246), 188, -53, 0xbbbd, 255, 255, b'\x18\x06 \x00\x00\x18\x01'] [2022-09-01 21:34:22][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x06 \x00\x00\x18\x01' [2022-09-01 21:34:22][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=6, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:34:22][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:22][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 6): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:22][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=6, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:34:22][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:34:22][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:34:22][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:34:22][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:34:22][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:34:22][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:22][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:34:22][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:34:22][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060862.800588, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:22][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060862.800588, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:22][DEBUG] : executing functools.partial() [2022-09-01 21:34:22][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:22][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:34:22][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:34:22][DEBUG] : executing functools.partial() [2022-09-01 21:34:22][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:22][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:34:22][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:34:22][DEBUG] : executing functools.partial() [2022-09-01 21:34:22][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:22][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:23][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:34:23][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:23][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:23][DEBUG] : Data frame: b'02e2b1a96b2a1529c8944a04aa5592099d4e276cd1ce6788a87e' [2022-09-01 21:34:23][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:23][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100002100000040010000c73c0000' [2022-09-01 21:34:23][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=199), 60, , b''] [2022-09-01 21:34:23][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060863.758615, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:23][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060863.758615, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:23][DEBUG] : executing functools.partial() [2022-09-01 21:34:23][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:23][DEBUG] : Data frame: b'12e2b1a9112a15b259b5ca25aa1593499cb3ff79765f9874fffd638b25637e' [2022-09-01 21:34:23][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:23][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000002180000040010000fdd8d29b91ffff023b0002' [2022-09-01 21:34:23][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=253), 216, -46, 0x919b, 255, 255, b';\x00'] [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'basic' input cluster [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_swit' input cluster: 0 [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of input cluster 'basic' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'power', is_server 'True' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind input cluster 'power' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'power' input cluster [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] This input cluster have REPORT_CONFIG, we need to configure it [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Reporting 'battery_voltage' attr on 'power' input cluster: 3600/10800/1: For: '00:15:8d:00:02:ad:8d:f1' [2022-09-01 21:34:23][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060863.774714, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Reporting 'battery_percentage_remaining' attr on 'power' input cluster: 3600/10800/1: For: '00:15:8d:00:02:ad:8d:f1' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_swit' input cluster: 1 [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of input cluster 'power' [2022-09-01 21:34:23][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060863.774714, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'device_temperature', is_server 'True' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind input cluster 'device_temperature' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'device_temperature' input cluster [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_swit' input cluster: 2 [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of input cluster 'device_temperature' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'multistate_input', is_server 'True' [2022-09-01 21:34:23][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind input cluster 'multistate_input' [2022-09-01 21:34:23][DEBUG] : [0x919b] Extending timeout for 0x3d request [2022-09-01 21:34:23][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:23][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:23][DEBUG] : executing functools.partial() [2022-09-01 21:34:23][DEBUG] : Sending: b'22e321a92a2ae43ff4964aa8bf559302af7e' [2022-09-01 21:34:23][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:23][DEBUG] : Data frame: b'23e3a1a92a2af3ec7e' [2022-09-01 21:34:23][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:23][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:23][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=61), 62, b"=\xf1\x8d\xad\x02\x00\x8d\x15\x00\x01\x12\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:23][DEBUG] : Sending: b'33e021a9602a1529c8944a04aa5592099d4e2796d3d85a7a706b6189716b3fa6f9cddd9ba57d5d3924f22fed8d068a7e' [2022-09-01 21:34:23][DEBUG] : Data frame: b'34e0a1a9602a157a7d727e' [2022-09-01 21:34:23][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:23][DEBUG] : Application frame 52 (sendUnicast) received: b'00c8' [2022-09-01 21:34:27][DEBUG] : Data frame: b'44e0b1a96b2a1529c8944a04aa5592099d4e2763d3ce6766557e' [2022-09-01 21:34:27][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:27][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100002100000040010000c83e0000' [2022-09-01 21:34:27][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=200), 62, , b''] [2022-09-01 21:34:27][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060867.004323, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:27][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060867.004323, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:27][DEBUG] : executing functools.partial() [2022-09-01 21:34:27][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:27][DEBUG] : Data frame: b'54e0b1a9112a15b259b5ca25aa1593499cb0ff79765f9874fffb638baaa47e' [2022-09-01 21:34:27][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:27][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0000002180000040010000fed8d29b91ffff023d0002' [2022-09-01 21:34:27][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=254), 216, -46, 0x919b, 255, 255, b'=\x00'] [2022-09-01 21:34:27][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'multistate_input' input cluster [2022-09-01 21:34:27][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] This input cluster have REPORT_CONFIG, we need to configure it [2022-09-01 21:34:27][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Reporting 'present_value' attr on 'multistate_input' input cluster: 30/900/1: For: '00:15:8d:00:02:ad:8d:f1' [2022-09-01 21:34:27][DEBUG] : [0x919B:1:0x0012] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=63, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:27][DEBUG] : [0x919B:1:0x0012] Sending request: Configure_Reporting(config_records=[AttributeReportingConfig(direction=0, attrid=0x0055, datatype=57, min_interval=30, max_interval=900, reportable_change=1)]) [2022-09-01 21:34:27][DEBUG] : [0x919b] Extending timeout for 0x3f request [2022-09-01 21:34:27][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:27][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:27][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060867.018296, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:27][DEBUG] : Sending: b'46e121a92a2ae43ff4964aa8bf5593d8c27e' [2022-09-01 21:34:27][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060867.018296, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:27][DEBUG] : executing functools.partial() [2022-09-01 21:34:27][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:27][DEBUG] : Data frame: b'65e1a1a92a2a509e7e' [2022-09-01 21:34:27][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:27][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:27][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=18, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=63), 64, b'\x00?\x06\x00U\x009\x1e\x00\x84\x03\x00\x00\x80?') [2022-09-01 21:34:27][DEBUG] : Sending: b'57e621a9602a1529c8904b37aa5493099d4e2794adc167b4fbc63689c5603f23e8cddeefb0674d7e' [2022-09-01 21:34:27][DEBUG] : Data frame: b'76e6a1a9602a157bb5007e' [2022-09-01 21:34:27][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:27][DEBUG] : Application frame 52 (sendUnicast) received: b'00c9' [2022-09-01 21:34:28][DEBUG] : Data frame: b'06e6b1a9d42a570fe2a6da7e' [2022-09-01 21:34:28][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:28][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:28][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:28][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:28][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:28][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:28][DEBUG] : executing functools.partial() [2022-09-01 21:34:28][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:29][DEBUG] : Data frame: b'16e6b1a9d42a570fe2f5247e' [2022-09-01 21:34:29][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:29][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:29][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:29][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:29][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:29][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:29][DEBUG] : executing functools.partial() [2022-09-01 21:34:29][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:29][DEBUG] : Data frame: b'26e6b1a9d42a573f0858d77e' [2022-09-01 21:34:29][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:29][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:29][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:29][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:29][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:29][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:29][DEBUG] : executing functools.partial() [2022-09-01 21:34:29][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:30][DEBUG] : Data frame: b'36e6b1a96b2a1529c8904b37aa5493099d4e2762adce6794827e' [2022-09-01 21:34:30][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:30][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104011200010140010000c9400000' [2022-09-01 21:34:30][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=18, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=201), 64, , b''] [2022-09-01 21:34:30][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060870.251013, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:30][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060870.251013, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:30][DEBUG] : executing functools.partial() [2022-09-01 21:34:30][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:30][DEBUG] : Data frame: b'46e6b1a9112a15b658864a24ab1593499cb1ff79765f9874f8de5c82fafc3dec077e' [2022-09-01 21:34:30][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:30][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004011200010140010000ffd8d29b91ffff05183f0b068202' [2022-09-01 21:34:30][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=18, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=255), 216, -46, 0x919b, 255, 255, b'\x18?\x0b\x06\x82'] [2022-09-01 21:34:30][DEBUG] : [0x919B:1:0x0012] Received ZCL frame: b'\x18?\x0b\x06\x82' [2022-09-01 21:34:30][DEBUG] : [0x919B:1:0x0012] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=63, command_id=11, *direction=, *is_reply=True) [2022-09-01 21:34:30][DEBUG] : [0x919B:1:0x0012] Decoded ZCL frame: MultistateInputCluster:Default_Response(command_id=6, status=) [2022-09-01 21:34:30][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_swit' input cluster: 18 [2022-09-01 21:34:30][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of input cluster 'multistate_input' [2022-09-01 21:34:30][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060870.25818, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:30][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'basic', is_server 'False' [2022-09-01 21:34:30][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind 'basic' output cluster [2022-09-01 21:34:30][DEBUG] : [0x919b] Extending timeout for 0x41 request [2022-09-01 21:34:30][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:30][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:30][DEBUG] : Sending: b'65e721a92a2ae43ff4964aa8bf5593ad947e' [2022-09-01 21:34:30][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060870.25818, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:30][DEBUG] : executing functools.partial() [2022-09-01 21:34:30][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:30][DEBUG] : Data frame: b'57e7a1a92a2a39d77e' [2022-09-01 21:34:30][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:30][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:30][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=65), 66, b"A\xf1\x8d\xad\x02\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:30][DEBUG] : Sending: b'76e421a9602a1529c8944a04aa5592099d4e27eaafd8267a706b6189716b3fa6ebcddd9ba57d5d3924f22fed8d2ae57e' [2022-09-01 21:34:30][DEBUG] : Data frame: b'60e4a1a9602a157858ff7e' [2022-09-01 21:34:30][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:30][DEBUG] : Application frame 52 (sendUnicast) received: b'00ca' [2022-09-01 21:34:30][DEBUG] : Data frame: b'70e4b1a9d42a573f0881de7e' [2022-09-01 21:34:30][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:30][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:30][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:30][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:30][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:30][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:30][DEBUG] : executing functools.partial() [2022-09-01 21:34:30][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:31][DEBUG] : Data frame: b'00e4b1a96b2a153f08944a04aa5592099d4e2715c7a86742a87e' [2022-09-01 21:34:31][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:31][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5100002100000040010000be2a6600' [2022-09-01 21:34:31][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=190), 42, , b''] [2022-09-01 21:34:31][DEBUG] : [0x518d] Delivery error for seq # 0x29, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Failed to bind 'scenes' output cluster: [0x518d:0:0x0021]: Message send failure [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] End configuration of output cluster 'scenes' [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'on_off', is_server 'False' [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Bind 'on_off' output cluster [2022-09-01 21:34:31][DEBUG] : [0x518d] Extending timeout for 0x43 request [2022-09-01 21:34:31][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:34:31][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:34:31][DEBUG] : Sending: b'01e521a92a2a7d335ada954aa8bf559385a37e' [2022-09-01 21:34:31][DEBUG] : Data frame: b'11e5a1a92a2a9aa57e' [2022-09-01 21:34:31][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:31][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:31][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=67), 68, b"C\x06\xe8\x83\x01\x00\x8d\x15\x00\x01\x06\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:31][DEBUG] : Sending: b'12ea21a9602a153f08944a04aa5592099d4e27e8a9d8248d15456289716b3fa6edcddd9ba57d5d3924f22fed8dd6987e' [2022-09-01 21:34:31][DEBUG] : Data frame: b'22eaa1a9602a157903207e' [2022-09-01 21:34:31][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:31][DEBUG] : Application frame 52 (sendUnicast) received: b'00cb' [2022-09-01 21:34:31][DEBUG] : Data frame: b'32eab1a9112a15b658924e24ab5593499cb99f6150759874fade6483fc7e27a6e93f8d7e' [2022-09-01 21:34:31][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:31][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f7b8cabdbbffff0718070a0000180102' [2022-09-01 21:34:31][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=247), 184, -54, 0xbbbd, 255, 255, b'\x18\x07 \x00\x00\x18\x01'] [2022-09-01 21:34:31][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x07 \x00\x00\x18\x01' [2022-09-01 21:34:31][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=7, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:34:31][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:31][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 7): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=7, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:34:31][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:34:31][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:34:31][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:31][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:34:31][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:34:31][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060871.404636, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:31][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060871.404636, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:31][DEBUG] : executing functools.partial() [2022-09-01 21:34:31][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:31][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:34:31][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:34:31][DEBUG] : executing functools.partial() [2022-09-01 21:34:31][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:31][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:34:31][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:34:31][DEBUG] : executing functools.partial() [2022-09-01 21:34:31][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:31][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:31][DEBUG] : Send command readCounters: () [2022-09-01 21:34:31][DEBUG] : Sending: b'24eb21a9a52aef1e7e' [2022-09-01 21:34:31][DEBUG] : Data frame: b'43eba1a9a52a1bb24494052583559249b74e23abe9ce458becc67a89f77e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048244a787e' [2022-09-01 21:34:31][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:31][DEBUG] : Application frame 241 (readCounters) received: b'0e001d004f00290000002b00040004002200110019000b0000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:31][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:31][DEBUG] : Sending: b'35e821a9fe2a168ff37e' [2022-09-01 21:34:31][DEBUG] : Data frame: b'54e8a1a9fe2a15b3b0d9f07e' [2022-09-01 21:34:31][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:31][DEBUG] : Application frame 170 (getValue) received: b'0001e9' [2022-09-01 21:34:31][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 233 [2022-09-01 21:34:31][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1460, MAC_RX_UNICAST = 492, MAC_TX_UNICAST_SUCCESS = 234, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 112, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 328, APS_DATA_TX_UNICAST_SUCCESS = 155, APS_DATA_TX_UNICAST_RETRY = 47, APS_DATA_TX_UNICAST_FAILED = 21, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 233] [2022-09-01 21:34:31][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:34:31][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:31][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:33][DEBUG] : Data frame: b'64e8b1a96b2a1529c8944a04aa5592099d4e2761afce67181b7e' [2022-09-01 21:34:33][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:33][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100002100000040010000ca420000' [2022-09-01 21:34:33][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=202), 66, , b''] [2022-09-01 21:34:33][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060873.481636, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:33][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060873.481636, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:33][DEBUG] : executing functools.partial() [2022-09-01 21:34:33][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:33][DEBUG] : Data frame: b'74e8b1a9112a15b259b5ca25aa1593499c4ef77b765f9874ff87638b93977e' [2022-09-01 21:34:33][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:33][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000000218000004001000000d0d09b91ffff02410002' [2022-09-01 21:34:33][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=0), 208, -48, 0x919b, 255, 255, b'A\x00'] [2022-09-01 21:34:33][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060873.486051, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:33][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'basic' output cluster [2022-09-01 21:34:33][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of output cluster 'basic' [2022-09-01 21:34:33][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'on_off', is_server 'False' [2022-09-01 21:34:33][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bind 'on_off' output cluster [2022-09-01 21:34:33][DEBUG] : [0x919b] Extending timeout for 0x45 request [2022-09-01 21:34:33][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:33][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:33][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060873.486051, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:33][DEBUG] : Sending: b'40e921a92a2ae43ff4964aa8bf5593e5c27e' [2022-09-01 21:34:33][DEBUG] : executing functools.partial() [2022-09-01 21:34:33][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:33][DEBUG] : Data frame: b'05e9a1a92a2a0dab7e' [2022-09-01 21:34:33][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:33][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:33][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=69), 70, b"E\xf1\x8d\xad\x02\x00\x8d\x15\x00\x01\x06\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:33][DEBUG] : Sending: b'51ee21a9602a1529c8944a04aa5592099d4e27eeabd8227a706b6189716b3fa6edcddd9ba57d5d3924f22fed8d566d7e' [2022-09-01 21:34:33][DEBUG] : Data frame: b'16eea1a9602a157efbb07e' [2022-09-01 21:34:33][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:33][DEBUG] : Application frame 52 (sendUnicast) received: b'00cc' [2022-09-01 21:34:36][DEBUG] : Data frame: b'26eeb1a96b2a1529c8944a04aa5592099d4e2767abce67947d7e' [2022-09-01 21:34:36][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:36][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9100002100000040010000cc460000' [2022-09-01 21:34:36][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=204), 70, , b''] [2022-09-01 21:34:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060876.719977, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060876.719977, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:36][DEBUG] : executing functools.partial() [2022-09-01 21:34:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:36][DEBUG] : Data frame: b'36eeb1a9112a15b259b5ca25aa1593499c4ff77b765f9874ff83638b154b7e' [2022-09-01 21:34:36][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:36][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000000218000004001000001d0d09b91ffff02450002' [2022-09-01 21:34:36][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=32801, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=1), 208, -48, 0x919b, 255, 255, b'E\x00'] [2022-09-01 21:34:36][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] Bound 'on_off' output cluster [2022-09-01 21:34:36][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize][Endpoint 1] End configuration of output cluster 'on_off' [2022-09-01 21:34:36][WARNING] : [00:15:8d:00:02:ad:8d:f1][zdevices.get_basic_info] Begin get basic info from device [2022-09-01 21:34:36][WARNING] : [00:15:8d:00:02:ad:8d:f1][zdevices.get_basic_info] Endpoint found [2022-09-01 21:34:36][DEBUG] : [0x919B:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=71, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:36][DEBUG] : [0x919B:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:36][DEBUG] : [0x919b] Extending timeout for 0x47 request [2022-09-01 21:34:36][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:36][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060876.734822, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:36][DEBUG] : Sending: b'64ef21a92a2ae43ff4964aa8bf5593e8037e' [2022-09-01 21:34:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060876.734822, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:36][DEBUG] : executing functools.partial() [2022-09-01 21:34:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:36][DEBUG] : Data frame: b'47efa1a92a2a217e7e' [2022-09-01 21:34:36][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:36][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:36][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=71), 72, b'\x00G\x00\x04\x00\x05\x00') [2022-09-01 21:34:36][DEBUG] : Sending: b'75ec21a9602a1529c8904b25aa5493099d4e27eca5c967ccfdc2638cfcfd6b7e' [2022-09-01 21:34:36][DEBUG] : Data frame: b'50eca1a9602a157ffd697e' [2022-09-01 21:34:36][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:36][DEBUG] : Application frame 52 (sendUnicast) received: b'00cd' [2022-09-01 21:34:37][DEBUG] : Data frame: b'60ecb1a9d42a570fe2950b7e' [2022-09-01 21:34:37][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:37][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:37][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:37][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:37][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:37][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:37][DEBUG] : executing functools.partial() [2022-09-01 21:34:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:38][DEBUG] : Data frame: b'70ecb1a9d42a570fe2c6f57e' [2022-09-01 21:34:38][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:38][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:38][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:38][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:38][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:38][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:38][DEBUG] : executing functools.partial() [2022-09-01 21:34:38][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:38][DEBUG] : Data frame: b'00ecb1a9d42a573f0834df7e' [2022-09-01 21:34:38][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:38][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:38][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:38][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:38][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:38][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:38][DEBUG] : executing functools.partial() [2022-09-01 21:34:38][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:39][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:34:39][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.serialize] Serialize device with attributes : 1 [2022-09-01 21:34:39][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=73, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:39][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:34:39][DEBUG] : [0xbbbd] Extending timeout for 0x49 request [2022-09-01 21:34:39][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:34:39][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:34:39][DEBUG] : Sending: b'01ed21a92a2a14e878954aa8bf55934e747e' [2022-09-01 21:34:39][DEBUG] : Data frame: b'11eda1a92a2a98887e' [2022-09-01 21:34:39][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:39][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:39][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=73), 74, b'\x00I\x00\x04\x00') [2022-09-01 21:34:39][DEBUG] : Sending: b'12f221a9602a150fe2904b25aa5493099d4e27e2a7cb67c2fdc263ce167e' [2022-09-01 21:34:39][DEBUG] : Data frame: b'22f2a1a9602a157cf7537e' [2022-09-01 21:34:39][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:39][DEBUG] : Application frame 52 (sendUnicast) received: b'00ce' [2022-09-01 21:34:39][DEBUG] : Data frame: b'32f2b1a96b2a150fe2904b25aa5493099d4e2769dfa86743ee7e' [2022-09-01 21:34:39][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:39][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000c2326600' [2022-09-01 21:34:39][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=194), 50, , b''] [2022-09-01 21:34:39][DEBUG] : Unexpected message send notification tag: 50 [2022-09-01 21:34:39][DEBUG] : Data frame: b'42f2b1a9d42a573f080ec47e' [2022-09-01 21:34:39][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:39][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:39][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:39][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:39][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:39][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial() [2022-09-01 21:34:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:39][DEBUG] : Data frame: b'52f2b1a96b2a1529c8904b25aa5493099d4e2766a5ce67f9567e' [2022-09-01 21:34:39][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:39][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104010000010140010000cd480000' [2022-09-01 21:34:39][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=205), 72, , b''] [2022-09-01 21:34:39][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060879.97139, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:39][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060879.97139, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial() [2022-09-01 21:34:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:39][DEBUG] : Data frame: b'62f2b1a9112a15b658944a24ab1593499c4cf77b765f9874dcde2488f87e3fe5ef818b22c6fac7db97c205f92b4a879f1355d68507dd32ef25521165257e' [2022-09-01 21:34:39][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:39][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001014001000002d0d09b91ffff2118470104000042044c554d4905000042106c756d692e73656e736f725f7377697402' [2022-09-01 21:34:39][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=2), 208, -48, 0x919b, 255, 255, b'\x18G\x01\x04\x00\x00B\x04LUMI\x05\x00\x00B\x10lumi.sensor_swit'] [2022-09-01 21:34:39][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x18G\x01\x04\x00\x00B\x04LUMI\x05\x00\x00B\x10lumi.sensor_swit' [2022-09-01 21:34:39][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=71, command_id=1, *direction=, *is_reply=True) [2022-09-01 21:34:39][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=, value=TypeValue(type=CharacterString, value='LUMI')), ReadAttributeRecord(attrid=0x0005, status=, value=TypeValue(type=CharacterString, value='lumi.sensor_swit'))]) [2022-09-01 21:34:39][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060879.98143, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:39][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 4=LUMI on cluster 0 [2022-09-01 21:34:39][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 5=lumi.sensor_swit on cluster 0 [2022-09-01 21:34:39][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_swit'} on cluster 0 [2022-09-01 21:34:39][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060879.98143, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial() [2022-09-01 21:34:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI')) [2022-09-01 21:34:39][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 4, 'LUMI')) completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial() [2022-09-01 21:34:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit')) [2022-09-01 21:34:39][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_swit')) completed [2022-09-01 21:34:39][DEBUG] : executing functools.partial() [2022-09-01 21:34:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:40][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'4': {'value': 'LUMI', 'cluster_name': 'BasicCluster'}, '5': {'value': 'lumi.sensor_swit', 'cluster_name': 'BasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_swit'}, 'cluster_name': 'BasicCluster'}}}}}}} [2022-09-01 21:34:40][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:40][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:40][DEBUG] : Data frame: b'72f2b1a96b2a150fe2944a04aa5592099d4e2768d9a86717577e' [2022-09-01 21:34:40][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:40][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb00002100000040010000c3346600' [2022-09-01 21:34:40][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=195), 52, , b''] [2022-09-01 21:34:40][DEBUG] : [0xbbbd] Delivery error for seq # 0x33, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:34:40][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] Failed to bind 'scenes' output cluster: [0xbbbd:0:0x0021]: Message send failure [2022-09-01 21:34:40][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize][Endpoint 1] End configuration of output cluster 'scenes' [2022-09-01 21:34:40][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Begin get basic info from device [2022-09-01 21:34:40][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Endpoint found [2022-09-01 21:34:40][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=75, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:40][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:34:40][DEBUG] : [0xbbbd] Extending timeout for 0x4b request [2022-09-01 21:34:40][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:34:40][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:34:40][DEBUG] : Sending: b'20f321a92a2a14e878954aa8bf55935b677e' [2022-09-01 21:34:40][DEBUG] : Data frame: b'03f3a1a92a2ac2be7e' [2022-09-01 21:34:40][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:40][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:40][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=75), 76, b'\x00K\x00\x04\x00') [2022-09-01 21:34:40][DEBUG] : Sending: b'31f021a9602a150fe2904b25aa5493099d4e27e0a1cb67c0fdc263f6367e' [2022-09-01 21:34:40][DEBUG] : Data frame: b'14f0a1a9602a157d41867e' [2022-09-01 21:34:40][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:40][DEBUG] : Application frame 52 (sendUnicast) received: b'00cf' [2022-09-01 21:34:40][DEBUG] : [0x919B:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=77, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:40][DEBUG] : [0x919B:1:0x0000] Sending request: Read_Attributes(attribute_ids=[0, 1, 2, 3]) [2022-09-01 21:34:40][DEBUG] : [0x919b] Extending timeout for 0x4d request [2022-09-01 21:34:40][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:40][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:40][DEBUG] : Sending: b'42f121a92a2ae43ff4964aa8bf559385877e' [2022-09-01 21:34:40][DEBUG] : Data frame: b'25f1a1a92a2a3ed47e' [2022-09-01 21:34:40][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:40][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:40][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=77), 78, b'\x00M\x00\x00\x00\x01\x00\x02\x00\x03\x00') [2022-09-01 21:34:41][DEBUG] : Sending: b'53f621a9602a1529c8904b25aa5493099d4e27e6a3c567c6fdc66388fc7c3fa4eb94ce7e' [2022-09-01 21:34:41][DEBUG] : Data frame: b'36f6a1a9602a1562f7b37e' [2022-09-01 21:34:41][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:41][DEBUG] : Application frame 52 (sendUnicast) received: b'00d0' [2022-09-01 21:34:41][INFO] : 200 GET /device/info?ieee=00%3A15%3A8d%3A00%3A01%3A21%3A5a%3A01 (127.0.0.1) 2003.06ms [2022-09-01 21:34:41][DEBUG] : Data frame: b'46f6b1a96b2a153f08904b25aa5493099d4e276fdba867e6347e' [2022-09-01 21:34:41][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:41][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000c4366600' [2022-09-01 21:34:41][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=196), 54, , b''] [2022-09-01 21:34:41][DEBUG] : Unexpected message send notification tag: 54 [2022-09-01 21:34:41][DEBUG] : Send command readCounters: () [2022-09-01 21:34:41][DEBUG] : Sending: b'65f721a9a52a4fdf7e' [2022-09-01 21:34:41][DEBUG] : Data frame: b'57f7a1a9a52a1bb24494112585559249b34e23abe9ce428be9c67c89f27e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482425867e' [2022-09-01 21:34:41][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:41][DEBUG] : Application frame 241 (readCounters) received: b'0e001d005b002f0000002f0004000400250014001f000e0000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:41][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:41][DEBUG] : Sending: b'76f421a9fe2a169bfa7e' [2022-09-01 21:34:41][DEBUG] : Data frame: b'60f4a1a9fe2a15b3b5cdbb7e' [2022-09-01 21:34:41][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:41][DEBUG] : Application frame 170 (getValue) received: b'0001ec' [2022-09-01 21:34:41][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 236 [2022-09-01 21:34:41][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1460, MAC_RX_UNICAST = 504, MAC_TX_UNICAST_SUCCESS = 240, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 116, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 331, APS_DATA_TX_UNICAST_SUCCESS = 158, APS_DATA_TX_UNICAST_RETRY = 53, APS_DATA_TX_UNICAST_FAILED = 24, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 236] [2022-09-01 21:34:43][DEBUG] : Data frame: b'70f4b1a96b2a1529c8904b25aa5493099d4e277ba3ce67bfdc7e' [2022-09-01 21:34:43][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:43][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104010000010140010000d04e0000' [2022-09-01 21:34:43][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=208), 78, , b''] [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060883.203596, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060883.203596, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][DEBUG] : Data frame: b'00f4b1a9112a15b658944a24ab1593499c4df77b765f9874eade2e88fc7e3f87eaccde6faffac5dbd5f26b8f462389ed7417117e' [2022-09-01 21:34:43][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:43][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001014001000003d0d09b91ffff17184d01000000200101000020050200002002030000200102' [2022-09-01 21:34:43][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=3), 208, -48, 0x919b, 255, 255, b'\x18M\x01\x00\x00\x00 \x01\x01\x00\x00 \x05\x02\x00\x00 \x02\x03\x00\x00 \x01'] [2022-09-01 21:34:43][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x18M\x01\x00\x00\x00 \x01\x01\x00\x00 \x05\x02\x00\x00 \x02\x03\x00\x00 \x01' [2022-09-01 21:34:43][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=77, command_id=1, *direction=, *is_reply=True) [2022-09-01 21:34:43][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=, value=TypeValue(type=uint8_t, value=1)), ReadAttributeRecord(attrid=0x0001, status=, value=TypeValue(type=uint8_t, value=5)), ReadAttributeRecord(attrid=0x0002, status=, value=TypeValue(type=uint8_t, value=2)), ReadAttributeRecord(attrid=0x0003, status=, value=TypeValue(type=uint8_t, value=1))]) [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060883.213212, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:43][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 0=1 on cluster 0 [2022-09-01 21:34:43][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 1=5 on cluster 0 [2022-09-01 21:34:43][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 2=2 on cluster 0 [2022-09-01 21:34:43][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 3=1 on cluster 0 [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060883.213212, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 0, 1)) [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 0, 1)) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 1, 5)) [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 1, 5)) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 2, 2)) [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 2, 2)) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 3, 1)) [2022-09-01 21:34:43][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 3, 1)) completed [2022-09-01 21:34:43][DEBUG] : executing functools.partial() [2022-09-01 21:34:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:43][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'0': {'value': '1', 'cluster_name': 'BasicCluster'}, '1': {'value': '5', 'cluster_name': 'BasicCluster'}, '2': {'value': '2', 'cluster_name': 'BasicCluster'}, '3': {'value': '1', 'cluster_name': 'BasicCluster'}}}}}} [2022-09-01 21:34:43][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:43][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:44][DEBUG] : [0x919B:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=79, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:44][DEBUG] : [0x919B:1:0x0000] Sending request: Read_Attributes(attribute_ids=[7]) [2022-09-01 21:34:44][DEBUG] : [0x919b] Extending timeout for 0x4f request [2022-09-01 21:34:44][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:44][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:44][DEBUG] : Sending: b'01f521a92a2ae43ff4964aa8bf5593b10e7e' [2022-09-01 21:34:44][DEBUG] : Data frame: b'11f5a1a92a2a9eff7e' [2022-09-01 21:34:44][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:44][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:44][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=79), 80, b'\x00O\x00\x07\x00') [2022-09-01 21:34:44][DEBUG] : Sending: b'12fa21a9602a1529c8904b25aa5493099d4e27e4bdcb67c4fdc163fc7d387e' [2022-09-01 21:34:44][DEBUG] : Data frame: b'22faa1a9602a156387207e' [2022-09-01 21:34:44][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:44][DEBUG] : Application frame 52 (sendUnicast) received: b'00d1' [2022-09-01 21:34:46][DEBUG] : Data frame: b'32fab1a96b2a1529c8904b25aa5493099d4e277abdce67b8967e' [2022-09-01 21:34:46][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:46][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104010000010140010000d1500000' [2022-09-01 21:34:46][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=209), 80, , b''] [2022-09-01 21:34:46][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060886.437075, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:46][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060886.437075, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:46][DEBUG] : executing functools.partial() [2022-09-01 21:34:46][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:46][DEBUG] : Data frame: b'42fab1a9112a15b658944a24ab1593499c4af77b765f9874f5de2c88fb7e3f97e8cfe0b57e' [2022-09-01 21:34:46][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:46][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001014001000004d0d09b91ffff08184f01070000300302' [2022-09-01 21:34:46][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=4), 208, -48, 0x919b, 255, 255, b'\x18O\x01\x07\x00\x000\x03'] [2022-09-01 21:34:46][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x18O\x01\x07\x00\x000\x03' [2022-09-01 21:34:46][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=79, command_id=1, *direction=, *is_reply=True) [2022-09-01 21:34:46][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0007, status=, value=TypeValue(type=enum8, value=))]) [2022-09-01 21:34:46][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 7=PowerSource.Battery on cluster 0 [2022-09-01 21:34:46][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060886.444456, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:46][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060886.444456, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:46][DEBUG] : executing functools.partial() [2022-09-01 21:34:46][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:46][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 7, )) [2022-09-01 21:34:46][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 7, )) completed [2022-09-01 21:34:46][DEBUG] : executing functools.partial() [2022-09-01 21:34:46][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:46][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'7': {'value': 'PowerSource.Battery', 'cluster_name': 'BasicCluster'}}}}}} [2022-09-01 21:34:46][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:46][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:46][DEBUG] : Data frame: b'52fab1a9d42a570fe21a117e' [2022-09-01 21:34:46][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:46][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:46][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:46][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:46][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:46][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:46][DEBUG] : executing functools.partial() [2022-09-01 21:34:46][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:47][DEBUG] : [0x919B:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=81, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:47][DEBUG] : [0x919B:1:0x0000] Sending request: Read_Attributes(attribute_ids=[6, 16384]) [2022-09-01 21:34:47][DEBUG] : [0x919b] Extending timeout for 0x51 request [2022-09-01 21:34:47][DEBUG] : Extending timeout for 00:15:8d:00:02:ad:8d:f1/0x919b [2022-09-01 21:34:47][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:34:47][DEBUG] : Sending: b'26fb21a92a2ae43ff4964aa8bf5593b4817e' [2022-09-01 21:34:47][DEBUG] : Data frame: b'63fba1a92a2a9f8b7e' [2022-09-01 21:34:47][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:47][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:47][DEBUG] : Send command sendUnicast: (, 0x919B, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=81), 82, b'\x00Q\x00\x06\x00\x00@') [2022-09-01 21:34:47][DEBUG] : Sending: b'37f821a9602a1529c8904b25aa5493099d4e27fabfc967dafdc06389bcaff87e' [2022-09-01 21:34:47][DEBUG] : Data frame: b'74f8a1a9602a15609c0f7e' [2022-09-01 21:34:47][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:47][DEBUG] : Application frame 52 (sendUnicast) received: b'00d2' [2022-09-01 21:34:47][DEBUG] : Data frame: b'04f8b1a9d42a570fe2c3187e' [2022-09-01 21:34:47][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:47][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:47][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:47][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:47][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:47][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:47][DEBUG] : executing functools.partial() [2022-09-01 21:34:47][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:48][DEBUG] : Data frame: b'14f8b1a9d42a573f08c9177e' [2022-09-01 21:34:48][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:48][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:48][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:48][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:48][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:48][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:48][DEBUG] : executing functools.partial() [2022-09-01 21:34:48][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:49][DEBUG] : Data frame: b'24f8b1a96b2a1529c8904b25aa5493099d4e2779bfce67e8f77e' [2022-09-01 21:34:49][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:49][DEBUG] : Application frame 63 (messageSentHandler) received: b'009b9104010000010140010000d2520000' [2022-09-01 21:34:49][DEBUG] : Received messageSentHandler frame with [, 37275, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=210), 82, , b''] [2022-09-01 21:34:49][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060889.669766, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:49][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060889.669766, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial() [2022-09-01 21:34:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:49][DEBUG] : Data frame: b'34f8b1a9112a15b658944a24ab1593499c4bf77b765f9874e3de3288fa7e3fe5e3ffee5eb7cff1e9ecd2298c042a9adc460b88da45b2709a30397e' [2022-09-01 21:34:49][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:49][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001014001000005d0d09b91ffff1e185101060000420832303138303632390040004209333030302d3030303102' [2022-09-01 21:34:49][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=5), 208, -48, 0x919b, 255, 255, b'\x18Q\x01\x06\x00\x00B\x0820180629\x00@\x00B 3000-0001'] [2022-09-01 21:34:49][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x18Q\x01\x06\x00\x00B\x0820180629\x00@\x00B 3000-0001' [2022-09-01 21:34:49][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=81, command_id=1, *direction=, *is_reply=True) [2022-09-01 21:34:49][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0006, status=, value=TypeValue(type=CharacterString, value='20180629')), ReadAttributeRecord(attrid=0x4000, status=, value=TypeValue(type=CharacterString, value='3000-0001'))]) [2022-09-01 21:34:49][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 6=20180629 on cluster 0 [2022-09-01 21:34:49][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 16384=3000-0001 on cluster 0 [2022-09-01 21:34:49][WARNING] : [00:15:8d:00:02:ad:8d:f1][zdevices.get_basic_info] End get basic info from device [2022-09-01 21:34:49][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.initialize] End device initialize [2022-09-01 21:34:49][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060889.680702, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:49][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060889.680702, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial() [2022-09-01 21:34:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 6, '20180629')) [2022-09-01 21:34:49][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 6, '20180629')) completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial() [2022-09-01 21:34:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 16384, '3000-0001')) [2022-09-01 21:34:49][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 16384, '3000-0001')) completed [2022-09-01 21:34:49][DEBUG] : executing functools.partial() [2022-09-01 21:34:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:49][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'6': {'value': '20180629', 'cluster_name': 'BasicCluster'}, '16384': {'value': '3000-0001', 'cluster_name': 'BasicCluster'}}}}}} [2022-09-01 21:34:49][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:34:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:50][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:34:50][INFO] : [84:fd:27:ff:fe:82:2a:f4][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=83, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:50][DEBUG] : Send command sendUnicast: (, 0x0000, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=83), 84, b'\x00S\x00\x04\x00\x05\x00') [2022-09-01 21:34:50][DEBUG] : Sending: b'44f921a9602a15b259904b25aa5493099d4e27f8b9c967d8fdc2638cfc835c7e' [2022-09-01 21:34:50][DEBUG] : Data frame: b'45f9a1a9602a156135407e' [2022-09-01 21:34:50][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:50][DEBUG] : Application frame 52 (sendUnicast) received: b'00d3' [2022-09-01 21:34:50][DEBUG] : Data frame: b'55f9b1a9112a15b658944a24ab1593499c9dd8abedce9874fac63089f87e3aa769a97e' [2022-09-01 21:34:50][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000d3ff000000ffff0700530004000500' [2022-09-01 21:34:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=211), 255, 0, 0x0000, 255, 255, b'\x00S\x00\x04\x00\x05\x00'] [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Received ZCL frame: b'\x00S\x00\x04\x00\x05\x00' [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=83, command_id=0, *direction=, *is_reply=False) [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:50][DEBUG] : [0x0000:1:0x0000] Received command 0x00 (TSN 83): Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:50][INFO] : [84:fd:27:ff:fe:82:2a:f4][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=83, command_id=0, *direction=, *is_reply=False) args: (Read_Attributes(attribute_ids=[4, 5]),) [2022-09-01 21:34:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060890.575466, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060890.575466, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:50][DEBUG] : executing functools.partial() [2022-09-01 21:34:50][DEBUG] : Data frame: b'65f9b1a96b2a15b259904b25aa5493099d4e2778b9ce67833f7e' [2022-09-01 21:34:50][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:50][DEBUG] : Application frame 63 (messageSentHandler) received: b'00000004010000010140010000d3540000' [2022-09-01 21:34:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:50][DEBUG] : Received messageSentHandler frame with [, 0, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=211), 84, , b''] [2022-09-01 21:34:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060890.580797, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:34:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060890.580797, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:34:50][DEBUG] : executing functools.partial() [2022-09-01 21:34:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:51][DEBUG] : Send command readCounters: () [2022-09-01 21:34:51][DEBUG] : Sending: b'57fe21a9a52a436f7e' [2022-09-01 21:34:51][DEBUG] : Data frame: b'76fea1a9a52a1bb247942d259f559249ae4e23abe9ce4e8be5c67c89f27e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824d9817e' [2022-09-01 21:34:51][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:51][DEBUG] : Application frame 241 (readCounters) received: b'0e001e00670035000000320004000400290018001f000e0000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:34:51][DEBUG] : Send command getValue: (,) [2022-09-01 21:34:51][DEBUG] : Sending: b'60ff21a9fe2a16ce067e' [2022-09-01 21:34:51][DEBUG] : Data frame: b'07ffa1a9fe2a15b3b772d87e' [2022-09-01 21:34:51][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:51][DEBUG] : Application frame 170 (getValue) received: b'0001ee' [2022-09-01 21:34:51][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 238 [2022-09-01 21:34:51][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1461, MAC_RX_UNICAST = 516, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 119, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 335, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 53, APS_DATA_TX_UNICAST_FAILED = 24, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 238] [2022-09-01 21:34:52][INFO] : [00:15:8d:00:02:37:6b:76][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:52][INFO] : [a4:c1:38:2f:b6:32:51:18][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:52][INFO] : [00:15:8d:00:02:00:a5:40][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:52][INFO] : [00:15:8d:00:01:a2:e8:07][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:52][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:52][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=85, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:52][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:34:52][DEBUG] : [0xbbbd] Extending timeout for 0x55 request [2022-09-01 21:34:52][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:34:52][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:34:52][DEBUG] : Sending: b'71fc21a92a2a14e878954aa8bf55930a757e' [2022-09-01 21:34:52][DEBUG] : Data frame: b'10fca1a92a2a73237e' [2022-09-01 21:34:52][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:52][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:52][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=85), 86, b'\x00U\x00\x04\x00') [2022-09-01 21:34:52][DEBUG] : Sending: b'02fd21a9602a150fe2904b25aa5493099d4e27febbcb67defdc263d3387e' [2022-09-01 21:34:52][DEBUG] : Data frame: b'21fda1a9602a156606b47e' [2022-09-01 21:34:52][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:52][DEBUG] : Application frame 52 (sendUnicast) received: b'00d4' [2022-09-01 21:34:54][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:54][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=87, command_id=, *direction=, *is_reply=False) [2022-09-01 21:34:54][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:34:54][DEBUG] : [0x518d] Extending timeout for 0x57 request [2022-09-01 21:34:54][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:34:54][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:34:54][DEBUG] : Sending: b'7d338221a92a2a7d335ada954aa8bf559340867e' [2022-09-01 21:34:54][DEBUG] : Data frame: b'3282a1a92a2a1f457e' [2022-09-01 21:34:54][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:34:54][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:54][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=87), 88, b'\x00W\x00\x04\x00\x05\x00') [2022-09-01 21:34:54][DEBUG] : Sending: b'248321a9602a153f08904b25aa5493099d4e27fcb5c967dcfdc2638cfca0dc7e' [2022-09-01 21:34:54][DEBUG] : Data frame: b'4383a1a9602a1567a2627e' [2022-09-01 21:34:54][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:34:54][DEBUG] : Application frame 52 (sendUnicast) received: b'00d5' [2022-09-01 21:34:56][DEBUG] : Data frame: b'5383b1a9d42a570fe218377e' [2022-09-01 21:34:56][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:34:56][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:56][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:56][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:56][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:56][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:56][DEBUG] : executing functools.partial() [2022-09-01 21:34:56][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:56][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:34:56][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 6015.17ms [2022-09-01 21:34:56][INFO] : [GroupHandler.prepare] Json arg : None [2022-09-01 21:34:56][INFO] : 200 GET /group/all (127.0.0.1) 0.67ms [2022-09-01 21:34:56][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:34:57][DEBUG] : Data frame: b'6383b1a9d42a570fe2ec357e' [2022-09-01 21:34:57][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:34:57][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:34:57][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:34:57][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:34:57][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:34:57][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:34:57][DEBUG] : executing functools.partial() [2022-09-01 21:34:57][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:57][DEBUG] : Data frame: b'7383b1a9d42a573f08e63a7e' [2022-09-01 21:34:57][DEBUG] : Sending: b'8070787e' [2022-09-01 21:34:57][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:34:57][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:34:57][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:34:57][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:34:57][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:34:57][DEBUG] : executing functools.partial() [2022-09-01 21:34:57][DEBUG] : operation functools.partial() completed [2022-09-01 21:34:59][DEBUG] : Data frame: b'0383b1a96b2a153f08944a04aa5592099d4e2760a9a8673d317e' [2022-09-01 21:34:59][DEBUG] : Sending: b'8160597e' [2022-09-01 21:34:59][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5100002100000040010000cb446600' [2022-09-01 21:34:59][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=203), 68, , b''] [2022-09-01 21:34:59][DEBUG] : [0x518d] Delivery error for seq # 0x43, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:34:59][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Failed to bind 'on_off' output cluster: [0x518d:0:0x0021]: Message send failure [2022-09-01 21:34:59][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] End configuration of output cluster 'on_off' [2022-09-01 21:34:59][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'level', is_server 'False' [2022-09-01 21:34:59][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Bind 'level' output cluster [2022-09-01 21:34:59][DEBUG] : [0x518d] Extending timeout for 0x59 request [2022-09-01 21:34:59][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:34:59][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:34:59][DEBUG] : Sending: b'318021a92a2a7d335ada954aa8bf559366897e' [2022-09-01 21:34:59][DEBUG] : Data frame: b'1480a1a92a2ae32f7e' [2022-09-01 21:34:59][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:34:59][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:34:59][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=89), 90, b"Y\x06\xe8\x83\x01\x00\x8d\x15\x00\x01\x08\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:34:59][DEBUG] : Sending: b'428121a9602a153f08944a04aa5592099d4e27f2b7d83e8d15456289716b3fa6e3cddd9ba57d5d3924f22fed8db49a7e' [2022-09-01 21:34:59][DEBUG] : Data frame: b'2581a1a9602a1564ff917e' [2022-09-01 21:34:59][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:34:59][DEBUG] : Application frame 52 (sendUnicast) received: b'00d6' [2022-09-01 21:35:00][DEBUG] : Data frame: b'3581b1a9d42a570fe2353c7e' [2022-09-01 21:35:00][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:00][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:00][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:00][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:00][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:00][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:00][DEBUG] : executing functools.partial() [2022-09-01 21:35:00][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:01][DEBUG] : Send command readCounters: () [2022-09-01 21:35:01][DEBUG] : Sending: b'548621a9a52a92247e' [2022-09-01 21:35:01][DEBUG] : Data frame: b'4686a1a9a52a1bb2469420259f559249aa4e23abe9ce4e8be5c64289f37e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048245d2c7e' [2022-09-01 21:35:01][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:01][DEBUG] : Application frame 241 (readCounters) received: b'0e001f006a00350000003600040004002900180021000f0000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:01][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:01][DEBUG] : Sending: b'658721a9fe2a16ff7f7e' [2022-09-01 21:35:01][DEBUG] : Data frame: b'5787a1a9fe2a15b3b390ad7e' [2022-09-01 21:35:01][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:01][DEBUG] : Application frame 170 (getValue) received: b'0001ea' [2022-09-01 21:35:01][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 234 [2022-09-01 21:35:01][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1462, MAC_RX_UNICAST = 519, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 123, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 335, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 55, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 234] [2022-09-01 21:35:02][DEBUG] : Data frame: b'6787b1a9d42a573f0826467e' [2022-09-01 21:35:02][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:02][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:02][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:02][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:02][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:02][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:02][DEBUG] : executing functools.partial() [2022-09-01 21:35:02][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:05][DEBUG] : Data frame: b'7787b1a9d42a570fe22c497e' [2022-09-01 21:35:05][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:05][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:05][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:05][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:05][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:05][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:05][DEBUG] : executing functools.partial() [2022-09-01 21:35:05][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:06][DEBUG] : Data frame: b'0787b1a9d42a570fe287927e' [2022-09-01 21:35:06][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:06][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:06][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:06][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:06][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:06][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:06][DEBUG] : executing functools.partial() [2022-09-01 21:35:06][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:06][DEBUG] : Data frame: b'1787b1a9d42a573f088d9d7e' [2022-09-01 21:35:06][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:06][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:06][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:06][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:06][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:06][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:06][DEBUG] : executing functools.partial() [2022-09-01 21:35:06][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:06][DEBUG] : Data frame: b'2787b1a96b2a150fe2904b25aa5493099d4e2765a7a867642d7e' [2022-09-01 21:35:06][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:06][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000ce4a6600' [2022-09-01 21:35:06][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=206), 74, , b''] [2022-09-01 21:35:06][DEBUG] : Unexpected message send notification tag: 74 [2022-09-01 21:35:08][DEBUG] : Data frame: b'3787b1a96b2a150fe2904b25aa5493099d4e2764a1a867904f7e' [2022-09-01 21:35:08][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:08][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000cf4c6600' [2022-09-01 21:35:08][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=207), 76, , b''] [2022-09-01 21:35:08][DEBUG] : [0xbbbd] Delivery error for seq # 0x4b, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:35:08][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Error on read attribute level 1 : [0xbbbd:1:0x0000]: Message send failure [2022-09-01 21:35:08][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=91, command_id=, *direction=, *is_reply=False) [2022-09-01 21:35:08][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[0, 2, 3]) [2022-09-01 21:35:08][DEBUG] : [0xbbbd] Extending timeout for 0x5b request [2022-09-01 21:35:08][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:35:08][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:35:08][DEBUG] : Sending: b'748421a92a2a14e878954aa8bf5593a4d77e' [2022-09-01 21:35:08][DEBUG] : Data frame: b'4084a1a92a2a1c1c7e' [2022-09-01 21:35:08][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:08][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:35:08][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=91), 92, b'\x00[\x00\x00\x00\x02\x00\x03\x00') [2022-09-01 21:35:08][DEBUG] : Sending: b'058521a9602a150fe2904b25aa5493099d4e27f0b1c767d0fdc6638bfc7d5d3fc9e47e' [2022-09-01 21:35:08][DEBUG] : Data frame: b'5185a1a9602a156591177e' [2022-09-01 21:35:08][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:08][DEBUG] : Application frame 52 (sendUnicast) received: b'00d7' [2022-09-01 21:35:09][DEBUG] : Data frame: b'6185b1a9d42a570fe2aa997e' [2022-09-01 21:35:09][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:09][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:09][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:09][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:09][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:09][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:09][DEBUG] : executing functools.partial() [2022-09-01 21:35:09][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:11][DEBUG] : Send command readCounters: () [2022-09-01 21:35:11][DEBUG] : Sending: b'178a21a9a52abdff7e' [2022-09-01 21:35:11][DEBUG] : Data frame: b'7185b1a9d42a573f08a0967e' [2022-09-01 21:35:11][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:11][DEBUG] : executing functools.partial() [2022-09-01 21:35:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:11][DEBUG] : Data frame: b'028aa1a9a52a1bb2469420259f559249a04e23abe9ce4e8be5c64689ed7e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482414a17e' [2022-09-01 21:35:11][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:11][DEBUG] : Application frame 241 (readCounters) received: b'0e001f006a00350000003c0004000400290018002500110000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:11][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:11][DEBUG] : Sending: b'218b21a9fe2a16e8b67e' [2022-09-01 21:35:11][DEBUG] : Data frame: b'138ba1a9fe2a15b3b522ea7e' [2022-09-01 21:35:11][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:11][DEBUG] : Application frame 170 (getValue) received: b'0001ec' [2022-09-01 21:35:11][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 236 [2022-09-01 21:35:11][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1462, MAC_RX_UNICAST = 519, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 129, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 335, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 59, APS_DATA_TX_UNICAST_FAILED = 27, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 236] [2022-09-01 21:35:14][DEBUG] : Data frame: b'238bb1a9112a15b658924e24ab5593499cb6e36650759874fade6b83fc7e27a6e9cb967e' [2022-09-01 21:35:14][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:14][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f8c4cdbdbbffff0718080a0000180102' [2022-09-01 21:35:14][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=248), 196, -51, 0xbbbd, 255, 255, b'\x18\x08 \x00\x00\x18\x01'] [2022-09-01 21:35:14][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x08 \x00\x00\x18\x01' [2022-09-01 21:35:14][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=8, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:14][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:14][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 8): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:14][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=8, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:14][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:14][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:14][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:14][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:14][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:14][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:14][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:14][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:14][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060914.684018, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:14][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060914.684018, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:14][DEBUG] : executing functools.partial() [2022-09-01 21:35:14][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:14][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:14][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:14][DEBUG] : executing functools.partial() [2022-09-01 21:35:14][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:14][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:14][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:14][DEBUG] : executing functools.partial() [2022-09-01 21:35:14][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:14][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:14][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:14][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:15][DEBUG] : Data frame: b'338bb1a9d42a570fe2fec87e' [2022-09-01 21:35:15][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:15][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:15][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:15][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:15][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:15][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:15][DEBUG] : executing functools.partial() [2022-09-01 21:35:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:16][DEBUG] : Data frame: b'438bb1a9d42a573f080ce27e' [2022-09-01 21:35:16][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:16][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:16][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:16][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:16][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:16][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:16][DEBUG] : executing functools.partial() [2022-09-01 21:35:16][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:18][DEBUG] : Data frame: b'538bb1a9d42a570fe206ed7e' [2022-09-01 21:35:18][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:18][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:18][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:18][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:18][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:18][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:18][DEBUG] : executing functools.partial() [2022-09-01 21:35:18][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:20][DEBUG] : Data frame: b'638bb1a96b2a150fe2904b25aa5493099d4e277fbba8679d147e' [2022-09-01 21:35:20][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:20][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000d4566600' [2022-09-01 21:35:20][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=212), 86, , b''] [2022-09-01 21:35:20][DEBUG] : Unexpected message send notification tag: 86 [2022-09-01 21:35:20][DEBUG] : Data frame: b'738bb1a9d42a573f08f8e07e' [2022-09-01 21:35:20][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:20][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:20][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:20][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:20][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:20][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:20][DEBUG] : executing functools.partial() [2022-09-01 21:35:20][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:21][DEBUG] : Send command readCounters: () [2022-09-01 21:35:21][DEBUG] : Sending: b'308821a9a52a04357e' [2022-09-01 21:35:21][DEBUG] : Data frame: b'0488a1a9a52a1bb2799421259f559249dc4e23abe9ce4d8be5c64489ee7e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824823b7e' [2022-09-01 21:35:21][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:21][DEBUG] : Application frame 241 (readCounters) received: b'0e0020006b00350000004000040004002a0018002700120000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:21][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:21][DEBUG] : Sending: b'418921a9fe2a16d0ec7e' [2022-09-01 21:35:21][DEBUG] : Data frame: b'1589a1a9fe2a15b3b4e7e57e' [2022-09-01 21:35:21][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:21][DEBUG] : Application frame 170 (getValue) received: b'0001ed' [2022-09-01 21:35:21][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 237 [2022-09-01 21:35:21][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1463, MAC_RX_UNICAST = 520, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 133, APS_DATA_RX_BROADCAST = 13, APS_DATA_TX_BROADCAST = 13, APS_DATA_RX_UNICAST = 336, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 61, APS_DATA_TX_UNICAST_FAILED = 28, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 237] [2022-09-01 21:35:22][DEBUG] : Data frame: b'2589b1a96b2a153f08904b25aa5493099d4e277eb5a867485f7e' [2022-09-01 21:35:22][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:22][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000d5586600' [2022-09-01 21:35:22][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=213), 88, , b''] [2022-09-01 21:35:22][DEBUG] : Unexpected message send notification tag: 88 [2022-09-01 21:35:25][DEBUG] : Data frame: b'3589b1a9d42a570fe22be67e' [2022-09-01 21:35:25][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:25][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:25][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:25][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:25][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:25][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:25][DEBUG] : executing functools.partial() [2022-09-01 21:35:25][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:25][DEBUG] : Data frame: b'4589b1a9d42a573f08d9cc7e' [2022-09-01 21:35:25][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:25][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:25][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:25][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:25][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:25][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:25][DEBUG] : executing functools.partial() [2022-09-01 21:35:25][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:26][INFO] : [ApplicationHandler.prepare] Json arg : {'duration': 180} [2022-09-01 21:35:26][DEBUG] : Send command sendBroadcast: (, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=93), 0, 94, b']\xb4\x00') [2022-09-01 21:35:26][DEBUG] : Send command addTransientLinkKey: (ff:ff:ff:ff:ff:ff:ff:ff, [90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57]) [2022-09-01 21:35:26][DEBUG] : Sending: b'558e21a9622ae94d59947c25aa5592499c4e7aabb3cd3a3ffd604f7e' [2022-09-01 21:35:26][DEBUG] : Data frame: b'568ea1a9622a156a01a77e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:26][DEBUG] : Sending: b'668f21a9fb2aea4da66bb5da55aac820fb0c42ceaca20be29ca800eccc477d3af57e' [2022-09-01 21:35:26][DEBUG] : Application frame 54 (sendBroadcast) received: b'00d8' [2022-09-01 21:35:26][DEBUG] : Data frame: b'668eb5a94d2a89156a7e' [2022-09-01 21:35:26][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:26][DEBUG] : Application frame 25 (stackStatusHandler) received: b'9c' [2022-09-01 21:35:26][DEBUG] : Received stackStatusHandler frame with [] [2022-09-01 21:35:26][DEBUG] : Data frame: b'768eb1a9112a10b259a24a25aa5592499c96d8abedce9874fe9bd78930417e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:26][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0500003600000000000000d8ff000000ffff035db400' [2022-09-01 21:35:26][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=216), 255, 0, 0x0000, 255, 255, b']\xb4\x00'] [2022-09-01 21:35:26][DEBUG] : [0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [180, ] [2022-09-01 21:35:26][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060926.182283, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:26][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060926.182283, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial() [2022-09-01 21:35:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:26][DEBUG] : Data frame: b'078fa1a9fb2a15d8877e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:26][DEBUG] : Application frame 175 (addTransientLinkKey) received: b'00' [2022-09-01 21:35:26][DEBUG] : Send command setPolicy: (, ) [2022-09-01 21:35:26][DEBUG] : Sending: b'718c21a9012a15b15970267e' [2022-09-01 21:35:26][DEBUG] : Data frame: b'108ca1a9012a151ccb7e' [2022-09-01 21:35:26][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:26][DEBUG] : Application frame 85 (setPolicy) received: b'00' [2022-09-01 21:35:26][DEBUG] : Data frame: b'208cb1a9112a15b658924e24ab5593499cb7e76750759874fade6a83fc7e27a6e923b67e' [2022-09-01 21:35:26][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:26][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000f9c0ccbdbbffff0718090a0000180102' [2022-09-01 21:35:26][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=249), 192, -52, 0xbbbd, 255, 255, b'\x18 \x00\x00\x18\x01'] [2022-09-01 21:35:26][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18 \x00\x00\x18\x01' [2022-09-01 21:35:26][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=9, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:26][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:26][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 9): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=9, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:26][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:26][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:26][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:26][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:26][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060926.59695, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:26][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060926.59695, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial() [2022-09-01 21:35:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial() [2022-09-01 21:35:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:26][DEBUG] : executing functools.partial() [2022-09-01 21:35:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:26][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:26][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:26][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:26][DEBUG] : Data frame: b'308cb1a96b2a153f08944a04aa5592099d4e277db7a867f77f7e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:26][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5100002100000040010000d65a6600' [2022-09-01 21:35:26][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=214), 90, , b''] [2022-09-01 21:35:26][DEBUG] : [0x518d] Delivery error for seq # 0x59, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] Failed to bind 'level' output cluster: [0x518d:0:0x0021]: Message send failure [2022-09-01 21:35:26][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize][Endpoint 1] End configuration of output cluster 'level' [2022-09-01 21:35:26][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Begin get basic info from device [2022-09-01 21:35:26][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Endpoint found [2022-09-01 21:35:26][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=95, command_id=, *direction=, *is_reply=False) [2022-09-01 21:35:26][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:35:26][DEBUG] : [0x518d] Extending timeout for 0x5f request [2022-09-01 21:35:26][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:35:26][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:35:26][DEBUG] : Sending: b'048d21a92a2a7d335ada954aa8bf5593edf67e' [2022-09-01 21:35:26][DEBUG] : Data frame: b'418da1a92a2af1c07e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:26][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:35:26][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=95), 96, b'\x00_\x00\x04\x00\x05\x00') [2022-09-01 21:35:26][DEBUG] : Sending: b'159221a9602a153f08904b25aa5493099d4e27f48dc967d4fdc2638cfc97e87e' [2022-09-01 21:35:26][DEBUG] : Data frame: b'5292a1a9602a156b96937e' [2022-09-01 21:35:26][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:26][DEBUG] : Application frame 52 (sendUnicast) received: b'00d9' [2022-09-01 21:35:27][DEBUG] : Data frame: b'6292b1a96b2a134ea6944a13aa5592499c4e2773b3ce67e6197e' [2022-09-01 21:35:27][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:27][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fcff00003600000000000000d85e0000' [2022-09-01 21:35:27][DEBUG] : Received messageSentHandler frame with [, 65532, EmberApsFrame(profileId=0, clusterId=54, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=216), 94, , b''] [2022-09-01 21:35:27][DEBUG] : Send command permitJoining: (180,) [2022-09-01 21:35:27][DEBUG] : Sending: b'279321a9762aa11b927e' [2022-09-01 21:35:27][DEBUG] : Data frame: b'7393a1a9762a15f54c7e' [2022-09-01 21:35:27][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:27][DEBUG] : Application frame 34 (permitJoining) received: b'00' [2022-09-01 21:35:27][INFO] : [ApplicationHandler.put.include] Permit ZGP include [2022-09-01 21:35:27][INFO] : [zgp.permit] Permit green power pairing for 180 s [2022-09-01 21:35:27][INFO] : 200 PUT /application/include (127.0.0.1) 986.22ms [2022-09-01 21:35:31][DEBUG] : Send command readCounters: () [2022-09-01 21:35:31][DEBUG] : Sending: b'309021a9a52a02427e' [2022-09-01 21:35:31][DEBUG] : Data frame: b'0490a1a9a52a1bb27a9426259f559249de4e22abe8ce4c8be5c64889e87e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824ff307e' [2022-09-01 21:35:31][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:31][DEBUG] : Application frame 241 (readCounters) received: b'0e0023006c00350000004200050005002b0018002b00140000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:31][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:31][DEBUG] : Sending: b'419121a9fe2a16c72a7e' [2022-09-01 21:35:31][DEBUG] : Data frame: b'1591a1a9fe2a15b3a907177e' [2022-09-01 21:35:31][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:31][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:35:31][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:35:31][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1466, MAC_RX_UNICAST = 521, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 135, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 337, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 65, APS_DATA_TX_UNICAST_FAILED = 30, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 240] [2022-09-01 21:35:32][DEBUG] : Data frame: b'2591b1a9112a15b658924e24ab5593499cb48b6c50759874fade6983fc7e27a6e9e67d7e' [2022-09-01 21:35:32][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:32][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000faacc7bdbbffff07180a0a0000180102' [2022-09-01 21:35:32][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=250), 172, -57, 0xbbbd, 255, 255, b'\x18 \x00\x00\x18\x01'] [2022-09-01 21:35:32][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18 \x00\x00\x18\x01' [2022-09-01 21:35:32][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=10, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:32][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:32][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 10): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:32][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=10, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:32][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:32][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:32][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:32][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:32][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:32][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:32][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:32][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:32][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060932.729324, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:32][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060932.729324, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:32][DEBUG] : executing functools.partial() [2022-09-01 21:35:32][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:32][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:32][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:32][DEBUG] : executing functools.partial() [2022-09-01 21:35:32][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:32][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:32][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:32][DEBUG] : executing functools.partial() [2022-09-01 21:35:32][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:32][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:33][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:33][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:33][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:34][DEBUG] : Data frame: b'3591b1a9d42a570fe208887e' [2022-09-01 21:35:34][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:34][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:34][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:34][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:34][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:34][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:34][DEBUG] : executing functools.partial() [2022-09-01 21:35:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:34][DEBUG] : Data frame: b'4591b1a9d42a573f08faa27e' [2022-09-01 21:35:34][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:34][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:34][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:34][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:34][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:34][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:34][DEBUG] : executing functools.partial() [2022-09-01 21:35:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:35][DEBUG] : Data frame: b'5591b1a96b2a150fe2904b25aa5493099d4e277cb1a867e7dd7e' [2022-09-01 21:35:35][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:35][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000d75c6600' [2022-09-01 21:35:35][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=215), 92, , b''] [2022-09-01 21:35:35][DEBUG] : [0xbbbd] Delivery error for seq # 0x5b, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:35:35][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Error on read attribute level 2 : [0xbbbd:1:0x0000]: Message send failure [2022-09-01 21:35:35][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=97, command_id=, *direction=, *is_reply=False) [2022-09-01 21:35:35][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[7]) [2022-09-01 21:35:35][DEBUG] : [0xbbbd] Extending timeout for 0x61 request [2022-09-01 21:35:35][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:35:35][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:35:35][DEBUG] : Sending: b'569621a92a2a14e878954aa8bf5593442f7e' [2022-09-01 21:35:35][DEBUG] : Data frame: b'6696a1a92a2ae42c7e' [2022-09-01 21:35:35][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:35][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:35:35][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=97), 98, b'\x00a\x00\x07\x00') [2022-09-01 21:35:35][DEBUG] : Sending: b'679721a9602a150fe2904b25aa5493099d4e27ca8fcb67eafdc1634c637e' [2022-09-01 21:35:35][DEBUG] : Data frame: b'7797a1a9602a1568ec817e' [2022-09-01 21:35:35][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:35][DEBUG] : Application frame 52 (sendUnicast) received: b'00da' [2022-09-01 21:35:38][DEBUG] : Data frame: b'0797b1a9112a15b658924e24ab5593499cb5cf7d50759874fade6883fc7e27a6e98fa97e' [2022-09-01 21:35:38][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:38][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000fbe8d6bdbbffff07180b0a0000180102' [2022-09-01 21:35:38][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=251), 232, -42, 0xbbbd, 255, 255, b'\x18\x0b \x00\x00\x18\x01'] [2022-09-01 21:35:38][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x0b \x00\x00\x18\x01' [2022-09-01 21:35:38][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=11, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:38][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:38][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 11): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:38][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=11, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:38][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:38][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:38][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:38][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:38][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:38][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:38][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:38][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:38][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060938.110808, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:38][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060938.110808, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:38][DEBUG] : executing functools.partial() [2022-09-01 21:35:38][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:38][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:38][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:38][DEBUG] : executing functools.partial() [2022-09-01 21:35:38][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:38][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:38][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:38][DEBUG] : executing functools.partial() [2022-09-01 21:35:38][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:38][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:38][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:38][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:38][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:41][DEBUG] : Send command readCounters: () [2022-09-01 21:35:41][DEBUG] : Sending: b'719421a9a52aa4f47e' [2022-09-01 21:35:41][DEBUG] : Data frame: b'1094a1a9a52a1bb27d9424259f559249d84e22abe8ce4a8be5c64e89e97e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048248d067e' [2022-09-01 21:35:41][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:41][DEBUG] : Application frame 241 (readCounters) received: b'0e0024006e00350000004400050005002d0018002d00150000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:41][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:41][DEBUG] : Sending: b'029521a9fe2a16c4e57e' [2022-09-01 21:35:41][DEBUG] : Data frame: b'2195a1a9fe2a15b3a960977e' [2022-09-01 21:35:41][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:41][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:35:41][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:35:41][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1467, MAC_RX_UNICAST = 523, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 137, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 339, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 67, APS_DATA_TX_UNICAST_FAILED = 31, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 240] [2022-09-01 21:35:43][DEBUG] : Data frame: b'3195b1a9d42a570fe29b0a7e' [2022-09-01 21:35:43][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:43][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:43][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:43][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:43][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:43][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:43][DEBUG] : executing functools.partial() [2022-09-01 21:35:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:43][DEBUG] : Data frame: b'4195b1a9d42a573f0869207e' [2022-09-01 21:35:43][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:43][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:43][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:43][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:43][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:43][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:43][DEBUG] : executing functools.partial() [2022-09-01 21:35:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:44][DEBUG] : Data frame: b'5195b1a9112a15b658924e24ab5593499cb2936250759874fade6f83fc7e27a6e9ea727e' [2022-09-01 21:35:44][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:44][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000fcb4c9bdbbffff07180c0a0000180102' [2022-09-01 21:35:44][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=252), 180, -55, 0xbbbd, 255, 255, b'\x18\x0c \x00\x00\x18\x01'] [2022-09-01 21:35:44][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x0c \x00\x00\x18\x01' [2022-09-01 21:35:44][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=12, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:44][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:44][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 12): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:44][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=12, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:44][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:44][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:44][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:44][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:44][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:44][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:44][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:44][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060944.397329, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:44][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060944.397329, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:44][DEBUG] : executing functools.partial() [2022-09-01 21:35:44][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:44][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:44][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:44][DEBUG] : executing functools.partial() [2022-09-01 21:35:44][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:44][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:44][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:44][DEBUG] : executing functools.partial() [2022-09-01 21:35:44][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:44][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:44][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:44][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:50][DEBUG] : Data frame: b'6195b1a9112a15b658944a24ab5593499c48e767765f9874b4da3c98fe743aa7a9dbb21ae296e9a8b0bc1ae3347cda9b1f4fc6825be330ab4dd95197e151d7170d2fa6e1ebcd9940bb1b9e49bbf7c3dfd46a3d83549142051209247f2daf76eedfd7d14b1f7e' [2022-09-01 21:35:50][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001010001000006c0cc9b91ffff491c5f11020a050042166c756d692e73656e736f725f7377697463682e61713301ff42260121ef0b03281d0421a8130521560006240000060000082105010a210000982102009921000002' [2022-09-01 21:35:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=6), 192, -52, 0x919b, 255, 255, b'\x1c_\x11\x02 \x05\x00B\x16lumi.sensor_switch.aq3\x01\xffB&\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00'] [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x1c_\x11\x02 \x05\x00B\x16lumi.sensor_switch.aq3\x01\xffA&\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00' [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4447, tsn=2, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00'))]) [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0000] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00'))]) [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), manufacturer=4447, tsn=2, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00'))]),) [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0000] Attribute report received: model='lumi.sensor_switch.aq3', 0xFF01=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00' [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 5=lumi.sensor_switch.aq3 on cluster 0 [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch.aq3'} on cluster 0 [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 65281=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00' on cluster 0 [2022-09-01 21:35:50][DEBUG] : 00:15:8d:00:02:ad:8d:f1 - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 3055, 'temperature': 29, 'X-attrib-4': 5032, 'X-attrib-5': 86, 'X-attrib-6': 393216, '0xff01-8': 261, 'path': 0, '0xff01-152': 2, '0xff01-153': 0}] [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 32=30.6 on cluster 1 [2022-09-01 21:35:50][DEBUG] : [0x919B:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3055 < [Max]:3100, Battery Percent: 84.0 [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 33=168 on cluster 1 [2022-09-01 21:35:50][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 0=2900 on cluster 2 [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060950.167139, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:50][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'5': {'value': 'lumi.sensor_switch.aq3', 'cluster_name': 'BasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch.aq3'}, 'cluster_name': 'BasicCluster'}}, '65281': {'value': "b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00'", 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '30.6', 'cluster_name': 'Power Configuration'}, '33': {'value': '168', 'cluster_name': 'Power Configuration'}}, '2': {'0': {'value': '2900', 'cluster_name': 'Device Temperature'}}}}}} [2022-09-01 21:35:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060950.167139, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_switch.aq3')) [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_switch.aq3')) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 65281, b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00')) [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 65281, b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x13\x05!V\x00\x06$\x00\x00\x06\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x02\x00\x99!\x00\x00')) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 32, 30.6)) [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 32, 30.6)) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 33, 168)) [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 33, 168)) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 2, 0, 2900)) [2022-09-01 21:35:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 2, 0, 2900)) completed [2022-09-01 21:35:50][DEBUG] : executing functools.partial() [2022-09-01 21:35:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:51][DEBUG] : Data frame: b'7195b1a9112a15b658924e24ab5593499cb3cf7d50759874fade6e83fc7e27a6e9c6497e' [2022-09-01 21:35:51][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:51][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000fde8d6bdbbffff07180d0a0000180102' [2022-09-01 21:35:51][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=253), 232, -42, 0xbbbd, 255, 255, b'\x18 \x00\x00\x18\x01'] [2022-09-01 21:35:51][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18 \x00\x00\x18\x01' [2022-09-01 21:35:51][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=13, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:51][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:51][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 13): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=13, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:51][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:51][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:51][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:51][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060951.1298, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:51][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060951.1298, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:51][DEBUG] : executing functools.partial() [2022-09-01 21:35:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:51][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:51][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:51][DEBUG] : executing functools.partial() [2022-09-01 21:35:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:51][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:51][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:51][DEBUG] : executing functools.partial() [2022-09-01 21:35:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:51][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:51][DEBUG] : Send command readCounters: () [2022-09-01 21:35:51][DEBUG] : Sending: b'109a21a9a52a71e47e' [2022-09-01 21:35:51][DEBUG] : Data frame: b'029aa1a9a52a1bb27c9438259f559249da4e22abe8ce578be5c64e89e97e3fa7ebcdde6f8fffc4dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482414ac7e' [2022-09-01 21:35:51][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:51][DEBUG] : Application frame 241 (readCounters) received: b'0e002500720035000000460005000500300018002d00150000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:35:51][DEBUG] : Send command getValue: (,) [2022-09-01 21:35:51][DEBUG] : Sending: b'219b21a9fe2a16f2327e' [2022-09-01 21:35:51][DEBUG] : Data frame: b'139ba1a9fe2a15b3a9cce37e' [2022-09-01 21:35:51][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:51][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:35:51][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:35:51][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 374, MAC_TX_BROADCAST = 1468, MAC_RX_UNICAST = 527, MAC_TX_UNICAST_SUCCESS = 246, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 139, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 342, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 67, APS_DATA_TX_UNICAST_FAILED = 31, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 2, 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 = 2, 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 = 240] [2022-09-01 21:35:52][DEBUG] : Data frame: b'239bb1a9d42a570fe290827e' [2022-09-01 21:35:52][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:35:52][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:35:52][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:35:52][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:35:52][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:35:52][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:35:52][DEBUG] : executing functools.partial() [2022-09-01 21:35:52][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:53][DEBUG] : Data frame: b'339bb1a9d42a573f089a8d7e' [2022-09-01 21:35:53][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:35:53][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:35:53][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:35:53][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:35:53][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:35:53][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:35:53][DEBUG] : executing functools.partial() [2022-09-01 21:35:53][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:54][DEBUG] : Data frame: b'439bb1a96b2a153f08904b25aa5493099d4e27728da867e2b07e' [2022-09-01 21:35:54][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:35:54][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000d9606600' [2022-09-01 21:35:54][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=217), 96, , b''] [2022-09-01 21:35:54][DEBUG] : [0x518d] Delivery error for seq # 0x5f, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:35:54][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Error on read attribute level 1 : [0x518d:1:0x0000]: Message send failure [2022-09-01 21:35:54][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=99, command_id=, *direction=, *is_reply=False) [2022-09-01 21:35:54][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[0, 2, 3]) [2022-09-01 21:35:54][DEBUG] : [0x518d] Extending timeout for 0x63 request [2022-09-01 21:35:54][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:35:54][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:35:54][DEBUG] : Sending: b'359821a92a2a7d335ada954aa8bf5593d0a77e' [2022-09-01 21:35:54][DEBUG] : Data frame: b'5498a1a92a2a8f487e' [2022-09-01 21:35:54][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:35:54][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:35:54][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=99), 100, b'\x00c\x00\x00\x00\x02\x00\x03\x00') [2022-09-01 21:35:54][DEBUG] : Sending: b'469921a9602a153f08904b25aa5493099d4e27c889c767e8fdc6638bfc7d5d3f4f617e' [2022-09-01 21:35:54][DEBUG] : Data frame: b'6599a1a9602a15697c3a7e' [2022-09-01 21:35:54][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:35:54][DEBUG] : Application frame 52 (sendUnicast) received: b'00db' [2022-09-01 21:35:55][DEBUG] : Data frame: b'7599b5a9772a17b2c205bba8075792c4894e23a3c87e' [2022-09-01 21:35:55][DEBUG] : Sending: b'8070787e' [2022-09-01 21:35:55][DEBUG] : Application frame 35 (childJoinHandler) received: b'02009b91f18dad02008d150004' [2022-09-01 21:35:55][DEBUG] : Received childJoinHandler frame with [2, , 0x919b, 00:15:8d:00:02:ad:8d:f1, ] [2022-09-01 21:35:55][DEBUG] : Data frame: b'0599b1a9702a8e23a819e727aad887499e4dd85471bd7e' [2022-09-01 21:35:55][DEBUG] : Sending: b'8160597e' [2022-09-01 21:35:55][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'9b91f18dad02008d15000203ffff' [2022-09-01 21:35:55][DEBUG] : Received trustCenterJoinHandler frame with [0x919b, 00:15:8d:00:02:ad:8d:f1, , , 0xffff] [2022-09-01 21:35:55][INFO] : Device 0x919b (00:15:8d:00:02:ad:8d:f1) left the network [2022-09-01 21:35:55][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.device_left] [2022-09-01 21:35:55][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:02:ad:8d:f1'} [2022-09-01 21:35:55][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:55][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:59][DEBUG] : Data frame: b'1599b1a9112a15b658924e24ab5593499cb0c77f50759874fade6d83fc7e27a6e975e97e' [2022-09-01 21:35:59][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:35:59][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000fee0d4bdbbffff07180e0a0000180102' [2022-09-01 21:35:59][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=254), 224, -44, 0xbbbd, 255, 255, b'\x18\x0e \x00\x00\x18\x01'] [2022-09-01 21:35:59][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x0e \x00\x00\x18\x01' [2022-09-01 21:35:59][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=14, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:35:59][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:59][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 14): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:35:59][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=14, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:35:59][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:35:59][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:35:59][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:35:59][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:35:59][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:35:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:59][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:35:59][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:35:59][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060959.271559, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:35:59][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060959.271559, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:35:59][DEBUG] : executing functools.partial() [2022-09-01 21:35:59][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:59][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:35:59][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:35:59][DEBUG] : executing functools.partial() [2022-09-01 21:35:59][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:59][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:35:59][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:35:59][DEBUG] : executing functools.partial() [2022-09-01 21:35:59][DEBUG] : operation functools.partial() completed [2022-09-01 21:35:59][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:35:59][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:35:59][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:35:59][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:01][DEBUG] : Send command readCounters: () [2022-09-01 21:36:01][DEBUG] : Sending: b'529e21a9a52a19b27e' [2022-09-01 21:36:01][DEBUG] : Data frame: b'269ea1a9a52a05b27c943e259d559249d44e22abe8ce568be5c64c89ea7e3fa7ebcdde6f8fffc4dbd4d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482483687e' [2022-09-01 21:36:01][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:01][DEBUG] : Application frame 241 (readCounters) received: b'10002500740037000000480005000500310018002f00160000000000000000000300010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:01][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:01][DEBUG] : Sending: b'639f21a9fe2a16499c7e' [2022-09-01 21:36:01][DEBUG] : Data frame: b'379fa1a9fe2a15b3a9f89d7e' [2022-09-01 21:36:01][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:01][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:36:01][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:36:01][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 376, MAC_TX_BROADCAST = 1468, MAC_RX_UNICAST = 529, MAC_TX_UNICAST_SUCCESS = 248, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 141, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 343, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 69, APS_DATA_TX_UNICAST_FAILED = 32, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 3, 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 = 2, 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 = 240] [2022-09-01 21:36:02][DEBUG] : Data frame: b'479fb1a9d42a570fe2fb257e' [2022-09-01 21:36:02][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:02][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:36:02][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:36:02][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:36:02][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:36:02][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:36:02][DEBUG] : executing functools.partial() [2022-09-01 21:36:02][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:02][DEBUG] : Data frame: b'579fb1a9d42a573f08f12a7e' [2022-09-01 21:36:02][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:02][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:36:02][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:36:02][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:36:02][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:36:02][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:36:02][DEBUG] : executing functools.partial() [2022-09-01 21:36:02][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:03][DEBUG] : Data frame: b'679fb1a96b2a150fe2904b25aa5493099d4e27718fa867b8217e' [2022-09-01 21:36:03][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:03][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000da626600' [2022-09-01 21:36:03][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=218), 98, , b''] [2022-09-01 21:36:03][DEBUG] : [0xbbbd] Delivery error for seq # 0x61, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:36:03][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Error on read attribute level 3 : [0xbbbd:1:0x0000]: Message send failure [2022-09-01 21:36:03][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=101, command_id=, *direction=, *is_reply=False) [2022-09-01 21:36:03][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[6, 16384]) [2022-09-01 21:36:03][DEBUG] : [0xbbbd] Extending timeout for 0x65 request [2022-09-01 21:36:03][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:36:03][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:36:03][DEBUG] : Sending: b'779c21a92a2a14e878954aa8bf55936a6e7e' [2022-09-01 21:36:03][DEBUG] : Data frame: b'709ca1a92a2a35e77e' [2022-09-01 21:36:03][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:03][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:36:03][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=101), 102, b'\x00e\x00\x06\x00\x00@') [2022-09-01 21:36:03][DEBUG] : Sending: b'009d21a9602a150fe2904b25aa5493099d4e27ce8bc967eefdc06389bcb3637e' [2022-09-01 21:36:03][DEBUG] : Data frame: b'019da1a9602a156e4fce7e' [2022-09-01 21:36:03][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:03][DEBUG] : Application frame 52 (sendUnicast) received: b'00dc' [2022-09-01 21:36:04][DEBUG] : Data frame: b'119db1a9112a15b658924e24ab5593499cb1cf7d50759874fade6c83fc7e27a6e9d6207e' [2022-09-01 21:36:04][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:04][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010604010100010000ffe8d6bdbbffff07180f0a0000180102' [2022-09-01 21:36:04][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=255), 232, -42, 0xbbbd, 255, 255, b'\x18\x0f \x00\x00\x18\x01'] [2022-09-01 21:36:04][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x0f \x00\x00\x18\x01' [2022-09-01 21:36:04][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=15, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:04][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:04][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 15): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=15, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:04][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:04][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:04][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:04][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:04][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060964.924743, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:04][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:04][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:04][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060964.924743, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:04][DEBUG] : executing functools.partial() [2022-09-01 21:36:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:04][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:04][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:04][DEBUG] : executing functools.partial() [2022-09-01 21:36:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:04][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:04][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:04][DEBUG] : executing functools.partial() [2022-09-01 21:36:04][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:04][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:10][DEBUG] : Data frame: b'219db1a9112a15b658924e24ab5593499c4eff7950759874fade7383fc7e27a6e9388c7e' [2022-09-01 21:36:10][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:10][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000000d8d2bdbbffff0718100a0000180102' [2022-09-01 21:36:10][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=0), 216, -46, 0xbbbd, 255, 255, b'\x18\x10 \x00\x00\x18\x01'] [2022-09-01 21:36:10][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x10 \x00\x00\x18\x01' [2022-09-01 21:36:10][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=16, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:10][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:10][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 16): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=16, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:10][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:10][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:10][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:10][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:10][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:10][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060970.766789, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:10][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060970.766789, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:10][DEBUG] : executing functools.partial() [2022-09-01 21:36:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:10][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:10][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:10][DEBUG] : executing functools.partial() [2022-09-01 21:36:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:10][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:10][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:10][DEBUG] : executing functools.partial() [2022-09-01 21:36:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:10][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:11][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:11][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:11][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:11][DEBUG] : Data frame: b'319db1a9d42a570fe285d07e' [2022-09-01 21:36:11][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:36:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:36:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:36:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:36:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:36:11][DEBUG] : executing functools.partial() [2022-09-01 21:36:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:11][DEBUG] : Send command readCounters: () [2022-09-01 21:36:11][DEBUG] : Sending: b'14a221a9a52a79867e' [2022-09-01 21:36:11][DEBUG] : Data frame: b'42a2a1a9a52a07b27f943c2593559249d74e22abe8ce548be5c65289eb7e3fa7ebcdde6f8fffc4dbd4d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824a8027e' [2022-09-01 21:36:11][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:11][DEBUG] : Application frame 241 (readCounters) received: b'120026007600390000004b0005000500330018003100170000000000000000000300010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:11][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:11][DEBUG] : Sending: b'25a321a9fe2a167d313a7e' [2022-09-01 21:36:11][DEBUG] : Data frame: b'53a3a1a9fe2a15b3a9cb3c7e' [2022-09-01 21:36:11][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:11][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:36:11][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:36:11][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 378, MAC_TX_BROADCAST = 1469, MAC_RX_UNICAST = 531, MAC_TX_UNICAST_SUCCESS = 250, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 144, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 345, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 71, APS_DATA_TX_UNICAST_FAILED = 33, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 3, 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 = 2, 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 = 240] [2022-09-01 21:36:11][DEBUG] : Data frame: b'63a3b1a9d42a573f08ceac7e' [2022-09-01 21:36:11][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:36:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:36:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:36:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:36:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:36:11][DEBUG] : executing functools.partial() [2022-09-01 21:36:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:15][DEBUG] : Data frame: b'73a3b1a9112a15b658924e24ab5593499c4f936250759874fade7283fc7e27a6e9c7e57e' [2022-09-01 21:36:15][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:15][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000001b4c9bdbbffff0718110a0000180102' [2022-09-01 21:36:15][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=1), 180, -55, 0xbbbd, 255, 255, b'\x18\x11 \x00\x00\x18\x01'] [2022-09-01 21:36:15][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x11 \x00\x00\x18\x01' [2022-09-01 21:36:15][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=17, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:15][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:15][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 17): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=17, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:15][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:15][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:15][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060975.843675, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:15][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060975.843675, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:15][DEBUG] : executing functools.partial() [2022-09-01 21:36:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:15][DEBUG] : executing functools.partial() [2022-09-01 21:36:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:15][DEBUG] : executing functools.partial() [2022-09-01 21:36:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:20][DEBUG] : Data frame: b'03a3b1a9d42a570fe26f787e' [2022-09-01 21:36:20][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:20][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:36:20][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:36:20][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:36:20][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:36:20][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:36:20][DEBUG] : executing functools.partial() [2022-09-01 21:36:20][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:21][DEBUG] : Data frame: b'13a3b1a9d42a573f0865777e' [2022-09-01 21:36:21][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:21][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:36:21][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:36:21][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:36:21][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:36:21][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:36:21][DEBUG] : executing functools.partial() [2022-09-01 21:36:21][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:21][DEBUG] : Send command readCounters: () [2022-09-01 21:36:21][DEBUG] : Sending: b'32a021a9a52a85ec7e' [2022-09-01 21:36:21][DEBUG] : Data frame: b'24a0a1a9a52a07b27f943d2593559249d24e22abe8ce538be5c65289eb7e3fa7ebcdde6f8fffc4dbd4d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824ac3d7e' [2022-09-01 21:36:21][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:21][DEBUG] : Application frame 241 (readCounters) received: b'120026007700390000004e0005000500340018003100170000000000000000000300010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:21][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:21][DEBUG] : Sending: b'43a121a9fe2a1688457e' [2022-09-01 21:36:21][DEBUG] : Data frame: b'35a1a1a9fe2a15b3a9e6377e' [2022-09-01 21:36:21][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:21][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:36:21][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:36:21][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 378, MAC_TX_BROADCAST = 1469, MAC_RX_UNICAST = 532, MAC_TX_UNICAST_SUCCESS = 250, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 147, APS_DATA_RX_BROADCAST = 14, APS_DATA_TX_BROADCAST = 14, APS_DATA_RX_UNICAST = 346, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 71, APS_DATA_TX_UNICAST_FAILED = 33, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 5, CHILD_REMOVED = 3, 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 = 2, 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 = 240] [2022-09-01 21:36:22][DEBUG] : Data frame: b'45a1b5a9772a14b2d4c54ccd295492c4894e230a787e' [2022-09-01 21:36:22][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:22][DEBUG] : Application frame 35 (childJoinHandler) received: b'01008d5106e88301008d150004' [2022-09-01 21:36:22][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:36:22][DEBUG] : Data frame: b'55a1b1a9702a98e35f7cc924aad887499e4dd85429fc7e' [2022-09-01 21:36:22][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:22][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d15000203ffff' [2022-09-01 21:36:22][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0xffff] [2022-09-01 21:36:22][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) left the network [2022-09-01 21:36:22][INFO] : [00:15:8d:00:01:83:e8:06][listener.device_left] [2022-09-01 21:36:22][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:01:83:e8:06'} [2022-09-01 21:36:22][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:22][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:24][DEBUG] : Data frame: b'65a1b1a9772a14b3d4c54ccd295492c4894e232a3f7e' [2022-09-01 21:36:24][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:24][DEBUG] : Application frame 35 (childJoinHandler) received: b'01018d5106e88301008d150004' [2022-09-01 21:36:24][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:36:24][DEBUG] : Data frame: b'75a1b1a9702a98e35f7cc924aad887499d4e27ab20d97e' [2022-09-01 21:36:24][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:24][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d150001000000' [2022-09-01 21:36:24][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0x0000] [2022-09-01 21:36:24][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) joined the network [2022-09-01 21:36:24][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:36:24][DEBUG] : Sending: b'50a621a9212a7d335ada954aa8bf559333b47e' [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.526647, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.526647, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : Data frame: b'06a6a1a9212aeaa1a97e' [2022-09-01 21:36:24][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:24][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:36:24][DEBUG] : Data frame: b'16a6b1a9112a11b259874a25aa5593499c68d877609f9874f1b5eed8fa96bca6eb40cb6f0ffd943a7e' [2022-09-01 21:36:24][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'040000130000000001000026ffdc8d51ffff0c738d5106e88301008d15008002' [2022-09-01 21:36:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=38), 255, -36, 0x518d, 255, 255, b's\x8dQ\x06\xe8\x83\x01\x00\x8d\x15\x00\x80'] [2022-09-01 21:36:24][INFO] : ZDO Device announce: 0x518d, 00:15:8d:00:01:83:e8:06 [2022-09-01 21:36:24][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) joined the network [2022-09-01 21:36:24][DEBUG] : [0x518d:zdo] ZDO request ZDOCmd.Device_annce: [0x518D, 00:15:8d:00:01:83:e8:06, 128] [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.813929, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.813929, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.814127, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.814127, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : Data frame: b'26a6b1a9112a15b658944a24ab5593499c69d773609f9874e4de6383f97e7db587b8b306a18ca2b5a6bd1bd33554c0981553a756627e' [2022-09-01 21:36:24][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001010001000027f0d88d51ffff1918000a050042126c756d692e73656e736f725f73776974636802' [2022-09-01 21:36:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=39), 240, -40, 0x518d, 255, 255, b'\x18\x00 \x05\x00B\x12lumi.sensor_switch'] [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x18\x00 \x05\x00B\x12lumi.sensor_switch' [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=0, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 0): Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]) [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=0, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]),) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Attribute report received: model='lumi.sensor_switch' [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 5=lumi.sensor_switch on cluster 0 [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch'} on cluster 0 [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.858984, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.858984, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 5, 'lumi.sensor_switch')) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 5, 'lumi.sensor_switch')) completed [2022-09-01 21:36:24][DEBUG] : Data frame: b'36a6b1a9112a15b658944a24ab5593499c66cf7d609f9874fade6283fd7e1fade94c227e' [2022-09-01 21:36:24][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001010001000028e8d68d51ffff0718010a0100200a02' [2022-09-01 21:36:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=40), 232, -42, 0x518d, 255, 255, b'\x18\x01 \x01\x00 '] [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x18\x01 \x01\x00 ' [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=1, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=1, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]),) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Attribute report received: app_version=10 [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 1=10 on cluster 0 [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.866467, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.866467, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 1, 10)) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 1, 10)) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : Data frame: b'46a6b1a9112a15b658944a24ab5593499c67cf7d609f9874e0da579bfe743d58a7cbde7f8ede1fd0f47a68a84623a9ec761ab3ea55d6435a907e' [2022-09-01 21:36:24][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401000001010001000029e8d68d51ffff1d1c3412020a02ff4c0600100121d80b21a801240000000000211600205402' [2022-09-01 21:36:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=41), 232, -42, 0x518d, 255, 255, b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x01!\xd8\x0b!\xa8\x01$\x00\x00\x00\x00\x00!\x16\x00 T'] [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x01!\xd8\x0b!\xa8\x01$\x00\x00\x00\x00\x00!\x16\x00 T' [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]) [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]),) [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0000] Attribute report received: 0xFF02=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)] [2022-09-01 21:36:24][DEBUG] : 00:15:8d:00:01:83:e8:06 - Attribute report. attribute_id: [65282] value: [{'state': , 'battery_voltage_mV': 3032, 'X-attrib-3': 424, 'X-attrib-4': 0, 'X-attrib-5': 22, 'X-attrib-6': 84}] [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 32=30.3 on cluster 1 [2022-09-01 21:36:24][DEBUG] : [0x518D:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3032 < [Max]:3100, Battery Percent: 75.5 [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 33=151 on cluster 1 [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.87654, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.87654, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 32, 30.3)) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 32, 30.3)) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 33, 151)) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 33, 151)) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : Data frame: b'56a6b1a9112a15b658924e24ab5593499c4c836e50759874fade7183fc7e27a6e9a06f7e' [2022-09-01 21:36:24][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:24][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000002a4c5bdbbffff0718120a0000180102' [2022-09-01 21:36:24][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=2), 164, -59, 0xbbbd, 255, 255, b'\x18\x12 \x00\x00\x18\x01'] [2022-09-01 21:36:24][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x12 \x00\x00\x18\x01' [2022-09-01 21:36:24][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=18, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:24][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:24][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 18): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=18, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:24][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:24][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:24][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:24][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:24][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.907051, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060984.907051, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:24][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:24][DEBUG] : executing functools.partial() [2022-09-01 21:36:24][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:24][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:25][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:83:e8:06': {'1': {'0': {'5': {'value': 'lumi.sensor_switch', 'cluster_name': 'BasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch'}, 'cluster_name': 'BasicCluster'}}, '1': {'value': '10', 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '30.3', 'cluster_name': 'Power Configuration'}, '33': {'value': '151', 'cluster_name': 'Power Configuration'}}}}, '00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:25][DEBUG] : Data frame: b'66a6b1a96b2a134fa6944a36aa5592499d4e278d12ce67d5417e' [2022-09-01 21:36:25][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:25][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fdff0000130000000001000026ff0000' [2022-09-01 21:36:25][DEBUG] : Received messageSentHandler frame with [, 65533, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=38), 255, , b''] [2022-09-01 21:36:25][DEBUG] : Unexpected message send notification tag: 255 [2022-09-01 21:36:30][DEBUG] : Data frame: b'76a6b1a9d42a570fe2fbd17e' [2022-09-01 21:36:30][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:30][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42bdbb' [2022-09-01 21:36:30][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xbbbd] [2022-09-01 21:36:30][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xbbbd [2022-09-01 21:36:30][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) [2022-09-01 21:36:30][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:21:5a:01,)) completed [2022-09-01 21:36:30][DEBUG] : executing functools.partial() [2022-09-01 21:36:30][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:31][DEBUG] : Data frame: b'06a6b1a96b2a150fe2904b25aa5493099d4e27778ba86763d77e' [2022-09-01 21:36:31][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:31][DEBUG] : Application frame 63 (messageSentHandler) received: b'00bdbb04010000010140010000dc666600' [2022-09-01 21:36:31][DEBUG] : Received messageSentHandler frame with [, 48061, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=220), 102, , b''] [2022-09-01 21:36:31][DEBUG] : [0xbbbd] Delivery error for seq # 0x65, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:36:31][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] Error on read attribute level 4 : [0xbbbd:1:0x0000]: Message send failure [2022-09-01 21:36:31][WARNING] : [00:15:8d:00:01:21:5a:01][zdevices.get_basic_info] End get basic info from device [2022-09-01 21:36:31][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.initialize] End device initialize [2022-09-01 21:36:31][DEBUG] : Send command readCounters: () [2022-09-01 21:36:31][DEBUG] : Sending: b'61a721a9a52a5c4c7e' [2022-09-01 21:36:31][DEBUG] : Data frame: b'17a7a1a9a52a01b27194ca2597559249d34e21abebce5f8be5c65089e47e3fa7ebcdde6f8fffc3dbd7d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824298c7e' [2022-09-01 21:36:31][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:31][DEBUG] : Application frame 241 (readCounters) received: b'1400280080003d0000004f0006000600380018003300180000000000000000000400020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:31][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:31][DEBUG] : Sending: b'72a421a9fe2a162aa87e' [2022-09-01 21:36:31][DEBUG] : Data frame: b'20a4a1a9fe2a15b3aabad87e' [2022-09-01 21:36:31][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:31][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:36:31][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:36:31][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 380, MAC_TX_BROADCAST = 1471, MAC_RX_UNICAST = 541, MAC_TX_UNICAST_SUCCESS = 254, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 15, APS_DATA_TX_BROADCAST = 15, APS_DATA_RX_UNICAST = 350, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 6, CHILD_REMOVED = 4, 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 = 2, 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 = 243] [2022-09-01 21:36:34][DEBUG] : Data frame: b'30a4b1a9112a15b658924e24ab5593499c4de76750759874fade7083fc7e27a6e978397e' [2022-09-01 21:36:34][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:34][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000003c0ccbdbbffff0718130a0000180102' [2022-09-01 21:36:34][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=3), 192, -52, 0xbbbd, 255, 255, b'\x18\x13 \x00\x00\x18\x01'] [2022-09-01 21:36:34][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x13 \x00\x00\x18\x01' [2022-09-01 21:36:34][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=19, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:34][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:34][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 19): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:34][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=19, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:34][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:34][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:34][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:34][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:34][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:34][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:34][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:34][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:34][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060994.27935, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:34][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060994.27935, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:34][DEBUG] : executing functools.partial() [2022-09-01 21:36:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:34][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:34][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:34][DEBUG] : executing functools.partial() [2022-09-01 21:36:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:34][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:34][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:34][DEBUG] : executing functools.partial() [2022-09-01 21:36:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:34][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:34][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:35][DEBUG] : Data frame: b'40a4b1a9772a17b3c205bba8075792c4894e23d30b7e' [2022-09-01 21:36:35][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:35][DEBUG] : Application frame 35 (childJoinHandler) received: b'02019b91f18dad02008d150004' [2022-09-01 21:36:35][DEBUG] : Received childJoinHandler frame with [2, , 0x919b, 00:15:8d:00:02:ad:8d:f1, ] [2022-09-01 21:36:36][DEBUG] : Data frame: b'50a4b1a9702a8e23a819e727aad887499d4e27abcda67e' [2022-09-01 21:36:36][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:36][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'9b91f18dad02008d150001000000' [2022-09-01 21:36:36][DEBUG] : Received trustCenterJoinHandler frame with [0x919b, 00:15:8d:00:02:ad:8d:f1, , , 0x0000] [2022-09-01 21:36:36][INFO] : Device 0x919b (00:15:8d:00:02:ad:8d:f1) joined the network [2022-09-01 21:36:36][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:02:ad:8d:f1, True) [2022-09-01 21:36:36][DEBUG] : Sending: b'06a521a9212ae43ff4964aa8bf5593fea57e' [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.001137, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.001137, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][DEBUG] : Data frame: b'61a5a1a9212aeac5177e' [2022-09-01 21:36:36][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:36][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:36:36][DEBUG] : Data frame: b'71a5b1a9112a11b259874a25aa5593499c14ff79765f9874f1d1f8180df392a5eb40cb6f0ffdb0207e' [2022-09-01 21:36:36][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:36][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'04000013000000000100005ad8d29b91ffff0c179b91f18dad02008d15008002' [2022-09-01 21:36:36][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=90), 216, -46, 0x919b, 255, 255, b'\x17\x9b\x91\xf1\x8d\xad\x02\x00\x8d\x15\x00\x80'] [2022-09-01 21:36:36][INFO] : ZDO Device announce: 0x919b, 00:15:8d:00:02:ad:8d:f1 [2022-09-01 21:36:36][INFO] : Device 0x919b (00:15:8d:00:02:ad:8d:f1) joined the network [2022-09-01 21:36:36][DEBUG] : [0x919b:zdo] ZDO request ZDOCmd.Device_annce: [0x919B, 00:15:8d:00:02:ad:8d:f1, 128] [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.284435, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.284435, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.284596, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.284596, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][DEBUG] : Data frame: b'01a5b1a9112a15b658944a24ab5593499c15ff79765f9874dcde6383f97e7db187b8b306a18ca2b5a6bd1bd33554c09815538b8b04b140986c2311a2b97e' [2022-09-01 21:36:36][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:36][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040100000101000100005bd8d29b91ffff2118000a050042166c756d692e73656e736f725f7377697463682e6171330100200502' [2022-09-01 21:36:36][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=91), 216, -46, 0x919b, 255, 255, b'\x18\x00 \x05\x00B\x16lumi.sensor_switch.aq3\x01\x00 \x05'] [2022-09-01 21:36:36][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x18\x00 \x05\x00B\x16lumi.sensor_switch.aq3\x01\x00 \x05' [2022-09-01 21:36:36][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=0, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:36][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=5))]) [2022-09-01 21:36:36][DEBUG] : [0x919B:1:0x0000] Received command 0x0A (TSN 0): Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=5))]) [2022-09-01 21:36:36][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=0, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch.aq3')), Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=5))]),) [2022-09-01 21:36:36][DEBUG] : [0x919B:1:0x0000] Attribute report received: model='lumi.sensor_switch.aq3', app_version=5 [2022-09-01 21:36:36][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 5=lumi.sensor_switch.aq3 on cluster 0 [2022-09-01 21:36:36][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch.aq3'} on cluster 0 [2022-09-01 21:36:36][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 1=5 on cluster 0 [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.332758, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060996.332758, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_switch.aq3')) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 5, 'lumi.sensor_switch.aq3')) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 1, 5)) [2022-09-01 21:36:36][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 1, 5)) completed [2022-09-01 21:36:36][DEBUG] : executing functools.partial() [2022-09-01 21:36:36][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:36][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'5': {'value': 'lumi.sensor_switch.aq3', 'cluster_name': 'BasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch.aq3'}, 'cluster_name': 'BasicCluster'}}, '1': {'value': '5', 'cluster_name': 'BasicCluster'}}}}}} [2022-09-01 21:36:36][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:36][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:36][DEBUG] : Data frame: b'11a5b1a96b2a134fa6944a36aa5592499d4e27f112ce67d43c7e' [2022-09-01 21:36:36][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:36][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fdff000013000000000100005aff0000' [2022-09-01 21:36:36][DEBUG] : Received messageSentHandler frame with [, 65533, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=90), 255, , b''] [2022-09-01 21:36:36][DEBUG] : Unexpected message send notification tag: 255 [2022-09-01 21:36:37][DEBUG] : Data frame: b'21a5b1a9112a15b658944a24ab5593499c12ff79765f9874d2da3c98fd743e58a9ebdf4e60f4c4f3c8d64824472688b4763d81eb75824198440716b0ea51381c9626bae553448a4598009b7e' [2022-09-01 21:36:37][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:37][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'00040100000101000100005cd8d29b91ffff2f1c5f11010a01ff42260121ef0b03281d0421a8010521580006240100000000082105010a210000982101009921000002' [2022-09-01 21:36:37][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=92), 216, -46, 0x919b, 255, 255, b'\x1c_\x11\x01 \x01\xffB&\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'] [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0000] Received ZCL frame: b'\x1c_\x11\x01 \x01\xffA&\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00' [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4447, tsn=1, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'))]) [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0000] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'))]) [2022-09-01 21:36:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), manufacturer=4447, tsn=1, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0xFF01, value=TypeValue(type=LVBytes, value=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'))]),) [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0000] Attribute report received: 0xFF01=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00' [2022-09-01 21:36:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 65281=b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00' on cluster 0 [2022-09-01 21:36:37][DEBUG] : 00:15:8d:00:02:ad:8d:f1 - Attribute report. attribute_id: [65281] value: [{'battery_voltage_mV': 3055, 'temperature': 29, 'X-attrib-4': 424, 'X-attrib-5': 88, 'X-attrib-6': 1, '0xff01-8': 261, 'path': 0, '0xff01-152': 1, '0xff01-153': 0}] [2022-09-01 21:36:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 32=30.6 on cluster 1 [2022-09-01 21:36:37][DEBUG] : [0x919B:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3055 < [Max]:3100, Battery Percent: 84.0 [2022-09-01 21:36:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 33=168 on cluster 1 [2022-09-01 21:36:37][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.attribute_updated] Received an attribute update 0=2900 on cluster 2 [2022-09-01 21:36:37][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060997.301203, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:37][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662060997.301203, 'ieee': 00:15:8d:00:02:ad:8d:f1, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial() [2022-09-01 21:36:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 65281, b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00')) [2022-09-01 21:36:37][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 0, 65281, b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00')) completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial() [2022-09-01 21:36:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 32, 30.6)) [2022-09-01 21:36:37][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 32, 30.6)) completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial() [2022-09-01 21:36:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 33, 168)) [2022-09-01 21:36:37][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 1, 33, 168)) completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial() [2022-09-01 21:36:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 2, 0, 2900)) [2022-09-01 21:36:37][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:02:ad:8d:f1, 1, 2, 0, 2900)) completed [2022-09-01 21:36:37][DEBUG] : executing functools.partial() [2022-09-01 21:36:37][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:37][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:02:ad:8d:f1': {'1': {'0': {'65281': {'value': "b'\x01!\xef\x0b\x03(\x1d\x04!\xa8\x01\x05!X\x00\x06$\x01\x00\x00\x00\x00\x08!\x05\x01 !\x00\x00\x98!\x01\x00\x99!\x00\x00'", 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '30.6', 'cluster_name': 'Power Configuration'}, '33': {'value': '168', 'cluster_name': 'Power Configuration'}}, '2': {'0': {'value': '2900', 'cluster_name': 'Device Temperature'}}}}}} [2022-09-01 21:36:37][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:37][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:41][DEBUG] : Data frame: b'31a5b1a9112a15b658924e24ab5593499c4a8b6c50759874fade7783fc7e27a6e9b05a7e' [2022-09-01 21:36:41][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:41][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000004acc7bdbbffff0718140a0000180102' [2022-09-01 21:36:41][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=4), 172, -57, 0xbbbd, 255, 255, b'\x18\x14 \x00\x00\x18\x01'] [2022-09-01 21:36:41][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x14 \x00\x00\x18\x01' [2022-09-01 21:36:41][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=20, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:41][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:41][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 20): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:41][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=20, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:41][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:41][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:41][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:41][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:41][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:41][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:41][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:41][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061001.584522, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:41][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061001.584522, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:41][DEBUG] : executing functools.partial() [2022-09-01 21:36:41][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:41][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:41][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:41][DEBUG] : executing functools.partial() [2022-09-01 21:36:41][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:41][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:41][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:41][DEBUG] : executing functools.partial() [2022-09-01 21:36:41][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:41][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:41][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:41][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:41][DEBUG] : Send command readCounters: () [2022-09-01 21:36:41][DEBUG] : Sending: b'14aa21a9a52a7bab7e' [2022-09-01 21:36:41][DEBUG] : Data frame: b'42aaa1a9a52a00b27394c325ea559249d34e20abeace5b8be5c65089e47e3fa7ebcdde6f8fffc2dbd7d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482435027e' [2022-09-01 21:36:41][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:41][DEBUG] : Application frame 241 (readCounters) received: b'15002a008900400000004f00070007003c0018003300180000000000000000000500020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:41][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:41][DEBUG] : Sending: b'25ab21a9fe2a161c787e' [2022-09-01 21:36:41][DEBUG] : Data frame: b'53aba1a9fe2a15b3aae5857e' [2022-09-01 21:36:41][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:41][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:36:41][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:36:41][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 381, MAC_TX_BROADCAST = 1473, MAC_RX_UNICAST = 550, MAC_TX_UNICAST_SUCCESS = 257, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 16, APS_DATA_TX_BROADCAST = 16, APS_DATA_RX_UNICAST = 354, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 7, CHILD_REMOVED = 4, 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 = 2, 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 = 243] [2022-09-01 21:36:49][DEBUG] : Data frame: b'63abb5a9772a14b2d4c54ccd295492c4894e238fee7e' [2022-09-01 21:36:49][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:49][DEBUG] : Application frame 35 (childJoinHandler) received: b'01008d5106e88301008d150004' [2022-09-01 21:36:49][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:36:49][DEBUG] : Data frame: b'73abb1a9702a98e35f7cc924aad887499e4dd8547ed17e' [2022-09-01 21:36:49][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:49][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d15000203ffff' [2022-09-01 21:36:49][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0xffff] [2022-09-01 21:36:49][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) left the network [2022-09-01 21:36:49][INFO] : [00:15:8d:00:01:83:e8:06][listener.device_left] [2022-09-01 21:36:49][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:01:83:e8:06'} [2022-09-01 21:36:49][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:49][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:49][DEBUG] : Data frame: b'03abb1a9772a14b3d4c54ccd295492c4894e236edd7e' [2022-09-01 21:36:49][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:49][DEBUG] : Application frame 35 (childJoinHandler) received: b'01018d5106e88301008d150004' [2022-09-01 21:36:49][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:36:50][DEBUG] : Data frame: b'13abb1a9702a98e35f7cc924aad887499d4e27abca997e' [2022-09-01 21:36:50][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:50][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d150001000000' [2022-09-01 21:36:50][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0x0000] [2022-09-01 21:36:50][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) joined the network [2022-09-01 21:36:50][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:36:50][DEBUG] : Sending: b'32a821a9212a7d335ada954aa8bf5593297c7e' [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.349763, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.349763, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : Data frame: b'24a8a1a9212aea2f1f7e' [2022-09-01 21:36:50][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:50][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:36:50][DEBUG] : Data frame: b'34a8b1a9112a11b259874a25aa5593499ce2e767609f9874f107eed8fa96bca6eb40cb6f0ffd38527e' [2022-09-01 21:36:50][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:36:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0400001300000000010000acc0cc8d51ffff0cc18d5106e88301008d15008002' [2022-09-01 21:36:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=172), 192, -52, 0x518d, 255, 255, b'\xc1\x8dQ\x06\xe8\x83\x01\x00\x8d\x15\x00\x80'] [2022-09-01 21:36:50][INFO] : ZDO Device announce: 0x518d, 00:15:8d:00:01:83:e8:06 [2022-09-01 21:36:50][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) joined the network [2022-09-01 21:36:50][DEBUG] : [0x518d:zdo] ZDO request ZDOCmd.Device_annce: [0x518D, 00:15:8d:00:01:83:e8:06, 128] [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.637738, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.637738, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.637954, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.637954, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : Data frame: b'44a8b1a9112a15b658944a24ab5593499ce3e767609f9874e4de6383f97e7db587b8b306a18ca2b5a6bd1bd33554c0981553a757517e' [2022-09-01 21:36:50][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:36:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000adc0cc8d51ffff1918000a050042126c756d692e73656e736f725f73776974636802' [2022-09-01 21:36:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=173), 192, -52, 0x518d, 255, 255, b'\x18\x00 \x05\x00B\x12lumi.sensor_switch'] [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x18\x00 \x05\x00B\x12lumi.sensor_switch' [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=0, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 0): Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]) [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=0, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_switch'))]),) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Attribute report received: model='lumi.sensor_switch' [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 5=lumi.sensor_switch on cluster 0 [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.zha_send_event] Received an event update attribute_updated={'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch'} on cluster 0 [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.682714, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.682714, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 5, 'lumi.sensor_switch')) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 5, 'lumi.sensor_switch')) completed [2022-09-01 21:36:50][DEBUG] : Data frame: b'54a8b1a9112a15b658944a24ab5593499ce0e767609f9874fade6283fd7e1fade919287e' [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000aec0cc8d51ffff0718010a0100200a02' [2022-09-01 21:36:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=174), 192, -52, 0x518d, 255, 255, b'\x18\x01 \x01\x00 '] [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x18\x01 \x01\x00 ' [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=1, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=1, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]),) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Attribute report received: app_version=10 [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 1=10 on cluster 0 [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.689452, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.689452, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 1, 10)) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 0, 1, 10)) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : Data frame: b'64a8b1a9112a15b658944a24ab5593499ce1e767609f9874e0da579bfe743d58a7cbde7f8ede1fd0f47a68a84623a9ec761ab3ea55d64350c77e' [2022-09-01 21:36:50][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:36:50][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000afc0cc8d51ffff1d1c3412020a02ff4c0600100121d80b21a801240000000000211600205402' [2022-09-01 21:36:50][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=175), 192, -52, 0x518d, 255, 255, b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x01!\xd8\x0b!\xa8\x01$\x00\x00\x00\x00\x00!\x16\x00 T'] [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received ZCL frame: b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x01!\xd8\x0b!\xa8\x01$\x00\x00\x00\x00\x00!\x16\x00 T' [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]) [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)]))]),) [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0000] Attribute report received: 0xFF02=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=3032), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=22), TypeValue(type=uint8_t, value=84)] [2022-09-01 21:36:50][DEBUG] : 00:15:8d:00:01:83:e8:06 - Attribute report. attribute_id: [65282] value: [{'state': , 'battery_voltage_mV': 3032, 'X-attrib-3': 424, 'X-attrib-4': 0, 'X-attrib-5': 22, 'X-attrib-6': 84}] [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 32=30.3 on cluster 1 [2022-09-01 21:36:50][DEBUG] : [0x518D:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:3032 < [Max]:3100, Battery Percent: 75.5 [2022-09-01 21:36:50][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 33=151 on cluster 1 [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.69941, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061010.69941, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 32, 30.3)) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 32, 30.3)) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 33, 151)) [2022-09-01 21:36:50][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:83:e8:06, 1, 1, 33, 151)) completed [2022-09-01 21:36:50][DEBUG] : executing functools.partial() [2022-09-01 21:36:50][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:50][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:83:e8:06': {'1': {'0': {'5': {'value': 'lumi.sensor_switch', 'cluster_name': 'BasicCluster'}, 'event': {'attribute_updated': {'value': {'attribute_id': 5, 'attribute_name': 'model', 'value': 'lumi.sensor_switch'}, 'cluster_name': 'BasicCluster'}}, '1': {'value': '10', 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '30.3', 'cluster_name': 'Power Configuration'}, '33': {'value': '151', 'cluster_name': 'Power Configuration'}}}}}} [2022-09-01 21:36:50][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:50][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:51][DEBUG] : Data frame: b'74a8b1a96b2a134fa6944a36aa5592499d4e270712ce67b8e07e' [2022-09-01 21:36:51][DEBUG] : Sending: b'8070787e' [2022-09-01 21:36:51][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fdff00001300000000010000acff0000' [2022-09-01 21:36:51][DEBUG] : Received messageSentHandler frame with [, 65533, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=172), 255, , b''] [2022-09-01 21:36:51][DEBUG] : Unexpected message send notification tag: 255 [2022-09-01 21:36:51][DEBUG] : Data frame: b'04a8b1a9112a15b658924e24ab5593499c4be76750759874fade7683fc7e27a6e974867e' [2022-09-01 21:36:51][DEBUG] : Sending: b'8160597e' [2022-09-01 21:36:51][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000005c0ccbdbbffff0718150a0000180102' [2022-09-01 21:36:51][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=5), 192, -52, 0xbbbd, 255, 255, b'\x18\x15 \x00\x00\x18\x01'] [2022-09-01 21:36:51][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x15 \x00\x00\x18\x01' [2022-09-01 21:36:51][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=21, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:36:51][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:51][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 21): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:36:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=21, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:36:51][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:36:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:36:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:36:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:36:51][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:36:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:51][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:36:51][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:36:51][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061011.514971, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:36:51][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061011.514971, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:36:51][DEBUG] : executing functools.partial() [2022-09-01 21:36:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:51][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:36:51][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:36:51][DEBUG] : executing functools.partial() [2022-09-01 21:36:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:51][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:36:51][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:36:51][DEBUG] : executing functools.partial() [2022-09-01 21:36:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:36:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:51][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:36:51][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:36:51][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:36:51][DEBUG] : Send command readCounters: () [2022-09-01 21:36:51][DEBUG] : Sending: b'41a921a9a52aa6ec7e' [2022-09-01 21:36:51][DEBUG] : Data frame: b'15a9a1a9a52a03b27294dc25e9559249d34e2fabe5ce278be5c65089e47e3fa7ebcdde6f8fffc1dbd6d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824b09e7e' [2022-09-01 21:36:51][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:36:51][DEBUG] : Application frame 241 (readCounters) received: b'16002b009600430000004f0008000800400018003300180000000000000000000600030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:36:51][DEBUG] : Send command getValue: (,) [2022-09-01 21:36:51][DEBUG] : Sending: b'52ae21a9fe2a16c25c7e' [2022-09-01 21:36:51][DEBUG] : Data frame: b'26aea1a9fe2a15b3aa712c7e' [2022-09-01 21:36:51][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:36:51][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:36:51][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:36:51][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 382, MAC_TX_BROADCAST = 1474, MAC_RX_UNICAST = 563, MAC_TX_UNICAST_SUCCESS = 260, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 358, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 8, CHILD_REMOVED = 5, 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 = 2, 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 = 243] [2022-09-01 21:37:01][DEBUG] : Data frame: b'36aeb5a9772a14b2d4c54ccd295492c4894e23e8517e' [2022-09-01 21:37:01][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:37:01][DEBUG] : Application frame 35 (childJoinHandler) received: b'01008d5106e88301008d150004' [2022-09-01 21:37:01][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:37:01][DEBUG] : Data frame: b'46aeb1a9702a98e35f7cc924aad887499e4dd854b65b7e' [2022-09-01 21:37:01][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:37:01][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d15000203ffff' [2022-09-01 21:37:01][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0xffff] [2022-09-01 21:37:01][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) left the network [2022-09-01 21:37:01][INFO] : [00:15:8d:00:01:83:e8:06][listener.device_left] [2022-09-01 21:37:01][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:01:83:e8:06'} [2022-09-01 21:37:01][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:37:01][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:37:01][DEBUG] : Send command readCounters: () [2022-09-01 21:37:01][DEBUG] : Sending: b'65af21a9a52a58c07e' [2022-09-01 21:37:01][DEBUG] : Data frame: b'57afa5a9a52a02b27594d125ee559249d34e2fabe5ce278be5c65089e47e3fa7ebcdde6f8fffc1dbd1d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048243b977e' [2022-09-01 21:37:01][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:37:01][DEBUG] : Application frame 241 (readCounters) received: b'17002c009b00440000004f0008000800400018003300180000000000000000000600040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:01][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:01][DEBUG] : Sending: b'76ac21a9fe2a16e62c7e' [2022-09-01 21:37:01][DEBUG] : Data frame: b'67aeb1a9772a14b3d4c54ccd295492c4894e23879a7e' [2022-09-01 21:37:01][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:37:01][DEBUG] : Application frame 35 (childJoinHandler) received: b'01018d5106e88301008d150004' [2022-09-01 21:37:01][DEBUG] : Received childJoinHandler frame with [1, , 0x518d, 00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:37:01][DEBUG] : Data frame: b'70aca1a9fe2a15b3a888677e' [2022-09-01 21:37:01][DEBUG] : Sending: b'8070787e' [2022-09-01 21:37:01][DEBUG] : Application frame 170 (getValue) received: b'0001f1' [2022-09-01 21:37:01][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 241 [2022-09-01 21:37:01][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 383, MAC_TX_BROADCAST = 1475, MAC_RX_UNICAST = 568, MAC_TX_UNICAST_SUCCESS = 261, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 358, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 8, CHILD_REMOVED = 6, 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 = 2, 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 = 241] [2022-09-01 21:37:02][DEBUG] : Data frame: b'00acb1a9702a98e35f7cc924aad887499d4e27abc5007e' [2022-09-01 21:37:02][DEBUG] : Sending: b'8160597e' [2022-09-01 21:37:02][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'8d5106e88301008d150001000000' [2022-09-01 21:37:02][DEBUG] : Received trustCenterJoinHandler frame with [0x518d, 00:15:8d:00:01:83:e8:06, , , 0x0000] [2022-09-01 21:37:02][INFO] : Device 0x518d (00:15:8d:00:01:83:e8:06) joined the network [2022-09-01 21:37:02][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:37:02][DEBUG] : Sending: b'01ad21a9212a7d335ada954aa8bf55939f037e' [2022-09-01 21:37:02][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061022.37789, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:37:02][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061022.37789, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:37:02][DEBUG] : executing functools.partial() [2022-09-01 21:37:02][DEBUG] : operation functools.partial() completed [2022-09-01 21:37:02][DEBUG] : Data frame: b'11ada1a9212aea4c347e' [2022-09-01 21:37:02][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:37:02][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:37:05][DEBUG] : Data frame: b'21adb1a9112a15b658924e24ab5593499c489b6050759874fade7583fc7e27a6e97e2e7e' [2022-09-01 21:37:05][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:37:05][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'000401060401010001000006bccbbdbbffff0718160a0000180102' [2022-09-01 21:37:05][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=6), 188, -53, 0xbbbd, 255, 255, b'\x18\x16 \x00\x00\x18\x01'] [2022-09-01 21:37:05][DEBUG] : [0xBBBD:1:0x0406] Received ZCL frame: b'\x18\x16 \x00\x00\x18\x01' [2022-09-01 21:37:05][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=22, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:37:05][DEBUG] : [0xBBBD:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:37:05][DEBUG] : [0xBBBD:1:0x0406] Received command 0x0A (TSN 22): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]) [2022-09-01 21:37:05][INFO] : [00:15:8d:00:01:21:5a:01][listener.general_command] Cluster: cluster_id: 0x0406 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=22, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=))]),) [2022-09-01 21:37:05][DEBUG] : [0xBBBD:1:0x0406] Attribute report received: occupancy= [2022-09-01 21:37:05][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=bitmap8.1 on cluster 1030 [2022-09-01 21:37:05][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 254 args: (0, [1, 0, 0, 0]) [2022-09-01 21:37:05][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:37:05][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'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-09-01 21:37:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:37:05][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=1 on cluster 1280 [2022-09-01 21:37:05][DEBUG] : 00:15:8d:00:01:21:5a:01 - Received motion event message [2022-09-01 21:37:05][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061025.36107, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) [2022-09-01 21:37:05][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061025.36107, 'ieee': 00:15:8d:00:01:21:5a:01, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:37:05][DEBUG] : executing functools.partial() [2022-09-01 21:37:05][DEBUG] : operation functools.partial() completed [2022-09-01 21:37:05][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) [2022-09-01 21:37:05][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1030, 0, )) completed [2022-09-01 21:37:05][DEBUG] : executing functools.partial() [2022-09-01 21:37:05][DEBUG] : operation functools.partial() completed [2022-09-01 21:37:05][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) [2022-09-01 21:37:05][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 1)) completed [2022-09-01 21:37:05][DEBUG] : executing functools.partial() [2022-09-01 21:37:05][DEBUG] : operation functools.partial() completed [2022-09-01 21:37:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:37:05][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1030': {'0': {'value': 'bitmap8.1', 'cluster_name': 'Occupancy Sensing'}}, '1280': {'0': {'value': '1', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:37:05][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:37:05][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:37:11][DEBUG] : Send command readCounters: () [2022-09-01 21:37:11][DEBUG] : Sending: b'7d33b221a9a52ab59d7e' [2022-09-01 21:37:11][DEBUG] : Data frame: b'32b2a1a9a52a02b27594eb25ec559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd1d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482489ea7e' [2022-09-01 21:37:11][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:37:11][DEBUG] : Application frame 241 (readCounters) received: b'17002c00a100460000004f0008000800410018003300180000000000000000000700040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:11][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:11][DEBUG] : Sending: b'24b321a9fe2a16b3df7e' [2022-09-01 21:37:11][DEBUG] : Data frame: b'43b3a1a9fe2a15b3aa95157e' [2022-09-01 21:37:11][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:37:11][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:37:11][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:37:11][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 383, MAC_TX_BROADCAST = 1475, MAC_RX_UNICAST = 574, MAC_TX_UNICAST_SUCCESS = 263, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 6, 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 = 2, 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 = 243] [2022-09-01 21:37:16][DEBUG] : Data frame: b'53b3b5a9772a15b2e42f4b7f8b5492c4894e237de37e' [2022-09-01 21:37:16][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:37:16][DEBUG] : Application frame 35 (childJoinHandler) received: b'0000bdbb015a2101008d150004' [2022-09-01 21:37:16][DEBUG] : Received childJoinHandler frame with [0, , 0xbbbd, 00:15:8d:00:01:21:5a:01, ] [2022-09-01 21:37:16][DEBUG] : Data frame: b'63b3b1a9702aa80958ce6b24aad887499e4dd85470fb7e' [2022-09-01 21:37:16][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:37:16][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'bdbb015a2101008d15000203ffff' [2022-09-01 21:37:16][DEBUG] : Received trustCenterJoinHandler frame with [0xbbbd, 00:15:8d:00:01:21:5a:01, , , 0xffff] [2022-09-01 21:37:16][INFO] : Device 0xbbbd (00:15:8d:00:01:21:5a:01) left the network [2022-09-01 21:37:16][INFO] : [00:15:8d:00:01:21:5a:01][listener.device_left] [2022-09-01 21:37:16][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:01:21:5a:01'} [2022-09-01 21:37:16][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:37:16][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:37:21][DEBUG] : Send command readCounters: () [2022-09-01 21:37:21][DEBUG] : Sending: b'37b021a9a52ac2b77e' [2022-09-01 21:37:21][DEBUG] : Data frame: b'74b0a1a9a52a0cb27494ec25e2559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824cdde7e' [2022-09-01 21:37:21][DEBUG] : Sending: b'8070787e' [2022-09-01 21:37:21][DEBUG] : Application frame 241 (readCounters) received: b'19002d00a600480000004f0008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:21][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:21][DEBUG] : Sending: b'40b121a9fe2a164a437e' [2022-09-01 21:37:21][DEBUG] : Data frame: b'05b1a1a9fe2a15b3aa1fe27e' [2022-09-01 21:37:21][DEBUG] : Sending: b'8160597e' [2022-09-01 21:37:21][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:37:21][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:37:21][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 385, MAC_TX_BROADCAST = 1476, MAC_RX_UNICAST = 579, MAC_TX_UNICAST_SUCCESS = 265, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 243] [2022-09-01 21:37:31][DEBUG] : Send command readCounters: () [2022-09-01 21:37:31][DEBUG] : Sending: b'51b621a9a52addcb7e' [2022-09-01 21:37:31][DEBUG] : Data frame: b'16b6a1a9a52a0cb27794e325e2559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824cfa07e' [2022-09-01 21:37:31][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:37:31][DEBUG] : Application frame 241 (readCounters) received: b'19002e00a900480000004f0008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:31][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:31][DEBUG] : Sending: b'62b721a9fe2a16c9b77e' [2022-09-01 21:37:32][DEBUG] : Data frame: b'27b7a1a9fe2a15b3aafeb27e' [2022-09-01 21:37:32][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:37:32][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:37:32][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:37:32][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 385, MAC_TX_BROADCAST = 1477, MAC_RX_UNICAST = 582, MAC_TX_UNICAST_SUCCESS = 265, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 243] [2022-09-01 21:37:35][DEBUG] : Data frame: b'37b7b1a9cf2a14e878954aa8bf55a0f04f7e' [2022-09-01 21:37:35][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:37:35][DEBUG] : Application frame 155 (zigbeeKeyEstablishmentHandler) received: b'015a2101008d150032' [2022-09-01 21:37:35][DEBUG] : Received zigbeeKeyEstablishmentHandler frame with [00:15:8d:00:01:21:5a:01, ] [2022-09-01 21:37:42][DEBUG] : Send command readCounters: () [2022-09-01 21:37:42][DEBUG] : Sending: b'74b421a9a52aef417e' [2022-09-01 21:37:42][DEBUG] : Data frame: b'40b4a1a9a52a0eb27794e625e0559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048243e8d7e' [2022-09-01 21:37:42][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:37:42][DEBUG] : Application frame 241 (readCounters) received: b'1b002e00ac004a0000004f0008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:42][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:42][DEBUG] : Sending: b'05b521a9fe2a16e8a97e' [2022-09-01 21:37:42][DEBUG] : Data frame: b'51b5a1a9fe2a15b3ace0817e' [2022-09-01 21:37:42][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:37:42][DEBUG] : Application frame 170 (getValue) received: b'0001f5' [2022-09-01 21:37:42][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 245 [2022-09-01 21:37:42][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 387, MAC_TX_BROADCAST = 1477, MAC_RX_UNICAST = 585, MAC_TX_UNICAST_SUCCESS = 267, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 245] [2022-09-01 21:37:52][DEBUG] : Send command readCounters: () [2022-09-01 21:37:52][DEBUG] : Sending: b'16ba21a9a52af4b17e' [2022-09-01 21:37:52][DEBUG] : Data frame: b'62baa1a9a52a09b27694e625e1559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048240ccd7e' [2022-09-01 21:37:52][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:37:52][DEBUG] : Application frame 241 (readCounters) received: b'1c002f00ac004b0000004f0008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:37:52][DEBUG] : Send command getValue: (,) [2022-09-01 21:37:52][DEBUG] : Sending: b'27bb21a9fe2a16661f7e' [2022-09-01 21:37:52][DEBUG] : Data frame: b'73bba1a9fe2a15b3ac1f0b7e' [2022-09-01 21:37:52][DEBUG] : Sending: b'8070787e' [2022-09-01 21:37:52][DEBUG] : Application frame 170 (getValue) received: b'0001f5' [2022-09-01 21:37:52][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 245 [2022-09-01 21:37:52][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 388, MAC_TX_BROADCAST = 1478, MAC_RX_UNICAST = 585, MAC_TX_UNICAST_SUCCESS = 268, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 245] [2022-09-01 21:37:54][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Error on read attribute level 2 : [2022-09-01 21:37:54][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=103, command_id=, *direction=, *is_reply=False) [2022-09-01 21:37:54][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[7]) [2022-09-01 21:37:54][DEBUG] : [0x518d] Extending timeout for 0x67 request [2022-09-01 21:37:54][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:37:54][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:37:54][DEBUG] : Sending: b'30b821a92a2a7d335ada954aa8bf559378267e' [2022-09-01 21:37:54][DEBUG] : Data frame: b'04b8a1a92a2af7687e' [2022-09-01 21:37:54][DEBUG] : Sending: b'8160597e' [2022-09-01 21:37:54][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:37:54][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=103), 104, b'\x00g\x00\x07\x00') [2022-09-01 21:37:54][DEBUG] : Sending: b'41b921a9602a153f08904b25aa5493099d4e27cc85cb67ecfdc1637d5d467e' [2022-09-01 21:37:54][DEBUG] : Data frame: b'15b9a1a9602a155335d97e' [2022-09-01 21:37:54][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:37:54][DEBUG] : Application frame 52 (sendUnicast) received: b'00e1' [2022-09-01 21:38:02][DEBUG] : Send command readCounters: () [2022-09-01 21:38:02][DEBUG] : Sending: b'52be21a9a52a7d31067e' [2022-09-01 21:38:02][DEBUG] : Data frame: b'26bea1a9a52a08b27694e625e6559249d34e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a2519048247ca87e' [2022-09-01 21:38:02][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:02][DEBUG] : Application frame 241 (readCounters) received: b'1d002f00ac004c0000004f0008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:02][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:02][DEBUG] : Sending: b'63bf21a9fe2a167c947e' [2022-09-01 21:38:02][DEBUG] : Data frame: b'37bfa1a9fe2a15b3aab3967e' [2022-09-01 21:38:02][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:02][DEBUG] : Application frame 170 (getValue) received: b'0001f3' [2022-09-01 21:38:02][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 243 [2022-09-01 21:38:02][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 389, MAC_TX_BROADCAST = 1478, MAC_RX_UNICAST = 585, MAC_TX_UNICAST_SUCCESS = 269, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 148, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 243] [2022-09-01 21:38:02][DEBUG] : Data frame: b'47bfb1a9d42a573f08d9bc7e' [2022-09-01 21:38:02][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:02][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:02][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:02][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:02][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:02][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:02][DEBUG] : executing functools.partial() [2022-09-01 21:38:02][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:08][DEBUG] : Data frame: b'57bfb1a9cf2a135ada954aa8bf55a08c857e' [2022-09-01 21:38:08][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:08][DEBUG] : Application frame 155 (zigbeeKeyEstablishmentHandler) received: b'06e88301008d150032' [2022-09-01 21:38:08][DEBUG] : Received zigbeeKeyEstablishmentHandler frame with [00:15:8d:00:01:83:e8:06, ] [2022-09-01 21:38:11][DEBUG] : Data frame: b'67bfb1a9d42a573f087e407e' [2022-09-01 21:38:11][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:11][DEBUG] : executing functools.partial() [2022-09-01 21:38:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:12][DEBUG] : Send command readCounters: () [2022-09-01 21:38:12][DEBUG] : Sending: b'77bc21a9a52a238c7e' [2022-09-01 21:38:12][DEBUG] : Data frame: b'70bca1a9a52a08b26994e625e6559249cd4e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd0d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482415647e' [2022-09-01 21:38:12][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:12][DEBUG] : Application frame 241 (readCounters) received: b'1d003000ac004c000000510008000800410018003300180000000000000000000700050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:12][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:12][DEBUG] : Sending: b'00bd21a9fe2a169c4c7e' [2022-09-01 21:38:12][DEBUG] : Data frame: b'01bda1a9fe2a15b3ade25d7e' [2022-09-01 21:38:12][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:12][DEBUG] : Application frame 170 (getValue) received: b'0001f4' [2022-09-01 21:38:12][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 244 [2022-09-01 21:38:12][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 389, MAC_TX_BROADCAST = 1479, MAC_RX_UNICAST = 585, MAC_TX_UNICAST_SUCCESS = 269, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 150, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 7, 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 = 2, 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 = 244] [2022-09-01 21:38:12][DEBUG] : Data frame: b'11bdb5a9772a17b2c205bba8075792c4894e234f617e' [2022-09-01 21:38:12][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:12][DEBUG] : Application frame 35 (childJoinHandler) received: b'02009b91f18dad02008d150004' [2022-09-01 21:38:12][DEBUG] : Received childJoinHandler frame with [2, , 0x919b, 00:15:8d:00:02:ad:8d:f1, ] [2022-09-01 21:38:12][DEBUG] : Data frame: b'21bdb1a9702a8e23a819e727aad887499e4dd85459727e' [2022-09-01 21:38:12][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:12][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'9b91f18dad02008d15000203ffff' [2022-09-01 21:38:12][DEBUG] : Received trustCenterJoinHandler frame with [0x919b, 00:15:8d:00:02:ad:8d:f1, , , 0xffff] [2022-09-01 21:38:12][INFO] : Device 0x919b (00:15:8d:00:02:ad:8d:f1) left the network [2022-09-01 21:38:12][INFO] : [00:15:8d:00:02:ad:8d:f1][listener.device_left] [2022-09-01 21:38:12][INFO] : Send to jeedom : {'device_left': '00:15:8d:00:02:ad:8d:f1'} [2022-09-01 21:38:12][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:12][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:15][DEBUG] : 00:15:8d:00:01:21:5a:01 - Resetting motion sensor [2022-09-01 21:38:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Cluster: ClusterId: 0x0500 tsn: 253 args: (0, [0, 0, 0, 0]) [2022-09-01 21:38:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.cluster_command] Use specific decode funtion of cluster id 1280 [2022-09-01 21:38:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1280': {'cmd': {1: {'value': '0', '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-09-01 21:38:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:15][INFO] : [00:15:8d:00:01:21:5a:01][listener.attribute_updated] Received an attribute update 0=0 on cluster 1280 [2022-09-01 21:38:15][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 0)) [2022-09-01 21:38:15][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:21:5a:01, 1, 1280, 0, 0)) completed [2022-09-01 21:38:15][DEBUG] : executing functools.partial() [2022-09-01 21:38:15][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:15][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:21:5a:01': {'1': {'1280': {'0': {'value': '0', 'cluster_name': 'IAS Zone'}}}}}} [2022-09-01 21:38:15][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:15][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:21][DEBUG] : Data frame: b'31bdb1a9d42a573f08a7497e' [2022-09-01 21:38:21][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:21][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:21][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:21][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:21][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:21][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:21][DEBUG] : executing functools.partial() [2022-09-01 21:38:21][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:22][DEBUG] : Send command readCounters: () [2022-09-01 21:38:22][DEBUG] : Sending: b'144221a9a52a428a7e' [2022-09-01 21:38:22][DEBUG] : Data frame: b'4242a1a9a52a0ab26894e725e4559249ce4e2fabe5ce268be5c65089e47e3fa7ebcdde6f8fffc0dbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824f9c37e' [2022-09-01 21:38:22][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:22][DEBUG] : Application frame 241 (readCounters) received: b'1f003100ad004e000000520008000800410018003300180000000000000000000700060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:22][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:22][DEBUG] : Sending: b'254321a9fe2a169a027e' [2022-09-01 21:38:22][DEBUG] : Data frame: b'5343a1a9fe2a15b3adfb817e' [2022-09-01 21:38:22][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:22][DEBUG] : Application frame 170 (getValue) received: b'0001f4' [2022-09-01 21:38:22][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 244 [2022-09-01 21:38:22][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 391, MAC_TX_BROADCAST = 1480, MAC_RX_UNICAST = 586, MAC_TX_UNICAST_SUCCESS = 271, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 151, APS_DATA_RX_BROADCAST = 17, APS_DATA_TX_BROADCAST = 17, APS_DATA_RX_UNICAST = 359, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 73, APS_DATA_TX_UNICAST_FAILED = 34, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 9, CHILD_REMOVED = 8, 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 = 2, 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 = 244] [2022-09-01 21:38:22][DEBUG] : Data frame: b'6343b1a96b2a153f08904b25aa5493099d4e274a85a8670efd7e' [2022-09-01 21:38:22][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:22][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000e1686600' [2022-09-01 21:38:22][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=225), 104, , b''] [2022-09-01 21:38:22][DEBUG] : [0x518d] Delivery error for seq # 0x67, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:38:22][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Error on read attribute level 3 : [0x518d:1:0x0000]: Message send failure [2022-09-01 21:38:22][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=105, command_id=, *direction=, *is_reply=False) [2022-09-01 21:38:22][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[6, 16384]) [2022-09-01 21:38:22][DEBUG] : [0x518d] Extending timeout for 0x69 request [2022-09-01 21:38:22][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:38:22][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:38:22][DEBUG] : Sending: b'374021a92a2a7d335ada954aa8bf5593cc237e' [2022-09-01 21:38:22][DEBUG] : Data frame: b'7440a1a92a2a8f8f7e' [2022-09-01 21:38:22][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:22][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:22][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=105), 106, b'\x00i\x00\x06\x00\x00@') [2022-09-01 21:38:22][DEBUG] : Sending: b'404121a9602a153f08904b25aa5493099d4e27c287c967e2fdc06389bca4497e' [2022-09-01 21:38:22][DEBUG] : Data frame: b'0541a1a9602a1550843b7e' [2022-09-01 21:38:22][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:22][DEBUG] : Application frame 52 (sendUnicast) received: b'00e2' [2022-09-01 21:38:25][DEBUG] : Data frame: b'1541b1a9772a15b383601422d85492c4894e232b567e' [2022-09-01 21:38:25][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:25][DEBUG] : Application frame 35 (childJoinHandler) received: b'0001daf45e077201008d150004' [2022-09-01 21:38:25][DEBUG] : Received childJoinHandler frame with [0, , 0xf4da, 00:15:8d:00:01:72:07:5e, ] [2022-09-01 21:38:25][DEBUG] : Data frame: b'2541b1a9702acf4607933824aad887499d4e27abc9d67e' [2022-09-01 21:38:25][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:25][DEBUG] : Application frame 36 (trustCenterJoinHandler) received: b'daf45e077201008d150001000000' [2022-09-01 21:38:25][DEBUG] : Received trustCenterJoinHandler frame with [0xf4da, 00:15:8d:00:01:72:07:5e, , , 0x0000] [2022-09-01 21:38:25][INFO] : New device 0xf4da (00:15:8d:00:01:72:07:5e) joined the network [2022-09-01 21:38:25][INFO] : [00:15:8d:00:01:72:07:5e][listener.device_joined] [2022-09-01 21:38:25][INFO] : Send to jeedom : {'device_joined': '00:15:8d:00:01:72:07:5e'} [2022-09-01 21:38:25][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:25][DEBUG] : [0xf4da] Scheduling initialization [2022-09-01 21:38:25][DEBUG] : Send command findKeyTableEntry: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:38:25][DEBUG] : Tries remaining: 3 [2022-09-01 21:38:25][DEBUG] : Sending: b'534621a9212a4bb52b954aa8bf55932a457e' [2022-09-01 21:38:25][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET nwk=? WHERE ieee=?', (0xF4DA, 00:15:8d:00:01:72:07:5e)) [2022-09-01 21:38:25][INFO] : [0xf4da] Requesting 'Node Descriptor' [2022-09-01 21:38:25][DEBUG] : Tries remaining: 2 [2022-09-01 21:38:25][DEBUG] : [0xf4da] Extending timeout for 0x6b request [2022-09-01 21:38:25][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET nwk=? WHERE ieee=?', (0xF4DA, 00:15:8d:00:01:72:07:5e)) completed [2022-09-01 21:38:25][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:38:25][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:38:25][DEBUG] : executing functools.partial() [2022-09-01 21:38:25][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:25][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:25][DEBUG] : Data frame: b'3646a1a9212aea731c7e' [2022-09-01 21:38:25][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:25][DEBUG] : Sending: b'644721a92a2a4bb52b954aa8bf559320597e' [2022-09-01 21:38:25][DEBUG] : Application frame 117 (findKeyTableEntry) received: b'ff' [2022-09-01 21:38:25][DEBUG] : Data frame: b'4747a1a92a2a09377e' [2022-09-01 21:38:25][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:25][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:25][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=107), 108, b'k\xda\xf4') [2022-09-01 21:38:25][DEBUG] : Sending: b'754421a9602a1568ad944a27aa5592099d4e27c081cd0c510990c87e' [2022-09-01 21:38:25][DEBUG] : Data frame: b'5044a1a9602a15561e807e' [2022-09-01 21:38:25][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:25][DEBUG] : Application frame 52 (sendUnicast) received: b'00e4' [2022-09-01 21:38:25][DEBUG] : Data frame: b'6044b1a9112a11b259874a25aa5593499ca0cf7d373a9874f15db97da2794da6eb40cb6f0ffda8bf7e' [2022-09-01 21:38:25][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:25][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0400001300000000010000eee8d6daf4ffff0c9bdaf45e077201008d15008002' [2022-09-01 21:38:25][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=238), 232, -42, 0xf4da, 255, 255, b'\x9b\xda\xf4^\x07r\x01\x00\x8d\x15\x00\x80'] [2022-09-01 21:38:25][INFO] : ZDO Device announce: 0xf4da, 00:15:8d:00:01:72:07:5e [2022-09-01 21:38:25][INFO] : Device 0xf4da (00:15:8d:00:01:72:07:5e) joined the network [2022-09-01 21:38:25][DEBUG] : [0xf4da] Scheduling initialization [2022-09-01 21:38:25][DEBUG] : [0xf4da] Canceling old initialize call [2022-09-01 21:38:25][DEBUG] : Received frame on uninitialized device from ep 0 to ep 0, cluster 19: b'\x9b\xda\xf4^\x07r\x01\x00\x8d\x15\x00\x80' [2022-09-01 21:38:25][DEBUG] : [0xf4da:zdo] ZDO request ZDOCmd.Device_annce: [0xF4DA, 00:15:8d:00:01:72:07:5e, 128] [2022-09-01 21:38:25][WARNING] : Device failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 177, in initialize await self._initialize() File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 200, in _initialize await self.get_node_descriptor() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 162, in get_node_descriptor self.nwk, tries=2, delay=0.1 File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request use_ieee=use_ieee, File "/usr/local/lib/python3.7/dist-packages/bellows/zigbee/application.py", line 825, in request res = await asyncio.wait_for(req.result, APS_ACK_TIMEOUT) File "/usr/lib/python3.7/asyncio/tasks.py", line 409, in wait_for await waiter concurrent.futures._base.CancelledError [2022-09-01 21:38:25][DEBUG] : Tries remaining: 3 [2022-09-01 21:38:25][INFO] : [0xf4da] Requesting 'Node Descriptor' [2022-09-01 21:38:25][DEBUG] : Tries remaining: 2 [2022-09-01 21:38:25][DEBUG] : [0xf4da] Extending timeout for 0x6d request [2022-09-01 21:38:25][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:38:25][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:38:25][DEBUG] : Sending: b'074521a92a2a4bb52b954aa8bf559382a37e' [2022-09-01 21:38:25][DEBUG] : Data frame: b'7145a1a92a2aefd97e' [2022-09-01 21:38:25][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:25][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:25][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=109), 110, b'm\xda\xf4') [2022-09-01 21:38:25][DEBUG] : Sending: b'104a21a9602a1568ad944a27aa5592099d4e27c683cd0a5109eae47e' [2022-09-01 21:38:25][DEBUG] : Data frame: b'024aa1a9602a155778eb7e' [2022-09-01 21:38:25][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:25][DEBUG] : Application frame 52 (sendUnicast) received: b'00e5' [2022-09-01 21:38:25][DEBUG] : Data frame: b'124ab1a9112a15b658944a24ab5593499ca1cf7d373a9874e4de6383f97e7db587b8b306a18ca2b5a6bd1bd32b42ce82134fa7e8537e' [2022-09-01 21:38:25][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:25][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000efe8d6daf4ffff1918000a050042126c756d692e73656e736f725f6d61676e657402' [2022-09-01 21:38:25][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=239), 232, -42, 0xf4da, 255, 255, b'\x18\x00 \x05\x00B\x12lumi.sensor_magnet'] [2022-09-01 21:38:25][DEBUG] : Received frame on uninitialized device from ep 1 to ep 1, cluster 0: b'\x18\x00 \x05\x00B\x12lumi.sensor_magnet' [2022-09-01 21:38:25][DEBUG] : [0xf4da] Received ZCL while uninitialized on endpoint id 1, cluster 0x0000 id, hdr: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=0, command_id=10, *direction=, *is_reply=True), payload: b'\x05\x00B\x12lumi.sensor_magnet' [2022-09-01 21:38:25][DEBUG] : [0xf4da] Uninitialized device command '10' params: Report_Attributes(attribute_reports=[Attribute(attrid=0x0005, value=TypeValue(type=CharacterString, value='lumi.sensor_magnet'))]) [2022-09-01 21:38:25][DEBUG] : [0xf4da] Found 'Magnet' quirk for 'lumi.sensor_magnet' model [2022-09-01 21:38:25][DEBUG] : [0xf4da] Canceling old initialize call [2022-09-01 21:38:25][DEBUG] : Device is initialized [2022-09-01 21:38:25][DEBUG] : Checking quirks for LUMI lumi.sensor_magnet (00:15:8d:00:01:72:07:5e) [2022-09-01 21:38:25][DEBUG] : Considering [2022-09-01 21:38:25][DEBUG] : Found custom device replacement for 00:15:8d:00:01:72:07:5e: [2022-09-01 21:38:25][INFO] : [00:15:8d:00:01:72:07:5e][listener.device_initialized] new=True [2022-09-01 21:38:25][INFO] : Send to jeedom : {'device_initialized': '00:15:8d:00:01:72:07:5e'} [2022-09-01 21:38:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:26][DEBUG] : Data frame: b'224ab1a9112a15b658944a24ab5593499cbec37e373a9874fade6283fd7e1fade9afef7e' [2022-09-01 21:38:26][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:26][INFO] : [0xf4da] Was quickly initialized from 'zhaquirks.xiaomi.mija.sensor_magnet.Magnet' quirk [2022-09-01 21:38:26][WARNING] : Device failed to initialize due to unexpected error Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 177, in initialize await self._initialize() File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 200, in _initialize await self.get_node_descriptor() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 162, in get_node_descriptor self.nwk, tries=2, delay=0.1 File "/usr/local/lib/python3.7/dist-packages/zigpy/util.py", line 130, in retry r = await func() File "/usr/local/lib/python3.7/dist-packages/zigpy/device.py", line 300, in request use_ieee=use_ieee, File "/usr/local/lib/python3.7/dist-packages/bellows/zigbee/application.py", line 825, in request res = await asyncio.wait_for(req.result, APS_ACK_TIMEOUT) File "/usr/lib/python3.7/asyncio/tasks.py", line 409, in wait_for await waiter concurrent.futures._base.CancelledError [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize] Begin device initialize [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO devices_v10 (ieee, nwk, status, last_seen) VALUES (?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET nwk=excluded.nwk, status=excluded.status, last_seen=excluded.last_seen', (00:15:8d:00:01:72:07:5e, 0xF4DA, , 1662061105.958673)) [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'basic', is_server 'True' [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bind input cluster 'basic' [2022-09-01 21:38:26][DEBUG] : [0xf4da] Extending timeout for 0x6f request [2022-09-01 21:38:26][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:38:26][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO devices_v10 (ieee, nwk, status, last_seen) VALUES (?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET nwk=excluded.nwk, status=excluded.status, last_seen=excluded.last_seen', (00:15:8d:00:01:72:07:5e, 0xF4DA, , 1662061105.958673)) completed [2022-09-01 21:38:26][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000f0e4d5daf4ffff0718010a0100200a02' [2022-09-01 21:38:26][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=240), 228, -43, 0xf4da, 255, 255, b'\x18\x01 \x01\x00 '] [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Received ZCL frame: b'\x18\x01 \x01\x00 ' [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=1, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Received command 0x0A (TSN 1): Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]) [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=1, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0001, value=TypeValue(type=uint8_t, value=10))]),) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Attribute report received: app_version=10 [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.attribute_updated] Received an attribute update 1=10 on cluster 0 [2022-09-01 21:38:26][DEBUG] : Sending: b'234b21a92a2a4bb52b954aa8bf559364097e' [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO node_descriptors_v10 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET logical_type=excluded.logical_type, complex_descriptor_available=excluded.complex_descriptor_available, user_descriptor_available=excluded.user_descriptor_available, reserved=excluded.reserved, aps_flags=excluded.aps_flags, frequency_band=excluded.frequency_band, mac_capability_flags=excluded.mac_capability_flags, manufacturer_code=excluded.manufacturer_code, maximum_buffer_size=excluded.maximum_buffer_size, maximum_incoming_transfer_size=excluded.maximum_incoming_transfer_size, server_mask=excluded.server_mask, maximum_outgoing_transfer_size=excluded.maximum_outgoing_transfer_size, descriptor_capability_field=excluded.descriptor_capability_field', (00:15:8d:00:01:72:07:5e, , 0, 0, 0, 0, , , 4151, 127, 100, 0, 100, )) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO node_descriptors_v10 VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (ieee) DO UPDATE SET logical_type=excluded.logical_type, complex_descriptor_available=excluded.complex_descriptor_available, user_descriptor_available=excluded.user_descriptor_available, reserved=excluded.reserved, aps_flags=excluded.aps_flags, frequency_band=excluded.frequency_band, mac_capability_flags=excluded.mac_capability_flags, manufacturer_code=excluded.manufacturer_code, maximum_buffer_size=excluded.maximum_buffer_size, maximum_incoming_transfer_size=excluded.maximum_incoming_transfer_size, server_mask=excluded.server_mask, maximum_outgoing_transfer_size=excluded.maximum_outgoing_transfer_size, descriptor_capability_field=excluded.descriptor_capability_field', (00:15:8d:00:01:72:07:5e, , 0, 0, 0, 0, , , 4151, 127, 100, 0, 100, )) completed [2022-09-01 21:38:26][DEBUG] : Data frame: b'324ab1a9112a15b658944a24ab5593499cbfc37e373a9874e0da579bfe743d58a7cbde7f8fde74d0f47a68a84623a9ec761acbea55cd436f7b7e' [2022-09-01 21:38:26][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO endpoints_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id) DO UPDATE SET profile_id=excluded.profile_id, device_type=excluded.device_type, status=excluded.status', [(00:15:8d:00:01:72:07:5e, 1, 260, , )]) [2022-09-01 21:38:26][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010100010000f1e4d5daf4ffff1d1c3412020a02ff4c0600100021b30b21a801240000000000216e00204f02' [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO endpoints_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id) DO UPDATE SET profile_id=excluded.profile_id, device_type=excluded.device_type, status=excluded.status', [(00:15:8d:00:01:72:07:5e, 1, 260, , )]) completed [2022-09-01 21:38:26][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=241), 228, -43, 0xf4da, 255, 255, b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x00!\xb3\x0b!\xa8\x01$\x00\x00\x00\x00\x00!n\x00 O'] [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Received ZCL frame: b'\x1c4\x12\x02 \x02\xffL\x06\x00\x10\x00!\xb3\x0b!\xa8\x01$\x00\x00\x00\x00\x00!n\x00 O' [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Decoded ZCL frame: BasicCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=2995), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=110), TypeValue(type=uint8_t, value=79)]))]) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Received command 0x0A (TSN 2): Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=2995), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=110), TypeValue(type=uint8_t, value=79)]))]) [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=True, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), manufacturer=4660, tsn=2, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0xFF02, value=TypeValue(type=ZCLStructure, value=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=2995), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=110), TypeValue(type=uint8_t, value=79)]))]),) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0000] Attribute report received: 0xFF02=[TypeValue(type=Bool, value=), TypeValue(type=uint16_t, value=2995), TypeValue(type=uint16_t, value=424), TypeValue(type=uint40_t, value=0), TypeValue(type=uint16_t, value=110), TypeValue(type=uint8_t, value=79)] [2022-09-01 21:38:26][DEBUG] : 00:15:8d:00:01:72:07:5e - Attribute report. attribute_id: [65282] value: [{'state': , 'battery_voltage_mV': 2995, 'X-attrib-3': 424, 'X-attrib-4': 0, 'X-attrib-5': 110, 'X-attrib-6': 79}] [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.attribute_updated] Received an attribute update 32=29.9 on cluster 1 [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0001] Voltage mV: [Min]:2820 < [RAW]:2995 < [Max]:3100, Battery Percent: 62.5 [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.attribute_updated] Received an attribute update 33=125 on cluster 1 [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO in_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:01:72:07:5e, 1, 0), (00:15:8d:00:01:72:07:5e, 1, 3), (00:15:8d:00:01:72:07:5e, 1, 65535), (00:15:8d:00:01:72:07:5e, 1, 25)]) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO in_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:01:72:07:5e, 1, 0), (00:15:8d:00:01:72:07:5e, 1, 3), (00:15:8d:00:01:72:07:5e, 1, 65535), (00:15:8d:00:01:72:07:5e, 1, 25)]) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', [(00:15:8d:00:01:72:07:5e, 1, 0, 4, 'LUMI'), (00:15:8d:00:01:72:07:5e, 1, 0, 5, 'lumi.sensor_magnet')]) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value', [(00:15:8d:00:01:72:07:5e, 1, 0, 4, 'LUMI'), (00:15:8d:00:01:72:07:5e, 1, 0, 5, 'lumi.sensor_magnet')]) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO unsupported_attributes_v10 VALUES (?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO NOTHING', []) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO unsupported_attributes_v10 VALUES (?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO NOTHING', []) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO out_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:01:72:07:5e, 1, 0), (00:15:8d:00:01:72:07:5e, 1, 3), (00:15:8d:00:01:72:07:5e, 1, 4), (00:15:8d:00:01:72:07:5e, 1, 6), (00:15:8d:00:01:72:07:5e, 1, 8), (00:15:8d:00:01:72:07:5e, 1, 5), (00:15:8d:00:01:72:07:5e, 1, 25)]) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO out_clusters_v10 VALUES (?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster) DO NOTHING', [(00:15:8d:00:01:72:07:5e, 1, 0), (00:15:8d:00:01:72:07:5e, 1, 3), (00:15:8d:00:01:72:07:5e, 1, 4), (00:15:8d:00:01:72:07:5e, 1, 6), (00:15:8d:00:01:72:07:5e, 1, 8), (00:15:8d:00:01:72:07:5e, 1, 5), (00:15:8d:00:01:72:07:5e, 1, 25)]) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.00912, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.00912, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 0, 1, 10)) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 0, 1, 10)) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.014019, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.014019, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:26][DEBUG] : Data frame: b'434ba1a92a2a84bd7e' [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:26][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=111), 112, b"o^\x07r\x01\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 1, 32, 29.9)) [2022-09-01 21:38:26][DEBUG] : Sending: b'354821a9602a1568ad944a04aa5592099d4e27c49dd808d5fab46289716b3fa6ebcddd9ba57d5d3924f22fed8dbb967e' [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 1, 32, 29.9)) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 1, 33, 125)) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'INSERT INTO attributes_cache_v10 VALUES (?, ?, ?, ?, ?) ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE SET value=excluded.value WHERE value != excluded.value', (00:15:8d:00:01:72:07:5e, 1, 1, 33, 125)) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][DEBUG] : Data frame: b'5448a1a9602a155463c47e' [2022-09-01 21:38:26][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:26][DEBUG] : Application frame 52 (sendUnicast) received: b'00e6' [2022-09-01 21:38:26][DEBUG] : Data frame: b'6448b1a9112a15b658924a24ab5593499cbccf7d373a9874fade6083fc7e2fa6e972137e' [2022-09-01 21:38:26][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:26][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010600010100010000f2e8d6daf4ffff0718030a0000100102' [2022-09-01 21:38:26][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=242), 232, -42, 0xf4da, 255, 255, b'\x18\x03 \x00\x00\x10\x01'] [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0006] Received ZCL frame: b'\x18\x03 \x00\x00\x10\x01' [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=3, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0006] Decoded ZCL frame: OnOff:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0006] Received command 0x0A (TSN 3): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.general_command] Cluster: cluster_id: 0x0006 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=3, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]),) [2022-09-01 21:38:26][DEBUG] : [0xF4DA:1:0x0006] Attribute report received: on_off= [2022-09-01 21:38:26][INFO] : [00:15:8d:00:01:72:07:5e][listener.attribute_updated] Received an attribute update 0=Bool.true on cluster 6 [2022-09-01 21:38:26][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.212995, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:26][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061106.212995, 'ieee': 00:15:8d:00:01:72:07:5e, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:26][DEBUG] : executing functools.partial() [2022-09-01 21:38:26][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:26][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:72:07:5e': {'1': {'0': {'1': {'value': '10', 'cluster_name': 'BasicCluster'}}, '1': {'32': {'value': '29.9', 'cluster_name': 'Power Configuration'}, '33': {'value': '125', 'cluster_name': 'Power Configuration'}}, '6': {'0': {'value': 'Bool.true', 'cluster_name': 'On/Off'}}}}}} [2022-09-01 21:38:26][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:26][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:26][DEBUG] : Data frame: b'7448b1a96b2a134fa6944a36aa5592499d4e274512ce673e767e' [2022-09-01 21:38:26][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:26][DEBUG] : Application frame 63 (messageSentHandler) received: b'06fdff00001300000000010000eeff0000' [2022-09-01 21:38:26][DEBUG] : Received messageSentHandler frame with [, 65533, EmberApsFrame(profileId=0, clusterId=19, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=238), 255, , b''] [2022-09-01 21:38:26][DEBUG] : Unexpected message send notification tag: 255 [2022-09-01 21:38:27][DEBUG] : Data frame: b'0448b1a94d2a886c657e' [2022-09-01 21:38:27][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:27][DEBUG] : Application frame 25 (stackStatusHandler) received: b'9d' [2022-09-01 21:38:27][DEBUG] : Received stackStatusHandler frame with [] [2022-09-01 21:38:28][DEBUG] : Send command setPolicy: (, ) [2022-09-01 21:38:28][DEBUG] : Sending: b'414921a9012a15bb5928007e' [2022-09-01 21:38:28][DEBUG] : Data frame: b'1549a1a9012a15985d7e' [2022-09-01 21:38:28][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:28][DEBUG] : Application frame 85 (setPolicy) received: b'00' [2022-09-01 21:38:30][DEBUG] : Data frame: b'2549b1a9d42a573f082ab87e' [2022-09-01 21:38:30][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:30][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:30][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:30][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:30][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:30][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:30][DEBUG] : executing functools.partial() [2022-09-01 21:38:30][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:32][DEBUG] : Send command readCounters: () [2022-09-01 21:38:32][DEBUG] : Sending: b'534e21a9a52a6bf07e' [2022-09-01 21:38:32][DEBUG] : Data frame: b'364ea1a9a52a34b26b94ff25f8559249cf4e2eabe4ce228be5c65689e57e3fa7ebcdde6f8fffcfdbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824c0fb7e' [2022-09-01 21:38:32][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:32][DEBUG] : Application frame 241 (readCounters) received: b'21003200b50052000000530009000900450018003500190000000000000000000800060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:32][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:32][DEBUG] : Sending: b'644f21a9fe2a16f46c7e' [2022-09-01 21:38:32][DEBUG] : Data frame: b'474fa1a9fe2a15b3b4a63f7e' [2022-09-01 21:38:32][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:32][DEBUG] : Application frame 170 (getValue) received: b'0001ed' [2022-09-01 21:38:32][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 237 [2022-09-01 21:38:32][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 393, MAC_TX_BROADCAST = 1481, MAC_RX_UNICAST = 594, MAC_TX_UNICAST_SUCCESS = 275, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 152, APS_DATA_RX_BROADCAST = 18, APS_DATA_TX_BROADCAST = 18, APS_DATA_RX_UNICAST = 363, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 75, APS_DATA_TX_UNICAST_FAILED = 35, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 10, CHILD_REMOVED = 8, 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 = 2, 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 = 237] [2022-09-01 21:38:33][DEBUG] : Data frame: b'574fb1a9d42a5768adb5a87e' [2022-09-01 21:38:33][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:33][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:33][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:33][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:33][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:33][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:33][DEBUG] : executing functools.partial() [2022-09-01 21:38:33][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:33][DEBUG] : Data frame: b'674fb1a9d42a5768ad41aa7e' [2022-09-01 21:38:33][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:33][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:33][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:33][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:33][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:33][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:33][DEBUG] : executing functools.partial() [2022-09-01 21:38:33][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:33][DEBUG] : Data frame: b'774fb1a9d42a5768ad12547e' [2022-09-01 21:38:33][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:33][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:33][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:33][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:33][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:33][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:33][DEBUG] : executing functools.partial() [2022-09-01 21:38:33][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:34][DEBUG] : Data frame: b'074fb1a9112a15b658924a24ab5593499cfe9b60609f9874fade6083fc7e2fa7e957e17e' [2022-09-01 21:38:34][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:34][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010600010100010000b0bccb8d51ffff0718030a0000100002' [2022-09-01 21:38:34][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=176), 188, -53, 0x518d, 255, 255, b'\x18\x03 \x00\x00\x10\x00'] [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Received ZCL frame: b'\x18\x03 \x00\x00\x10\x00' [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=3, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Decoded ZCL frame: MijaOnOff:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Received command 0x0A (TSN 3): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:34][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0006 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=3, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]),) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Attribute report received: on_off= [2022-09-01 21:38:34][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 0=True on cluster 6 [2022-09-01 21:38:34][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061114.475323, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:34][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061114.475323, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:34][DEBUG] : executing functools.partial() [2022-09-01 21:38:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:34][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:83:e8:06': {'1': {'6': {'0': {'value': 'True', 'cluster_name': 'On/Off'}}}}}} [2022-09-01 21:38:34][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:34][DEBUG] : Data frame: b'174fb1a9112a15b658924a24ab5593499cffef65609f9874fade6783fc7e2fa6e96d997e' [2022-09-01 21:38:34][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:34][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010600010100010000b1c8ce8d51ffff0718040a0000100102' [2022-09-01 21:38:34][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=177), 200, -50, 0x518d, 255, 255, b'\x18\x04 \x00\x00\x10\x01'] [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Received ZCL frame: b'\x18\x04 \x00\x00\x10\x01' [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=4, command_id=10, *direction=, *is_reply=True) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Decoded ZCL frame: MijaOnOff:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Received command 0x0A (TSN 4): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]) [2022-09-01 21:38:34][INFO] : [00:15:8d:00:01:83:e8:06][listener.general_command] Cluster: cluster_id: 0x0006 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=4, command_id=10, *direction=, *is_reply=False) args: (Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=))]),) [2022-09-01 21:38:34][DEBUG] : [0x518D:1:0x0006] Attribute report received: on_off= [2022-09-01 21:38:34][INFO] : [00:15:8d:00:01:83:e8:06][listener.zha_send_event] Received an event update click={'click_type': 'single'} on cluster 6 [2022-09-01 21:38:34][INFO] : [00:15:8d:00:01:83:e8:06][listener.attribute_updated] Received an attribute update 0=False on cluster 6 [2022-09-01 21:38:34][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061114.682536, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:34][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061114.682536, 'ieee': 00:15:8d:00:01:83:e8:06, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:34][DEBUG] : executing functools.partial() [2022-09-01 21:38:34][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:34][INFO] : Send to jeedom : {'devices': {'00:15:8d:00:01:83:e8:06': {'1': {'6': {'event': {'click': {'value': {'click_type': 'single'}, 'cluster_name': 'On/Off'}}, '0': {'value': 'False', 'cluster_name': 'On/Off'}}}}}} [2022-09-01 21:38:34][DEBUG] : Starting new HTTP connection (1): 127.0.0.1:80 [2022-09-01 21:38:34][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:38:38][DEBUG] : Data frame: b'274fb1a9cf2ae43ff4964aa8bf55a0a0b17e' [2022-09-01 21:38:38][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:38][DEBUG] : Application frame 155 (zigbeeKeyEstablishmentHandler) received: b'f18dad02008d150032' [2022-09-01 21:38:38][DEBUG] : Received zigbeeKeyEstablishmentHandler frame with [00:15:8d:00:02:ad:8d:f1, ] [2022-09-01 21:38:39][DEBUG] : Data frame: b'374fb1a9d42a573f083fea7e' [2022-09-01 21:38:39][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:39][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:39][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:39][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:39][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:39][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:39][DEBUG] : executing functools.partial() [2022-09-01 21:38:39][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:42][DEBUG] : Send command readCounters: () [2022-09-01 21:38:42][DEBUG] : Sending: b'744c21a9a52ad23a7e' [2022-09-01 21:38:42][DEBUG] : Data frame: b'404ca1a9a52a34b26a94fd25f8559249cb4e2eabe4ce208be5c65689e57e3fa7ebcdde6f8fffcfdbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824146d7e' [2022-09-01 21:38:42][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:42][DEBUG] : Application frame 241 (readCounters) received: b'21003300b70052000000570009000900470018003500190000000000000000000800060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:42][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:42][DEBUG] : Sending: b'054d21a9fe2a1674577e' [2022-09-01 21:38:42][DEBUG] : Data frame: b'514da1a9fe2a15b3b600ad7e' [2022-09-01 21:38:42][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:42][DEBUG] : Application frame 170 (getValue) received: b'0001ef' [2022-09-01 21:38:42][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 239 [2022-09-01 21:38:42][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 393, MAC_TX_BROADCAST = 1482, MAC_RX_UNICAST = 596, MAC_TX_UNICAST_SUCCESS = 275, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 156, APS_DATA_RX_BROADCAST = 18, APS_DATA_TX_BROADCAST = 18, APS_DATA_RX_UNICAST = 365, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 75, APS_DATA_TX_UNICAST_FAILED = 35, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 10, CHILD_REMOVED = 8, 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 = 2, 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 = 239] [2022-09-01 21:38:42][DEBUG] : Data frame: b'614db1a9d42a5768ad94847e' [2022-09-01 21:38:42][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:42][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:42][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:42][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:42][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:42][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:42][DEBUG] : executing functools.partial() [2022-09-01 21:38:42][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:42][DEBUG] : Data frame: b'714db1a9d42a5768adc77a7e' [2022-09-01 21:38:42][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:42][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:42][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:42][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:42][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:42][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:42][DEBUG] : executing functools.partial() [2022-09-01 21:38:42][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:43][DEBUG] : Data frame: b'014db1a9d42a5768ad6ca17e' [2022-09-01 21:38:43][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:43][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:43][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:43][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:43][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:43][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:43][DEBUG] : executing functools.partial() [2022-09-01 21:38:43][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:49][DEBUG] : Data frame: b'114db1a9d42a573f084d387e' [2022-09-01 21:38:49][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:49][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:38:49][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:38:49][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:38:49][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:38:49][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:38:49][DEBUG] : executing functools.partial() [2022-09-01 21:38:49][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:50][DEBUG] : Data frame: b'214db1a96b2a153f08904b25aa5493099d4e274987a867d2dd7e' [2022-09-01 21:38:50][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:50][DEBUG] : Application frame 63 (messageSentHandler) received: b'008d5104010000010140010000e26a6600' [2022-09-01 21:38:50][DEBUG] : Received messageSentHandler frame with [, 20877, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=226), 106, , b''] [2022-09-01 21:38:50][DEBUG] : [0x518d] Delivery error for seq # 0x69, on endpoint id 1 cluster 0x0000: message send failure [2022-09-01 21:38:50][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] Error on read attribute level 4 : [0x518d:1:0x0000]: Message send failure [2022-09-01 21:38:50][WARNING] : [00:15:8d:00:01:83:e8:06][zdevices.get_basic_info] End get basic info from device [2022-09-01 21:38:50][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.initialize] End device initialize [2022-09-01 21:38:51][DEBUG] : Data frame: b'314db1a9d42a5768ad98a37e' [2022-09-01 21:38:51][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:51][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:51][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:51][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:51][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:51][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:51][DEBUG] : executing functools.partial() [2022-09-01 21:38:51][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:52][DEBUG] : Send command readCounters: () [2022-09-01 21:38:52][DEBUG] : Sending: b'145221a9a52a46d07e' [2022-09-01 21:38:52][DEBUG] : Data frame: b'4252a1a9a52a34b26d94fd25f8559249c04e2eabe4ce208be5c65489e67e3fa7ebcdde6f8fffcfdbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824d2137e' [2022-09-01 21:38:52][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:52][DEBUG] : Application frame 241 (readCounters) received: b'21003400b700520000005c00090009004700180037001a0000000000000000000800060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:38:52][DEBUG] : Send command getValue: (,) [2022-09-01 21:38:52][DEBUG] : Sending: b'255321a9fe2a1680867e' [2022-09-01 21:38:52][DEBUG] : Data frame: b'5252b1a9d42a5768ada9b47e' [2022-09-01 21:38:52][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:52][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:52][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:52][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:52][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:52][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:52][DEBUG] : executing functools.partial() [2022-09-01 21:38:52][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:52][DEBUG] : Data frame: b'6353a1a9fe2a15b3a972b37e' [2022-09-01 21:38:52][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:52][DEBUG] : Application frame 170 (getValue) received: b'0001f0' [2022-09-01 21:38:52][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 240 [2022-09-01 21:38:52][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 393, MAC_TX_BROADCAST = 1483, MAC_RX_UNICAST = 596, MAC_TX_UNICAST_SUCCESS = 275, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 161, APS_DATA_RX_BROADCAST = 18, APS_DATA_TX_BROADCAST = 18, APS_DATA_RX_UNICAST = 365, APS_DATA_TX_UNICAST_SUCCESS = 162, APS_DATA_TX_UNICAST_RETRY = 77, APS_DATA_TX_UNICAST_FAILED = 36, ROUTE_DISCOVERY_INITIATED = 15, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 10, CHILD_REMOVED = 8, 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 = 2, 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 = 240] [2022-09-01 21:38:52][DEBUG] : Data frame: b'7353b1a9d42a5768ada2b87e' [2022-09-01 21:38:52][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:52][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:38:52][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:38:52][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:38:52][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:38:52][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:38:52][DEBUG] : executing functools.partial() [2022-09-01 21:38:52][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:53][DEBUG] : Data frame: b'0353b1a96b2a1568ad944a27aa5592099d4e274f81a86773b57e' [2022-09-01 21:38:53][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:53][DEBUG] : Application frame 63 (messageSentHandler) received: b'00daf400000200000040010000e46c6600' [2022-09-01 21:38:53][DEBUG] : Received messageSentHandler frame with [, 62682, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=228), 108, , b''] [2022-09-01 21:38:53][DEBUG] : Unexpected message send notification tag: 108 [2022-09-01 21:38:53][DEBUG] : Application frame 63 (messageSentHandler) received: b'00daf400000200000040010000e56e6600' [2022-09-01 21:38:53][DEBUG] : Received messageSentHandler frame with [, 62682, EmberApsFrame(profileId=0, clusterId=2, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=229), 110, , b''] [2022-09-01 21:38:53][DEBUG] : Unexpected message send notification tag: 110 [2022-09-01 21:38:53][DEBUG] : Data frame: b'2353b1a96b2a1568ad944a04aa5592099d4e274d9da867a30c7e' [2022-09-01 21:38:53][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:38:53][DEBUG] : Application frame 63 (messageSentHandler) received: b'00daf400002100000040010000e6706600' [2022-09-01 21:38:53][DEBUG] : Received messageSentHandler frame with [, 62682, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=230), 112, , b''] [2022-09-01 21:38:53][DEBUG] : [0xf4da] Delivery error for seq # 0x6f, on endpoint id 0 cluster 0x0021: message send failure [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Failed to bind 'basic' input cluster: [0xf4da:0:0x0021]: Message send failure [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_magnet' input cluster: 0 [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] End configuration of input cluster 'basic' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'power', is_server 'True' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bind input cluster 'power' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bound 'power' input cluster [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] This input cluster have REPORT_CONFIG, we need to configure it [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Reporting 'battery_voltage' attr on 'power' input cluster: 3600/10800/1: For: '00:15:8d:00:01:72:07:5e' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Reporting 'battery_percentage_remaining' attr on 'power' input cluster: 3600/10800/1: For: '00:15:8d:00:01:72:07:5e' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_magnet' input cluster: 1 [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] End configuration of input cluster 'power' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'device_temperature', is_server 'True' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bind input cluster 'device_temperature' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bound 'device_temperature' input cluster [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Set specific reporting for 'LUMI' attr on 'lumi.sensor_magnet' input cluster: 2 [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] End configuration of input cluster 'device_temperature' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Begin configuration of input cluster 'manufacturer_specific', is_server 'True' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] End configuration of input cluster 'manufacturer_specific' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Begin configuration of output cluster 'basic', is_server 'False' [2022-09-01 21:38:53][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.initialize][Endpoint 1] Bind 'basic' output cluster [2022-09-01 21:38:53][DEBUG] : [0xf4da] Extending timeout for 0x71 request [2022-09-01 21:38:53][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:38:53][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:38:53][DEBUG] : Sending: b'335021a92a2a4bb52b954aa8bf55938abc7e' [2022-09-01 21:38:53][DEBUG] : Data frame: b'3450a1a92a2ae1c57e' [2022-09-01 21:38:53][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:38:53][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:53][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=0, clusterId=33, sourceEndpoint=0, destinationEndpoint=0, options=, groupId=0, sequence=113), 114, b"q^\x07r\x01\x00\x8d\x15\x00\x01\x00\x00\x03\xf4*\x82\xfe\xff'\xfd\x84\x01") [2022-09-01 21:38:53][DEBUG] : Sending: b'445121a9602a1568ad944a04aa5592099d4e27da9fd816d5fab46289716b3fa6ebcddd9ba57d5d3924f22fed8debd47e' [2022-09-01 21:38:53][DEBUG] : Data frame: b'4551a1a9602a155515357e' [2022-09-01 21:38:53][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:38:53][DEBUG] : Application frame 52 (sendUnicast) received: b'00e7' [2022-09-01 21:38:56][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:38:56][INFO] : [84:fd:27:ff:fe:82:2a:f4][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=115, command_id=, *direction=, *is_reply=False) [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:38:56][DEBUG] : Send command sendUnicast: (, 0x0000, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=115), 116, b'\x00s\x00\x04\x00\x05\x00') [2022-09-01 21:38:56][DEBUG] : Sending: b'555621a9602a15b259904b25aa5493099d4e27d899c967f8fdc2638cfc46d67e' [2022-09-01 21:38:56][DEBUG] : Data frame: b'5656a1a9602a155a085f7e' [2022-09-01 21:38:56][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:38:56][DEBUG] : Application frame 52 (sendUnicast) received: b'00e8' [2022-09-01 21:38:56][DEBUG] : Data frame: b'6656b1a9112a15b658944a24ab1593499ca6d8abedce9874fac61089f87e3aa7bd187e' [2022-09-01 21:38:56][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:38:56][DEBUG] : Application frame 69 (incomingMessageHandler) received: b'0004010000010140010000e8ff000000ffff0700730004000500' [2022-09-01 21:38:56][DEBUG] : Received incomingMessageHandler frame with [, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=232), 255, 0, 0x0000, 255, 255, b'\x00s\x00\x04\x00\x05\x00'] [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Received ZCL frame: b'\x00s\x00\x04\x00\x05\x00' [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=115, command_id=0, *direction=, *is_reply=False) [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:38:56][DEBUG] : [0x0000:1:0x0000] Received command 0x00 (TSN 115): Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:38:56][INFO] : [84:fd:27:ff:fe:82:2a:f4][listener.general_command] Cluster: cluster_id: 0x0000 command_id: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=0, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=115, command_id=0, *direction=, *is_reply=False) args: (Read_Attributes(attribute_ids=[4, 5]),) [2022-09-01 21:38:56][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061136.033718, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:56][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061136.033718, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:56][DEBUG] : executing functools.partial() [2022-09-01 21:38:56][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:56][DEBUG] : Data frame: b'7656b1a96b2a15b259904b25aa5493099d4e274399ce6737d67e' [2022-09-01 21:38:56][DEBUG] : Sending: b'8070787e' [2022-09-01 21:38:56][DEBUG] : Application frame 63 (messageSentHandler) received: b'00000004010000010140010000e8740000' [2022-09-01 21:38:56][DEBUG] : Received messageSentHandler frame with [, 0, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=232), 116, , b''] [2022-09-01 21:38:56][DEBUG] : executing functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061136.038917, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) [2022-09-01 21:38:56][DEBUG] : operation functools.partial(, 'UPDATE devices_v10 SET last_seen=:ts WHERE ieee=:ieee AND :ts - last_seen > :min_last_seen_delta', {'ts': 1662061136.038917, 'ieee': 84:fd:27:ff:fe:82:2a:f4, 'min_last_seen_delta': 30.0}) completed [2022-09-01 21:38:56][DEBUG] : executing functools.partial() [2022-09-01 21:38:56][DEBUG] : operation functools.partial() completed [2022-09-01 21:38:58][INFO] : [00:15:8d:00:02:37:6b:76][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:58][INFO] : [a4:c1:38:2f:b6:32:51:18][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:58][INFO] : [00:15:8d:00:02:00:a5:40][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:58][INFO] : [00:15:8d:00:01:a2:e8:07][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:58][INFO] : [00:15:8d:00:01:21:5a:01][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:38:58][DEBUG] : [0xBBBD:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=117, command_id=, *direction=, *is_reply=False) [2022-09-01 21:38:58][DEBUG] : [0xBBBD:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:38:58][DEBUG] : [0xbbbd] Extending timeout for 0x75 request [2022-09-01 21:38:58][DEBUG] : Extending timeout for 00:15:8d:00:01:21:5a:01/0xbbbd [2022-09-01 21:38:58][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:21:5a:01, True) [2022-09-01 21:38:58][DEBUG] : Sending: b'605721a92a2a14e878954aa8bf5593467a7e' [2022-09-01 21:38:58][DEBUG] : Data frame: b'0757a1a92a2a677d7e' [2022-09-01 21:38:58][DEBUG] : Sending: b'8160597e' [2022-09-01 21:38:58][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:38:58][DEBUG] : Send command sendUnicast: (, 0xBBBD, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=117), 118, b'\x00u\x00\x04\x00') [2022-09-01 21:38:58][DEBUG] : Sending: b'715421a9602a150fe2904b25aa5493099d4e27de9bcb67fefdc263566f7e' [2022-09-01 21:38:58][DEBUG] : Data frame: b'1054a1a9602a155b0e867e' [2022-09-01 21:38:58][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:38:58][DEBUG] : Application frame 52 (sendUnicast) received: b'00e9' [2022-09-01 21:39:00][INFO] : [00:15:8d:00:01:83:e8:06][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:39:00][DEBUG] : [0x518D:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=119, command_id=, *direction=, *is_reply=False) [2022-09-01 21:39:00][DEBUG] : [0x518D:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4]) [2022-09-01 21:39:00][DEBUG] : [0x518d] Extending timeout for 0x77 request [2022-09-01 21:39:00][DEBUG] : Extending timeout for 00:15:8d:00:01:83:e8:06/0x518d [2022-09-01 21:39:00][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:83:e8:06, True) [2022-09-01 21:39:00][DEBUG] : Sending: b'025521a92a2a7d335ada954aa8bf55936ac07e' [2022-09-01 21:39:00][DEBUG] : Data frame: b'2155a1a92a2a9b177e' [2022-09-01 21:39:00][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:39:00][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:39:00][DEBUG] : Send command sendUnicast: (, 0x518D, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=119), 120, b'\x00w\x00\x04\x00') [2022-09-01 21:39:00][DEBUG] : Sending: b'7d335a21a9602a153f08904b25aa5493099d4e27dc95cb67fcfdc263f1197e' [2022-09-01 21:39:00][DEBUG] : Data frame: b'325aa1a9602a1558f8a37e' [2022-09-01 21:39:00][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:39:00][DEBUG] : Application frame 52 (sendUnicast) received: b'00ea' [2022-09-01 21:39:01][DEBUG] : Data frame: b'425ab1a9d42a5768ade4907e' [2022-09-01 21:39:01][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:39:01][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:39:01][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:39:01][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:39:01][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:39:01][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:39:01][DEBUG] : executing functools.partial() [2022-09-01 21:39:01][DEBUG] : operation functools.partial() completed [2022-09-01 21:39:02][INFO] : [00:15:8d:00:02:ad:8d:f1][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:39:02][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.serialize] Serialize device with attributes : 2 [2022-09-01 21:39:02][DEBUG] : [0xF4DA:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=121, command_id=, *direction=, *is_reply=False) [2022-09-01 21:39:02][DEBUG] : [0xF4DA:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:39:02][DEBUG] : [0xf4da] Extending timeout for 0x79 request [2022-09-01 21:39:02][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:39:02][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:39:02][DEBUG] : Sending: b'255b21a92a2a4bb52b954aa8bf559374957e' [2022-09-01 21:39:02][DEBUG] : Data frame: b'535ba1a92a2a9a637e' [2022-09-01 21:39:02][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:39:02][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:39:02][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=121), 122, b'\x00y\x00\x04\x00\x05\x00') [2022-09-01 21:39:02][DEBUG] : Sending: b'365821a9602a1568ad904b25aa5493099d4e27d297c967f2fdc2638cfc763d7e' [2022-09-01 21:39:02][DEBUG] : Data frame: b'6458a1a9602a1559c3ce7e' [2022-09-01 21:39:02][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:39:02][DEBUG] : Application frame 52 (sendUnicast) received: b'00eb' [2022-09-01 21:39:02][DEBUG] : Send command readCounters: () [2022-09-01 21:39:02][DEBUG] : Sending: b'475921a9a52a145b7e' [2022-09-01 21:39:02][DEBUG] : Data frame: b'7559a1a9a52a34b26194fd25f8559249c34e2eabe4ce2f8be4c65e89e17e3ea7ebcdde6f8fffcfdbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482423587e' [2022-09-01 21:39:02][DEBUG] : Sending: b'8070787e' [2022-09-01 21:39:02][DEBUG] : Application frame 241 (readCounters) received: b'21003800b700520000005f0009000900480019003d001d0001000000000000000800060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:39:02][DEBUG] : Send command getValue: (,) [2022-09-01 21:39:02][DEBUG] : Sending: b'505e21a9fe2a1633037e' [2022-09-01 21:39:02][DEBUG] : Data frame: b'065ea1a9fe2a15b3b648e07e' [2022-09-01 21:39:02][DEBUG] : Sending: b'8160597e' [2022-09-01 21:39:02][DEBUG] : Application frame 170 (getValue) received: b'0001ef' [2022-09-01 21:39:02][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 239 [2022-09-01 21:39:02][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 393, MAC_TX_BROADCAST = 1487, MAC_RX_UNICAST = 596, MAC_TX_UNICAST_SUCCESS = 275, MAC_TX_UNICAST_RETRY = 211, MAC_TX_UNICAST_FAILED = 164, APS_DATA_RX_BROADCAST = 18, APS_DATA_TX_BROADCAST = 18, APS_DATA_RX_UNICAST = 366, APS_DATA_TX_UNICAST_SUCCESS = 163, APS_DATA_TX_UNICAST_RETRY = 83, APS_DATA_TX_UNICAST_FAILED = 39, ROUTE_DISCOVERY_INITIATED = 16, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 10, CHILD_REMOVED = 8, 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 = 2, 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 = 239] [2022-09-01 21:39:04][INFO] : 200 GET /device/all?with_attributes=2 (127.0.0.1) 8023.62ms [2022-09-01 21:39:04][INFO] : [GroupHandler.prepare] Json arg : None [2022-09-01 21:39:04][INFO] : 200 GET /group/all (127.0.0.1) 0.69ms [2022-09-01 21:39:04][INFO] : [DeviceHandler.prepare] Json arg : None [2022-09-01 21:39:04][INFO] : [00:15:8d:00:01:72:07:5e][zdevices.serialize] Serialize device with attributes : 1 [2022-09-01 21:39:04][DEBUG] : [0xF4DA:1:0x0000] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=, is_manufacturer_specific=False, direction=, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True, *is_reply=False), tsn=123, command_id=, *direction=, *is_reply=False) [2022-09-01 21:39:04][DEBUG] : [0xF4DA:1:0x0000] Sending request: Read_Attributes(attribute_ids=[4, 5]) [2022-09-01 21:39:04][DEBUG] : [0xf4da] Extending timeout for 0x7b request [2022-09-01 21:39:04][DEBUG] : Extending timeout for 00:15:8d:00:01:72:07:5e/0xf4da [2022-09-01 21:39:04][DEBUG] : Send command setExtendedTimeout: (00:15:8d:00:01:72:07:5e, True) [2022-09-01 21:39:04][DEBUG] : Sending: b'615f21a92a2a4bb52b954aa8bf5593388b7e' [2022-09-01 21:39:04][DEBUG] : Data frame: b'175fa1a92a2a7fd47e' [2022-09-01 21:39:04][DEBUG] : Sending: b'82503a7e' [2022-09-01 21:39:04][DEBUG] : Application frame 126 (setExtendedTimeout) received: b'' [2022-09-01 21:39:04][DEBUG] : Send command sendUnicast: (, 0xF4DA, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=, groupId=0, sequence=123), 124, b'\x00{\x00\x04\x00\x05\x00') [2022-09-01 21:39:04][DEBUG] : Sending: b'725c21a9602a1568ad904b25aa5493099d4e27d091c967f0fdc2638cfcd68b7e' [2022-09-01 21:39:04][DEBUG] : Data frame: b'205ca1a9602a155e8b527e' [2022-09-01 21:39:04][DEBUG] : Sending: b'83401b7e' [2022-09-01 21:39:04][DEBUG] : Application frame 52 (sendUnicast) received: b'00ec' [2022-09-01 21:39:06][INFO] : 200 GET /device/info?ieee=00%3A15%3A8d%3A00%3A01%3A72%3A07%3A5e (127.0.0.1) 2004.20ms [2022-09-01 21:39:06][DEBUG] : http://127.0.0.1:80 "POST /plugins/zigbee/core/php/jeeZigbee.php?apikey=qX7OiVxubWQrGqrw3ECRiwU3ApPFaVwg5D0lCfX03pvTUTbwmvLaxeSLuBwCKF5e HTTP/1.1" 200 0 [2022-09-01 21:39:07][DEBUG] : Data frame: b'305cb1a9d42a573f087b807e' [2022-09-01 21:39:07][DEBUG] : Sending: b'8430fc7e' [2022-09-01 21:39:07][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'428d51' [2022-09-01 21:39:07][DEBUG] : Received incomingRouteErrorHandler frame with [, 0x518d] [2022-09-01 21:39:07][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0x518d [2022-09-01 21:39:07][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) [2022-09-01 21:39:07][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:83:e8:06,)) completed [2022-09-01 21:39:07][DEBUG] : executing functools.partial() [2022-09-01 21:39:07][DEBUG] : operation functools.partial() completed [2022-09-01 21:39:09][DEBUG] : Data frame: b'405cb1a9d42a5768ada23c7e' [2022-09-01 21:39:09][DEBUG] : Sending: b'8520dd7e' [2022-09-01 21:39:09][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:39:09][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:39:09][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:39:09][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:39:09][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:39:09][DEBUG] : executing functools.partial() [2022-09-01 21:39:09][DEBUG] : operation functools.partial() completed [2022-09-01 21:39:10][DEBUG] : Data frame: b'505cb1a9d42a5768adf1c27e' [2022-09-01 21:39:10][DEBUG] : Sending: b'8610be7e' [2022-09-01 21:39:10][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:39:10][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:39:10][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:39:10][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:39:10][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:39:10][DEBUG] : executing functools.partial() [2022-09-01 21:39:10][DEBUG] : operation functools.partial() completed [2022-09-01 21:39:11][DEBUG] : Data frame: b'605cb1a9d42a5768ad05c07e' [2022-09-01 21:39:11][DEBUG] : Sending: b'87009f7e' [2022-09-01 21:39:11][DEBUG] : Application frame 128 (incomingRouteErrorHandler) received: b'42daf4' [2022-09-01 21:39:11][DEBUG] : Received incomingRouteErrorHandler frame with [, 0xf4da] [2022-09-01 21:39:11][DEBUG] : Processing route error: status=EmberStatus.MAC_INDIRECT_TIMEOUT, nwk=0xf4da [2022-09-01 21:39:11][DEBUG] : executing functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) [2022-09-01 21:39:11][DEBUG] : operation functools.partial(, 'DELETE FROM relays_v10 WHERE ieee = ?', (00:15:8d:00:01:72:07:5e,)) completed [2022-09-01 21:39:11][DEBUG] : executing functools.partial() [2022-09-01 21:39:11][DEBUG] : operation functools.partial() completed [2022-09-01 21:39:12][DEBUG] : Send command readCounters: () [2022-09-01 21:39:12][DEBUG] : Sending: b'075d21a9a52af74d7e' [2022-09-01 21:39:12][DEBUG] : Data frame: b'715da1a9a52a34b26094fd25f8558c49f14e2eabe4ce2f8be4c65e89e17e3ea7ebcdde6f8fffcfdbd3d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a25190482459787e' [2022-09-01 21:39:12][DEBUG] : Sending: b'8070787e' [2022-09-01 21:39:12][DEBUG] : Application frame 241 (readCounters) received: b'21003900b70052001e006d0009000900480019003d001d0001000000000000000800060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' [2022-09-01 21:39:12][DEBUG] : Send command getValue: (,) [2022-09-01 21:39:12][DEBUG] : Sending: b'106221a9fe2a16ca807e' [2022-09-01 21:39:12][DEBUG] : Data frame: b'0262a1a9fe2a15b3b4a3267e' [2022-09-01 21:39:12][DEBUG] : Sending: b'8160597e' [2022-09-01 21:39:12][DEBUG] : Application frame 170 (getValue) received: b'0001ed' [2022-09-01 21:39:12][DEBUG] : Free buffers status EzspStatus.SUCCESS, value: 237 [2022-09-01 21:39:12][DEBUG] : ezsp_counters: [MAC_RX_BROADCAST = 393, MAC_TX_BROADCAST = 1488, MAC_RX_UNICAST = 596, MAC_TX_UNICAST_SUCCESS = 275, MAC_TX_UNICAST_RETRY = 241, MAC_TX_UNICAST_FAILED = 178, APS_DATA_RX_BROADCAST = 18, APS_DATA_TX_BROADCAST = 18, APS_DATA_RX_UNICAST = 366, APS_DATA_TX_UNICAST_SUCCESS = 163, APS_DATA_TX_UNICAST_RETRY = 83, APS_DATA_TX_UNICAST_FAILED = 39, ROUTE_DISCOVERY_INITIATED = 16, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 0, NEIGHBOR_STALE = 6, JOIN_INDICATION = 10, CHILD_REMOVED = 8, 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 = 2, 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 = 237]