Edge driver for Zemismart 6 button remote

not sent. I need to learn how to use the cli

I will send him my logs

Perfect. Thanks!!

Pairing logs for Zemismart B6 @zambobmaz @niquini

The 1st thing I see is a warning that “Device does not support cluster 0x0001 not adding configured attribute”

2021-12-28T18:56:10.021350747+00:00 TRACE zigbee-tuya-button Setup driver zigbee-tuya-button with lifecycle handlers:
DeviceLifecycleDispatcher: zigbee-tuya-button
default_handlers:
doConfigure:
added:
driverSwitched:
child_dispatchers:

2021-12-28T18:56:10.024710372+00:00 TRACE zigbee-tuya-button Setup driver zigbee-tuya-button with Capability handlers:
CapabilityCommandDispatcher: zigbee-tuya-button
default_handlers:
refresh:
refresh
child_dispatchers:

2021-12-28T18:56:10.029774872+00:00 TRACE zigbee-tuya-button Setup driver zigbee-tuya-button with Zigbee handlers:
ZigbeeMessageDispatcher: zigbee-tuya-button
default_handlers:
attr:
ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryVoltage
ZclClusterAttributeValueHandler: cluster: PowerConfiguration, attribute: BatteryPercentageRemaining
global:
cluster:
ZclClusterCommandHandler: cluster: OnOff, command: 0xFD
ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
zdo:
child_dispatchers:

