[2021-11-28 18:32:41][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => 2a28 [info] => Array ( [addr] => 2a28 [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 8 [ieee] => 00158d0003d2974f [last_seen] => 2021-11-28 18:32:41 [lqi] => 171 [mac_capability] => 10000000 [manufacturer_code] => 1037 [power_type] => 0 [rejoin_status] => 1 [server_mask] => 0 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 5 [data] => lumi.vibration.aq1 [name] => type [type] => str [value] => lumi.vibration.aq1 ) [1] => Array ( [attribute] => 1 [data] => 8 [name] => application_version [value] => 8 ) [2] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [3] => Array ( [attribute] => 7 [data] => 3 [name] => power_source [value] => 3 ) [4] => Array ( [attribute] => 65281 [data] => 0121a90b03281a0421a84305210d0006240200000000082108030a21000098211900992172039a25e7ff1604f500 [name] => xiaomi [type] => dict [value] => Array ( [1] => 2985 [3] => 26 [4] => 17320 [5] => 13 [6] => 0200000000 [8] => 776 [10] => 0 [152] => 25 [153] => 882 [154] => e7ff1604f500 ) ) ) ) [1] => Array ( [cluster] => 257 [attributes] => Array ( [0] => Array ( [attribute] => 1283 [data] => 0 [expire] => 2 [name] => rotation [type] => float [unit] => ° [value] => 0 ) [1] => Array ( [attribute] => 85 [data] => [expire] => 2 [expire_value] => [name] => movement [type] => str [value] => ) [2] => Array ( [attribute] => 1288 [data] => 00f70417ffe5 ) [3] => Array ( [attribute] => 1285 [data] => 524288 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 29.85 [name] => battery_voltage [type] => float [value] => 2.985 ) ) ) ) [profile] => 260 [device] => 10 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) ) [1] => Array ( [endpoint] => 2 [clusters] => Array ( ) [profile] => 0 [device] => 0 [in_clusters] => Array ( ) [out_clusters] => Array ( ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 1 [addr] => 2a28 [attribute] => 32 [data] => 29.85 [name] => battery_voltage [type] => float [value] => 2.985 ) ) [2021-11-28 18:32:41][DEBUG] : create command 1.1.32 [2021-11-28 18:32:41][DEBUG] : create command 0.0.battery_level [2021-11-28 18:32:42][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => 2a28 [info] => Array ( [addr] => 2a28 [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 8 [ieee] => 00158d0003d2974f [last_seen] => 2021-11-28 18:32:42 [lqi] => 171 [mac_capability] => 10000000 [manufacturer_code] => 1037 [power_type] => 0 [rejoin_status] => 1 [server_mask] => 0 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 5 [data] => lumi.vibration.aq1 [name] => type [type] => str [value] => lumi.vibration.aq1 ) [1] => Array ( [attribute] => 1 [data] => 8 [name] => application_version [value] => 8 ) [2] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [3] => Array ( [attribute] => 7 [data] => 3 [name] => power_source [value] => 3 ) [4] => Array ( [attribute] => 65281 [data] => 0121a90b03281a0421a84305210d0006240200000000082108030a21000098211900992172039a25e7ff1604f500 [name] => xiaomi [type] => dict [value] => Array ( [1] => 2985 [3] => 26 [4] => 17320 [5] => 13 [6] => 0200000000 [8] => 776 [10] => 0 [152] => 25 [153] => 882 [154] => e7ff1604f500 ) ) ) ) [1] => Array ( [cluster] => 257 [attributes] => Array ( [0] => Array ( [attribute] => 1283 [data] => 0 [expire] => 2 [name] => rotation [type] => float [unit] => ° [value] => 0 ) [1] => Array ( [attribute] => 85 [data] => 1 [expire] => 2 [expire_value] => [name] => movement [type] => str [value] => touched ) [2] => Array ( [attribute] => 1288 [data] => 00f70417ffe5 ) [3] => Array ( [attribute] => 1285 [data] => 524288 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 29.85 [name] => battery_voltage [type] => float [value] => 2.985 ) ) ) ) [profile] => 260 [device] => 10 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) ) [1] => Array ( [endpoint] => 2 [clusters] => Array ( ) [profile] => 0 [device] => 0 [in_clusters] => Array ( ) [out_clusters] => Array ( ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 257 [addr] => 2a28 [attribute] => 85 [data] => 1 [expire] => 2 [expire_value] => [name] => movement [type] => str [value] => touched ) ) [2021-11-28 18:32:42][DEBUG] : create command 1.257.85 [2021-11-28 18:32:44][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => 2a28 [info] => Array ( [addr] => 2a28 [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 8 [ieee] => 00158d0003d2974f [last_seen] => 2021-11-28 18:32:42 [lqi] => 171 [mac_capability] => 10000000 [manufacturer_code] => 1037 [power_type] => 0 [rejoin_status] => 1 [server_mask] => 0 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 5 [data] => lumi.vibration.aq1 [name] => type [type] => str [value] => lumi.vibration.aq1 ) [1] => Array ( [attribute] => 1 [data] => 8 [name] => application_version [value] => 8 ) [2] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [3] => Array ( [attribute] => 7 [data] => 3 [name] => power_source [value] => 3 ) [4] => Array ( [attribute] => 65281 [data] => 0121a90b03281a0421a84305210d0006240200000000082108030a21000098211900992172039a25e7ff1604f500 [name] => xiaomi [type] => dict [value] => Array ( [1] => 2985 [3] => 26 [4] => 17320 [5] => 13 [6] => 0200000000 [8] => 776 [10] => 0 [152] => 25 [153] => 882 [154] => e7ff1604f500 ) ) ) ) [1] => Array ( [cluster] => 257 [attributes] => Array ( [0] => Array ( [attribute] => 1283 [data] => 0 [expire] => 2 [name] => rotation [type] => float [unit] => ° [value] => 0 ) [1] => Array ( [attribute] => 85 [data] => [expire] => 2 [expire_value] => [name] => movement [type] => str [value] => ) [2] => Array ( [attribute] => 1288 [data] => 00f70417ffe5 ) [3] => Array ( [attribute] => 1285 [data] => 524288 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 29.85 [name] => battery_voltage [type] => float [value] => 2.985 ) ) ) ) [profile] => 260 [device] => 10 [in_clusters] => Array ( [0] => 0 [1] => 3 [2] => 25 [3] => 257 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 3 [3] => 5 [4] => 25 [5] => 257 ) ) [1] => Array ( [endpoint] => 2 [clusters] => Array ( ) [profile] => 0 [device] => 0 [in_clusters] => Array ( ) [out_clusters] => Array ( ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 257 [addr] => 2a28 [attribute] => 85 [data] => [expire] => 2 [expire_value] => [name] => movement [type] => str [value] => ) ) [2021-11-28 18:32:44][DEBUG] : create command 1.257.85 [2021-11-28 18:32:52][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:32:51 [lqi] => 93 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 0 [data] => [inverse] => 1 [name] => onoff [type] => bool [value] => 1 ) ) [2021-11-28 18:32:52][DEBUG] : create command 1.6.0 [2021-11-28 18:32:52][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:32:51 [lqi] => 93 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) ) [2021-11-28 18:32:52][DEBUG] : create command 1.6.0 [2021-11-28 18:33:09][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:33:09 [lqi] => 105 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 0 [data] => [inverse] => 1 [name] => onoff [type] => bool [value] => 1 ) ) [2021-11-28 18:33:09][DEBUG] : create command 1.6.0 [2021-11-28 18:33:09][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:33:09 [lqi] => 105 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) ) [2021-11-28 18:33:09][DEBUG] : create command 1.6.0 [2021-11-28 18:33:16][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:33:16 [lqi] => 99 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 2 [expire] => 2 [name] => multiclick [type] => int [value] => 2 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 32768 [data] => 2 [expire] => 2 [name] => multiclick [type] => int [value] => 2 ) ) [2021-11-28 18:33:16][DEBUG] : create command 1.6.32768 [2021-11-28 18:33:16][DEBUG] : callZiGate action_onoff Array ( [0] => 6d2e [1] => 1 [2] => 0 ) Exception in thread ZiGate-Decode data: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 597, in decode_data self.interpret_response(response) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 685, in interpret_response response.cleaned_data()) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 3079, in set_attribute self._handle_quirks(changed) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 3093, in _handle_quirks data_map = [(0x01, 0x0001, 0x0020, values[1] / 100.),] KeyError: 1 Exception in thread ZiGate-Decode data: Traceback (most recent call last): File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner self.run() File "/usr/lib/python3.7/threading.py", line 865, in run self._target(*self._args, **self._kwargs) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 597, in decode_data self.interpret_response(response) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 685, in interpret_response response.cleaned_data()) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 3079, in set_attribute self._handle_quirks(changed) File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 3093, in _handle_quirks data_map = [(0x01, 0x0001, 0x0020, values[1] / 100.),] KeyError: 1 [2021-11-28 18:33:16][ERROR][zigate](ZiGate-Decode data) : Error decoding response 0x8702: b'd40101026d2e9a0201' [2021-11-28 18:33:16][ERROR][zigate](ZiGate-Decode data) : Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 588, in decode_data response = RESPONSES.get(msg_type, Response)(value, lqi) File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 36, in __init__ self.decode() File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 1250, in decode self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional) struct.error: unpack requires a buffer of 9 bytes [2021-11-28 18:33:16][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 235 [packet_type] => 146 [error] => 019a0201 [lqi] => 0 ) [success] => 1 ) [2021-11-28 18:33:16][DEBUG] : callZiGate action_onoff Array ( [0] => 3db9 [1] => 3 [2] => 0 ) [2021-11-28 18:33:17][ERROR][zigate](ZiGate-Decode data) : Error decoding response 0x8702: b'd40103023db99b0402' [2021-11-28 18:33:17][ERROR][zigate](ZiGate-Decode data) : Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 588, in decode_data response = RESPONSES.get(msg_type, Response)(value, lqi) File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 36, in __init__ self.decode() File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 1250, in decode self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional) struct.error: unpack requires a buffer of 9 bytes [2021-11-28 18:33:17][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 236 [packet_type] => 146 [error] => 019b0402 [lqi] => 0 ) [success] => 1 ) [2021-11-28 18:33:18][DEBUG] : Array ( [action] => ZIGATE_ATTRIBUTE_UPDATED [device] => Array ( [addr] => b7ae [info] => Array ( [addr] => b7ae [bit_field] => 0100000000000010 [descriptor_capability] => 00000000 [id] => 7 [ieee] => 00158d0002337b1f [last_seen] => 2021-11-28 18:33:16 [lqi] => 99 [mac_capability] => 00000000 [manufacturer_code] => 1037 [power_type] => 0 [server_mask] => 0 [rejoin_status] => 1 ) [endpoints] => Array ( [0] => Array ( [endpoint] => 1 [clusters] => Array ( [0] => Array ( [cluster] => 0 [attributes] => Array ( [0] => Array ( [attribute] => 65281 [data] => 0121d10b0328130421a84305216200062401000000000a210000 [name] => xiaomi [type] => dict [value] => Array ( [1] => 3025 [3] => 19 [4] => 17320 [5] => 98 [6] => 0100000000 [10] => 0 ) ) [1] => Array ( [attribute] => 4 [data] => LUMI [name] => manufacturer [value] => LUMI ) [2] => Array ( [attribute] => 5 [data] => lumi.sensor_switch.aq2 [name] => type [type] => str [value] => lumi.sensor_switch.aq2 ) [3] => Array ( [attribute] => 1 [data] => 3 [name] => application_version [value] => 3 ) ) ) [1] => Array ( [cluster] => 6 [attributes] => Array ( [0] => Array ( [attribute] => 0 [data] => 1 [inverse] => 1 [name] => onoff [type] => bool [value] => ) [1] => Array ( [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) ) [2] => Array ( [cluster] => 1 [attributes] => Array ( [0] => Array ( [attribute] => 32 [data] => 30.25 [name] => battery_voltage [type] => float [value] => 3.025 ) ) ) ) [profile] => 260 [device] => 24321 [in_clusters] => Array ( [0] => 0 [1] => 65535 [2] => 6 ) [out_clusters] => Array ( [0] => 0 [1] => 4 [2] => 65535 ) ) ) [generictype] => sensor [discovery] => templated [name] => ) [attribute] => Array ( [endpoint] => 1 [cluster] => 6 [addr] => b7ae [attribute] => 32768 [data] => 0 [expire] => 2 [name] => multiclick [type] => int [value] => 0 ) ) [2021-11-28 18:33:18][DEBUG] : create command 1.6.32768 [2021-11-28 18:33:18][DEBUG] : callZiGate action_onoff Array ( [0] => 6d2e [1] => 1 [2] => 0 ) [2021-11-28 18:33:18][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 237 [packet_type] => 146 [error] => 019c0503 [lqi] => 0 ) [success] => 1 ) [2021-11-28 18:33:18][ERROR][zigate](ZiGate-Decode data) : Error decoding response 0x8702: b'd40101026d2e9c0503' [2021-11-28 18:33:18][ERROR][zigate](ZiGate-Decode data) : Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 588, in decode_data response = RESPONSES.get(msg_type, Response)(value, lqi) File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 36, in __init__ self.decode() File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 1250, in decode self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional) struct.error: unpack requires a buffer of 9 bytes [2021-11-28 18:33:19][DEBUG] : callZiGate action_onoff Array ( [0] => 6d2e [1] => 1 [2] => 1 ) [2021-11-28 18:33:19][DEBUG] : result callZiGate Array ( [result] => Array ( [status] => 0 [sequence] => 238 [packet_type] => 146 [error] => 019d0604 [lqi] => 0 ) [success] => 1 ) [2021-11-28 18:33:19][ERROR][zigate](ZiGate-Decode data) : Error decoding response 0x8702: b'd40101026d2e9d0604' [2021-11-28 18:33:19][ERROR][zigate](ZiGate-Decode data) : Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/zigate/core.py", line 588, in decode_data response = RESPONSES.get(msg_type, Response)(value, lqi) File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 36, in __init__ self.decode() File "/usr/local/lib/python3.7/dist-packages/zigate/responses.py", line 1250, in decode self.data['dst_address'], self.data['sequence'] = struct.unpack('!QB', additional) struct.error: unpack requires a buffer of 9 bytes [2021-11-28 18:33:23][ERROR][zigate](ZiGate-Decode data) : Device 6d2e doesn't receive last command to endpoint 1 cluster 6: 0xa7 [2021-11-28 18:33:23][ERROR][zigate](ZiGate-Decode data) : Device 3db9 doesn't receive last command to endpoint 1 cluster 6: 0xa7 [2021-11-28 18:33:25][ERROR][zigate](ZiGate-Decode data) : Device 6d2e doesn't receive last command to endpoint 1 cluster 6: 0xa7 [2021-11-28 18:33:26][ERROR][zigate](ZiGate-Decode data) : Device 6d2e doesn't receive last command to endpoint 1 cluster 6: 0xa7