2021-12-28T18:56:10.060242997+00:00 WARN zigbee-tuya-button Device does not support cluster 0x0001 not adding configured attribute
2021-12-28T18:56:10.063913830+00:00 WARN zigbee-tuya-button Device does not support cluster 0x0001 not adding monitored attribute
2021-12-28T18:56:10.068738163+00:00 TRACE zigbee-tuya-button Received event with handler _resync
2021-12-28T18:56:10.071741080+00:00 TRACE zigbee-tuya-button Received event with handler environment_info
2021-12-28T18:56:10.081565455+00:00 TRACE zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received unhandled lifecycle event: init
2021-12-28T18:56:10.084792955+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:10.087860163+00:00 TRACE zigbee-tuya-button Received event with handler _resync
2021-12-28T18:56:10.090874955+00:00 TRACE zigbee-tuya-button Received event with handler environment_info
2021-12-28T18:56:10.094479205+00:00 DEBUG zigbee-tuya-button Z-Wave hub node ID environment changed.
2021-12-28T18:56:10.098184205+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:10.101297913+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: added
2021-12-28T18:56:10.106598247+00:00 TRACE zigbee-tuya-button Found DeviceLifecycleDispatcher handler in zigbee-tuya-button
2021-12-28T18:56:10.109464497+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added
2021-12-28T18:56:10.113019122+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button2
2021-12-28T18:56:10.117743830+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button2”}
2021-12-28T18:56:10.129330663+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button2”}
2021-12-28T18:56:10.139771497+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button6
2021-12-28T18:56:10.144481872+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button6”}
2021-12-28T18:56:10.155567747+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button6”}
2021-12-28T18:56:10.167351163+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button5
2021-12-28T18:56:10.172215372+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button5”}
2021-12-28T18:56:10.182975372+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button5”}
2021-12-28T18:56:10.194866830+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button1
2021-12-28T18:56:10.199468372+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button1”}
2021-12-28T18:56:10.211416372+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button1”}
2021-12-28T18:56:10.222775372+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button3
2021-12-28T18:56:10.227392038+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button3”}
2021-12-28T18:56:10.238658122+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button3”}
2021-12-28T18:56:10.250231163+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : button4
2021-12-28T18:56:10.254946163+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button4”}
2021-12-28T18:56:10.265850872+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“state”:{“value”:“pushed”},“component_id”:“button4”}
2021-12-28T18:56:10.277612872+00:00 INFO zigbee-tuya-button <<---- Moon ---->> device_added - component : main
2021-12-28T18:56:10.281823663+00:00 WARN zigbee-tuya-button Attempted to generate event for c2759aa2-d028-4a62-87f2-30d46f1d2301.main but it does not support capability Button
2021-12-28T18:56:10.285171038+00:00 WARN zigbee-tuya-button Attempted to generate event for c2759aa2-d028-4a62-87f2-30d46f1d2301.main but it does not support capability Button
2021-12-28T18:56:10.288721955+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:10.292126580+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:10.295488997+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: doConfigure
2021-12-28T18:56:10.311425205+00:00 TRACE zigbee-tuya-button Found DeviceLifecycleDispatcher handler in zigbee-tuya-button
2021-12-28T18:56:10.314733122+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))>:
arg1: doConfigure
arg2: table: 0x2374b08
[string “init.lua”]:82: attempt to index a nil value (global ‘clusters’)
2021-12-28T18:56:10.324017705+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:10.516281955+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:10.536400538+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: infoChanged
2021-12-28T18:56:10.548125080+00:00 TRACE zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received unhandled lifecycle event: infoChanged
2021-12-28T18:56:10.552240830+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:17.115006245+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:17.121348328+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: doConfigure
2021-12-28T18:56:17.127722995+00:00 TRACE zigbee-tuya-button Found DeviceLifecycleDispatcher handler in zigbee-tuya-button
2021-12-28T18:56:17.134603495+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x274B] (Zemismart 6 Button (EF00, TS0601))>:
arg1: doConfigure
arg2: table: 0x2342e10
[string “init.lua”]:82: attempt to index a nil value (global ‘clusters’)
2021-12-28T18:56:17.138087245+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:17.157511662+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: infoChanged
2021-12-28T18:56:17.172665662+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:17.180864870+00:00 TRACE zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received unhandled lifecycle event: infoChanged
2021-12-28T18:56:17.184207703+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:17.366407912+00:00 TRACE zigbee-tuya-button Received event with handler device_lifecycle
2021-12-28T18:56:17.377991662+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received lifecycle event: infoChanged
2021-12-28T18:56:17.383662370+00:00 TRACE zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received unhandled lifecycle event: infoChanged
2021-12-28T18:56:17.386601995+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:19.339392203+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:56:19.360200453+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0xFF, rssi: -11, body_length: 0x000F, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x08, seqno: 0x00, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0001, DataType: Uint8, ApplicationVersion: 0x44 >, < AttributeRecord || AttributeId: 0xFFE2, DataType: Uint8, Uint8: 0x1F >, < AttributeRecord || AttributeId: 0xFFE4, DataType: Uint8, Uint8: 0x01 > > > >
2021-12-28T18:56:19.371539161+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-28T18:56:40.051495323+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-28T18:57:10.049032647+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-28T18:57:27.650997982+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:27.657310637+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -57, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 57 01 04 00 01 00 > >
2021-12-28T18:57:27.669546623+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:27.672904131+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:27.677626917+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -57, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 57 01 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:27.765321527+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:27.771918042+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -55, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 58 0A 02 00 04 00 00 00 51 > >
2021-12-28T18:57:27.793491347+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:27.796563453+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:27.803503933+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -55, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 58 0A 02 00 04 00 00 00 51 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:34.548091951+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:34.557251909+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 59 02 04 00 01 00 > >
2021-12-28T18:57:34.575567868+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:34.578555493+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:34.583768576+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 59 02 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:34.605155326+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:34.610854909+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5A 0A 02 00 04 00 00 00 51 > >
2021-12-28T18:57:34.622857951+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:34.625745909+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:34.630490993+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5A 0A 02 00 04 00 00 00 51 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:38.292280535+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:38.299477160+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5B 03 04 00 01 00 > >
2021-12-28T18:57:38.312169910+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:38.315312035+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:38.320987743+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5B 03 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:38.365125326+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:38.369488701+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5C 0A 02 00 04 00 00 00 48 > >
2021-12-28T18:57:38.381579285+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:38.384808410+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:38.389534618+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5C 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:40.079001618+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-28T18:57:41.194724035+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:41.199185577+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -54, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5D 04 04 00 01 00 > >
2021-12-28T18:57:41.212072785+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:41.215251327+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:41.219851118+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -54, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5D 04 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:41.284653743+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:41.289315660+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5E 0A 02 00 04 00 00 00 48 > >
2021-12-28T18:57:41.303534702+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:41.306601910+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:41.310524827+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 5E 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:44.284878035+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:44.289394369+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5F 05 04 00 01 00 > >
2021-12-28T18:57:44.303623202+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:44.306537785+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:44.310891660+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 5F 05 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:44.345126952+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:44.351764869+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 60 0A 02 00 04 00 00 00 48 > >
2021-12-28T18:57:44.365328077+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:44.368376910+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:44.373322077+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 60 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:48.313685369+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:48.319547911+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 61 06 04 00 01 00 > >
2021-12-28T18:57:48.331555703+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:48.335533703+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:48.340432744+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 61 06 04 00 01 00 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)
2021-12-28T18:57:48.374543411+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-28T18:57:48.378939203+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 62 0A 02 00 04 00 00 00 48 > >
2021-12-28T18:57:48.391132953+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-28T18:57:48.395239119+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-28T18:57:48.399909244+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x6538] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x6538, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -53, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 62 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:43: attempt to index a nil value (local ‘ev’)

@Paul_Oliver can you tell me where to start the cli? I want to learn and then go to the moon

I got my CLI instructions from this link:

2 Likes

@Paul_Oliver
I have confirmed that I made a mistake in the code and I think it will be able to go forward based on the LOG. I will update the driver with more logs.

3 Likes

If I can do anything to help let me know.

2 Likes

Hi @zambobmaz ,
Could you please share DPIDs mappings for EF00 private cluster of this device?
I don’t have this device to experiment with.

In @Paul_Oliver 's log, I see reports for DPIDs 1-6 with type 04 (enum). I suppose it corresponds to the buttons. However, I’m not sure about enum values, what are the values for push and hold and double click?
I also see reports for DPID == 0x0A with type 2 (int32). Do you know what is its meaning?
What additional info is reported from this device?
Thank you

It is my expectation based on log

inCluster: EF00
ZCLCommand : 0x01 (All buttons are the same)
EndPoint : 0x01 (All buttons are the same)
ZCLBody index 2 (start from 0) : 1~6 is button number 1 ~ 6 / 0A is battery
ZCLBody index 6 (start from 0) : 0 is click / 1 is double / 2 is held

I will update the code soon to github.

1 Like

@zambobmaz , Thank you very much.
I suppose the battery is reported in % under dpid 0xA? Paul’s log contain value 0x48, which is 72 decimal.
Do you know by a chance whether the device also supports standard clusters, like onoff or power configuration and/or battery voltage?
Thanks

P.S. As a side note, I would consider sending supportedButtonValues only in device init or device configure. It is possible to iterate over all components and send this event only to buttons. Please let me know whether I can be of further assistance.

The ref DTH

Fist of all, It is difficult to know whether the battery value is functioning normally. If DTH works normally, it probably seems to be 0X0A.

Based on FP (01 0104 0051 01 04 0000 0004 0005 EF00 02 0019 000A), there are 4 inClusters

  • inClusters : 0000(Basic) 0004(Groups) 0005(Scenes) EF00(Tuya Custom?)
    The device do not have OnOff cluster (0x0006) and Powerconf(0x0001), so standard cluster will not work.

Could you explain more about " I would consider sending supportedButtonValues only in device init or device configure"? because init and addedseem to have the same life cycle.

@zambobmaz
Tuya devices are not always report all clusters they support. One example is Moes switches that support PowerOn configuration (I believe under 0x8002), but do not report it in FP.

Device added lifecycle callback is called once after/during pairing.
Device init livecycle callback is called when device is initialized and might be called several times for device, for example when you switch drivers (or even update the existing driver). It is a common practice to initialize capabilities in init function
Do configure callback is called before the driver is updated and also on each property change

@ygerlovin
Thanks for the detailed explanation. I have known that all clusters are on FP so far.
I am developing a profile change function, and I need to think about whether to put supportButtonValue in code (init or do_configure) or custom capavility yaml.

@Paul_Oliver
I uploaded the new version. (2021-12-29T11:44:25.982138)
Please test it and share the log.

It would be good if you test it in the order below.
Button1 click → double click → held
Button2 click → double click → held

Button6 click → double click → held

1 Like

Hi! with this update we had some better ones. The battery didn’t appear and no button for me double-clicked. One click and hold has a very long delay in response. and when I hold it down and click again, no further action takes place. Only if i click on another button and voktar to click on the previous one. Let’s see how you behaved to @Paul_Oliver

I installed the new driver using the CLI, and the button is partly usable. Single press usually works, double press works some times, and held usually works.

Keep mind the button was a little fussy with how it was pressed using the old DTH.

I will send you logs shortly. They are 2 long to attach to a single message.

Thanks

1 Like

Logs for button 1 single, double, held

2021-12-29T15:35:55.229981742+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:35:55.235501325+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -55, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 8A 01 04 00 01 00 > >
2021-12-29T15:35:55.248624075+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:35:55.251677742+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:35:55.255339950+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:35:55.258832783+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 138
2021-12-29T15:35:55.262166075+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 1
2021-12-29T15:35:55.268344908+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:35:55.313631908+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:35:55.321691283+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:35:55.362033950+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:35:55.365979992+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button1
2021-12-29T15:35:55.391942950+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:35:55.400185283+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:35:55.421904075+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button1”,“state_change”:true,“state”:{“value”:“pushed”}}
2021-12-29T15:35:55.530945075+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:35:55.541583992+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:35:55.648907367+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -54, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 8B 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:35:55.708659283+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:35:55.711795617+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:35:55.719665617+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:35:55.734065450+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 139
2021-12-29T15:35:55.738917075+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:35:55.750877283+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:35:55.754532992+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:35:55.759412450+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:35:55.765810533+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:35:55.771049742+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:35:55.777908783+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:35:55.791611908+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:35:55.810790367+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -54, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 8B 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
2021-12-29T15:36:06.074509118+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-29T15:36:13.000933244+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:36:13.006589577+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -49, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 8E 01 04 00 01 02 > >
2021-12-29T15:36:13.019747036+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:36:13.023252119+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:36:13.026698036+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:36:13.030255161+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 142
2021-12-29T15:36:13.033806952+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 1
2021-12-29T15:36:13.037426077+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:36:13.040951411+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:36:13.044564327+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:36:13.048005077+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 2
2021-12-29T15:36:13.051749577+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button1
2021-12-29T15:36:13.055288952+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 2
2021-12-29T15:36:13.058654702+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-2
2021-12-29T15:36:13.072831077+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button1”,“state_change”:true,“state”:{“value”:“held”}}
2021-12-29T15:36:13.092962869+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:36:13.100034119+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:36:13.104803786+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -49, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 8F 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:36:13.115932952+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:36:13.118771786+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:36:13.123242702+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:36:13.126730077+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 143
2021-12-29T15:36:13.129883786+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:36:13.133353577+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:36:13.136486536+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:36:13.140393619+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:36:13.143997911+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:36:13.147548411+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:36:13.150801077+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:36:13.154544952+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:36:13.158934244+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -49, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 8F 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
listening for logs… |

Logs for button 2
2021-12-29T15:38:30.677649692+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:38:30.695143732+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -46, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 90 02 04 00 01 00 > >
2021-12-29T15:38:30.716766124+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:38:30.719674294+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:38:30.725296648+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:38:30.731057017+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 144
2021-12-29T15:38:30.750788105+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 2
2021-12-29T15:38:30.755009576+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:38:30.759461432+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:38:30.771492039+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:38:30.781644002+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:38:30.785545384+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button2
2021-12-29T15:38:30.790723294+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:38:30.797608558+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:38:30.801795880+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button2”,“state_change”:true,“state”:{“value”:“pushed”}}
2021-12-29T15:38:30.825899114+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:38:30.830329272+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:38:30.838035209+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -44, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 91 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:38:30.854643193+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:38:30.858870245+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:38:30.864566687+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:38:30.868045655+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 145
2021-12-29T15:38:30.874892396+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:38:30.883509544+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:38:30.891261999+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:38:30.898234844+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:38:30.901581962+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:38:30.908148677+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:38:30.911409629+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:38:30.921414624+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:38:30.925743250+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -44, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 91 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
2021-12-29T15:38:36.090276149+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-29T15:38:47.404914331+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:38:47.410266206+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xF9, rssi: -46, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 94 02 04 00 01 02 > >
2021-12-29T15:38:47.422219039+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:38:47.427130956+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:38:47.430537206+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:38:47.434590706+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 148
2021-12-29T15:38:47.437822164+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 2
2021-12-29T15:38:47.441170414+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:38:47.451621664+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:38:47.455274914+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:38:47.463440664+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 2
2021-12-29T15:38:47.468802622+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button2
2021-12-29T15:38:47.472801914+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 2
2021-12-29T15:38:47.476176581+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-2
2021-12-29T15:38:47.480005164+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button2”,“state_change”:true,“state”:{“value”:“held”}}
2021-12-29T15:38:47.491278872+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:38:47.504509956+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:38:47.535032331+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -45, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 95 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:38:47.559949081+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:38:47.569627831+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:38:47.581752997+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:38:47.585415789+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 149
2021-12-29T15:38:47.589349456+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:38:47.593931372+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:38:47.603291622+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:38:47.606599539+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:38:47.610022497+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:38:47.617910997+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:38:47.621193581+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:38:47.626320872+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:38:47.635547539+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -45, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 95 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
listening for logs… |

button 3
2021-12-29T15:40:36.108681469+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-29T15:40:58.180992888+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:40:58.186575388+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -50, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 98 03 04 00 01 00 > >
2021-12-29T15:40:58.199629180+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:40:58.203016596+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:40:58.206539888+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:40:58.210167971+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 152
2021-12-29T15:40:58.213724346+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 3
2021-12-29T15:40:58.217942513+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:40:58.221208221+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:40:58.225364555+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:40:58.228626055+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:40:58.232259263+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button3
2021-12-29T15:40:58.236110138+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:40:58.240244805+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:40:58.244036596+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button3”,“state_change”:true,“state”:{“value”:“pushed”}}
2021-12-29T15:40:58.267618638+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:40:58.306148638+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:40:58.310937305+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -50, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 99 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:40:58.322765263+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:40:58.325972263+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:40:58.329405846+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:40:58.333109138+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 153
2021-12-29T15:40:58.336321680+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:40:58.339563971+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:40:58.344137555+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:40:58.347322221+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:40:58.350453971+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:40:58.353922888+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:40:58.357072805+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:40:58.360193763+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:40:58.365424221+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -50, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 99 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
2021-12-29T15:41:06.114831639+00:00 TRACE zigbee-tuya-button Received event with handler zigbee health poll
2021-12-29T15:41:08.084848347+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:41:08.090388014+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -47, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 9A 03 04 00 01 01 > >
2021-12-29T15:41:08.102397681+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:41:08.105595722+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:41:08.109030181+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:41:08.112988389+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 154
2021-12-29T15:41:08.116325264+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 3
2021-12-29T15:41:08.119604139+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:41:08.123129181+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:41:08.126312347+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:41:08.129462931+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 1
2021-12-29T15:41:08.133164014+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button3
2021-12-29T15:41:08.136432556+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 1
2021-12-29T15:41:08.140812597+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-1
2021-12-29T15:41:08.146053681+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button3”,“state_change”:true,“state”:{“value”:“double”}}
2021-12-29T15:41:08.162873556+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:41:08.185428806+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:41:08.190580472+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -47, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 9B 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:41:08.203225889+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:41:08.207231514+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:41:08.210954556+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:41:08.214465139+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 155
2021-12-29T15:41:08.217937347+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:41:08.221196056+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:41:08.224610139+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:41:08.227749972+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:41:08.231214014+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:41:08.234836056+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:41:08.239346389+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:41:08.242556514+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:41:08.246994139+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -47, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 9B 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
2021-12-29T15:41:14.752772848+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:41:14.758137807+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -46, body_length: 0x000A, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x00, ZCLCommandId: 0x01 >, GenericBody: 00 9C 03 04 00 01 02 > >
2021-12-29T15:41:14.769800723+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:41:14.773096182+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:41:14.776587473+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:41:14.780966265+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 156
2021-12-29T15:41:14.784901015+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 3
2021-12-29T15:41:14.788289348+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 4
2021-12-29T15:41:14.791537557+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:41:14.794974432+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 1
2021-12-29T15:41:14.798162473+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 2
2021-12-29T15:41:14.812549348+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button3
2021-12-29T15:41:14.816108432+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 2
2021-12-29T15:41:14.819309057+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-2
2021-12-29T15:41:14.823437390+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> emitting event: {“attribute_id”:“button”,“capability_id”:“button”,“component_id”:“button3”,“state_change”:true,“state”:{“value”:“held”}}
2021-12-29T15:41:14.836211473+00:00 DEBUG zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) device thread event handled
2021-12-29T15:41:14.841229640+00:00 TRACE zigbee-tuya-button Received event with handler zigbee
2021-12-29T15:41:14.845635640+00:00 INFO zigbee-tuya-button <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -45, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 9D 0A 02 00 04 00 00 00 48 > >
2021-12-29T15:41:14.857855015+00:00 TRACE zigbee-tuya-button Found ZigbeeMessageDispatcher handler in zigbee-tuya-button
2021-12-29T15:41:14.860866682+00:00 INFO zigbee-tuya-button Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-29T15:41:14.864554932+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(1) 0
2021-12-29T15:41:14.867991307+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(2) 157
2021-12-29T15:41:14.871229015+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(3) 10
2021-12-29T15:41:14.874697140+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(4) 2
2021-12-29T15:41:14.877940640+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(5) 0
2021-12-29T15:41:14.881218182+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(6) 4
2021-12-29T15:41:14.884991682+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler zb_rx.body.zcl_body.body_bytes:byte(7) 0
2021-12-29T15:41:14.888563557+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler component_id button10
2021-12-29T15:41:14.891788015+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType 0
2021-12-29T15:41:14.895149473+00:00 INFO zigbee-tuya-button <<---- Moon ---->> button_handler clickType-0
2021-12-29T15:41:14.899640307+00:00 ERROR zigbee-tuya-button Zemismart 6 Button (EF00, TS0601) thread encountered error: [string “st.dispatcher”]:229: Error encountered while processing event for <ZigbeeDevice: c2759aa2-d028-4a62-87f2-30d46f1d2301 [0x619D] (Zemismart 6 Button (EF00, TS0601))>:
arg1: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x619D, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -45, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 9D 0A 02 00 04 00 00 00 48 > >
[string “init.lua”]:59: attempt to index a nil value (field ‘?’)
listening for logs… \