Edge driver for Zemismart 6 button remote

I tested it with yours however it seems that it had not updated directly. Now appears the option and signal level as well. I’m thinking this button isn’t very good because there are times when it works and another doesn’t. I believe it might be the button that doesn’t have a good quality. Creating 1-click routines to turn a light on or off it only worked once, even with the app appearing to be pressed


@niquini If pressing the button on the device is reflected in the app, but does not trigger routine properly, I doubt the problem is with the device.
If pressing a button is not always recognized, I would try to see whether it is related to your Zigbee network, as signal strength that is reported is not optimal.
Try to bring the device closer to the hub and see wether situation improves. If it does, consider adding repeaters or modules that can serve as routers

I will do new tests but my zigbee network is quite big. I have 104 zigbee devices with over 60 repeaters. But it could be that it may be far from the repeater it is paired with

@niquini
The screenshot you shared shows RSSI -65bBm. It is a little low, should be -60 and higher.
The LQI is 140, which means there are quite interference on the network. Good values are above 160, a lot of people with a strong network have 255 LQI (max) .

If you have a lot of repeaters, you should see signal strength values improve over time, as devices slowly migrate to better path. However with remotes that you move from room to room it is quite unlikely, as each new location might have a different better path and the migration process is slow. So if in one room you have good values and you move the device to another room, it will try to use the old path at the beginning and you will see very low signal values

1 Like

My experience is similar to @niquini .

  1. Button presses generally show in the app but many times they do not trigger the connected automations.

  2. Double press is a bigger problem. It do not always show in the app or trigger Automations. I think this is a design problem with the unit. Of you don’t get the timing perfect it doesn’t work.

The following is my signal strength:

I am going to delete the device and repair it with your driver and will attach the CLI logs.

I paired it directly with your driver. It pairs quicks but shows offline and I can not wake it up. I tried twice, and I paired it right next to the hub.

The following are the pairing logs:
2021-12-31T16:51:47.595958617+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with lifecycle handlers:
DeviceLifecycleDispatcher: Zigbee remote controller [YG]
default_handlers:
init:
added:
removed:
driverSwitched:
infoChanged:
doConfigure:
child_dispatchers:
DeviceLifecycleDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
infoChanged:
init:
child_dispatchers:

2021-12-31T16:51:47.599966325+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with Capability handlers:
CapabilityCommandDispatcher: Zigbee remote controller [YG]
default_handlers:
refresh:
refresh
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
refresh:
refresh
child_dispatchers:

2021-12-31T16:51:47.607815825+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with Zigbee handlers:
ZigbeeMessageDispatcher: Zigbee remote controller [YG]
default_handlers:
attr:
ZclClusterAttributeValueHandler: cluster: OnOff, attribute: OnOff
global:
cluster:
zdo:
child_dispatchers:
ZigbeeMessageDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
attr:
global:
cluster:
ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
zdo:
child_dispatchers:

2021-12-31T16:51:47.664901867+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler _resync
2021-12-31T16:51:47.682082659+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler environment_info2021-12-31T16:51:47.705278617+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.708466867+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.712079659+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.726743742+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T16:51:47.732117909+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_device_init(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:47.772303950+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button5”}
2021-12-31T16:51:47.787088242+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button3”}
2021-12-31T16:51:47.817858659+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button2”}
2021-12-31T16:51:47.840880909+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button4”}
2021-12-31T16:51:47.854521700+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button1”}
2021-12-31T16:51:47.866235659+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> emitting event: {“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“capability_id”:“button”,“component_id”:“button6”}
2021-12-31T16:51:47.881277700+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:47.885689492+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler _resync
2021-12-31T16:51:47.888839492+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler environment_info2021-12-31T16:51:47.892054534+00:00 DEBUG Zigbee Button Remote Driver [YG] Z-Wave hub node ID environment changed.
2021-12-31T16:51:47.900612784+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:47.904267825+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: added
2021-12-31T16:51:47.908800450+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.911911575+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.915034200+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T16:51:47.918014325+00:00 WARN Zigbee Button Remote Driver [YG] on_device_added(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:47.921218242+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:47.924461575+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:47.927665617+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: doConfigure
2021-12-31T16:51:47.932954992+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.936351117+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:47.939235367+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T16:51:47.942128534+00:00 WARN Zigbee Button Remote Driver [YG] on_do_configure(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:47.945843992+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:47.956146409+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:48.433247242+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:48.443619950+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T16:51:48.449043992+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:48.452670159+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:48.455919575+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:48.458965284+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T16:51:48.462222117+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:48.465674700+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:52.689959659+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T16:51:52.712311409+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xC76C, src_endpoint: 0x00, dest_addr: 0x0000, dest_endpoint: 0x00, profile: 0x0000, cluster: DeviceTemperatureConfiguration >, lqi: 0xFF, rssi: -17, body_length: 0x0003, < ZDOMessageBody || < ZDOHeader || seqno: 0x83 >, GenericBody: 00 00 > >
2021-12-31T16:51:52.723338201+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:52.726735868+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:53.402192159+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:53.405471951+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: doConfigure
2021-12-31T16:51:53.409797784+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.413427909+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.416608618+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T16:51:53.419502034+00:00 WARN Zigbee Button Remote Driver [YG] on_do_configure(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:53.425545743+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:53.429958743+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:53.451733034+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T16:51:53.483029451+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:53.491436576+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.494848076+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.497950284+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.503301743+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T16:51:53.510213243+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:53.521792743+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:53.525717201+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T16:51:53.530842284+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xC76C, src_endpoint: 0x00, dest_addr: 0x0000, dest_endpoint: 0x00, profile: 0x0000, cluster: 0x8002 >, lqi: 0xFF, rssi: -17, body_length: 0x0011, < ZDOMessageBody || < ZDOHeader || seqno: 0x6B >, GenericBody: 00 6C C7 02 40 80 02 10 52 52 00 00 2C 52 00 00 > >
2021-12-31T16:51:53.558101909+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.561119826+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:53.677895951+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:51:53.688812201+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T16:51:53.693608368+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.696767493+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.700038159+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:53.703373743+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T16:51:53.706534326+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:51:53.711084368+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:51:55.765457819+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T16:51:55.843807500+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0xC76C, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: Basic >, lqi: 0xFF, rssi: -17, 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-31T16:51:55.901032540+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:51:55.904414057+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:52:17.634269223+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll
2021-12-31T16:52:47.633314966+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll
2021-12-31T16:53:17.646467750+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll
2021-12-31T16:53:47.638138160+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll
2021-12-31T16:54:17.640116444+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll
2021-12-31T16:54:29.956524066+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle2021-12-31T16:54:29.968598150+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: d48f095c-cfab-4c0d-b555-250b8e499479 [0xC76C] (6 button remote)> received lifecycle event: removed
2021-12-31T16:54:29.974670108+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:54:29.978841483+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T16:54:29.982330983+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T16:54:29.985227525+00:00 WARN Zigbee Button Remote Driver [YG] on_device_removed(): ‘6 button remote’ d48f095c-cfab-4c0d-b555-250b8e499479
2021-12-31T16:54:29.988592483+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T16:54:29.992719483+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled

Rebooting the hub, clearing cache, and force stopping the app did not help.

@ygerlovin The 3rd pairing was successful and the device is online. One press of a button activates signal strength and battery.

2021-12-31T17:29:27.584056508+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with lifecycle handlers:
DeviceLifecycleDispatcher: Zigbee remote controller [YG]
default_handlers:
init:
removed:
added:
driverSwitched:
doConfigure:
infoChanged:
child_dispatchers:
DeviceLifecycleDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
init:
infoChanged:
child_dispatchers:

2021-12-31T17:29:27.588527633+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with Capability handlers:
CapabilityCommandDispatcher: Zigbee remote controller [YG]
default_handlers:
refresh:
refresh
switchLevel:
setLevel
child_dispatchers:
CapabilityCommandDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
refresh:
refresh
child_dispatchers:

2021-12-31T17:29:27.592036841+00:00 TRACE Zigbee Button Remote Driver [YG] Setup driver Zigbee remote controller [YG] with Zigbee handlers:
ZigbeeMessageDispatcher: Zigbee remote controller [YG]
default_handlers:
attr:
ZclClusterAttributeValueHandler: cluster: OnOff, attribute: OnOff
global:
cluster:
zdo:
child_dispatchers:
ZigbeeMessageDispatcher: Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
default_handlers:
attr:
global:
cluster:
ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
zdo:
child_dispatchers:

2021-12-31T17:29:27.690972299+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler _resync
2021-12-31T17:29:27.694703966+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler environment_info
2021-12-31T17:29:27.710078133+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.713343549+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.716386466+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.719691133+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:29:27.722832174+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_device_init(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:27.727197466+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button3”}
2021-12-31T17:29:27.738578716+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button2”}
2021-12-31T17:29:27.749589674+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button5”}
2021-12-31T17:29:27.760675674+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button4”}
2021-12-31T17:29:27.772422299+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button1”}
2021-12-31T17:29:27.784010424+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“supportedButtonValues”,“state”:{“value”:[“pushed”,“double”,“held”]},“component_id”:“button6”}
2021-12-31T17:29:27.798196508+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:27.801433049+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler _resync
2021-12-31T17:29:27.804474883+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler environment_info
2021-12-31T17:29:27.808127049+00:00 DEBUG Zigbee Button Remote Driver [YG] Z-Wave hub node ID environment changed.
2021-12-31T17:29:27.821138133+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:27.824182758+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: added
2021-12-31T17:29:27.828373591+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.831716591+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.835551716+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T17:29:27.838777841+00:00 WARN Zigbee Button Remote Driver [YG] on_device_added(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:27.842223466+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:27.845243841+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:27.848321966+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: doConfigure
2021-12-31T17:29:27.853845174+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.856911133+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:27.860421883+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T17:29:27.863452716+00:00 WARN Zigbee Button Remote Driver [YG] on_do_configure(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:27.866613341+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:27.875302924+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:28.350683799+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:28.387851966+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T17:29:28.426297716+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:28.478643716+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:28.504242716+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:28.516950383+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:29:28.552124216+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:28.566336216+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:33.152419342+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T17:29:33.168808883+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x46D7, src_endpoint: 0x00, dest_addr: 0x0000, dest_endpoint: 0x00, profile: 0x0000, cluster: DeviceTemperatureConfiguration >, lqi: 0xFF, rssi: -11, body_length: 0x0003, < ZDOMessageBody || < ZDOHeader || seqno: 0x83 >, GenericBody: 00 00 > >
2021-12-31T17:29:33.183683383+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.186637675+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:33.704338967+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:33.707787883+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: doConfigure
2021-12-31T17:29:33.711963842+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.715255175+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.718151008+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG]
2021-12-31T17:29:33.726981758+00:00 WARN Zigbee Button Remote Driver [YG] on_do_configure(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:33.730741050+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:33.734016592+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:33.758560925+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T17:29:33.768606300+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:33.776668592+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.785395758+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.788443550+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.791584217+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:29:33.794364758+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:33.799981758+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:33.976536842+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler device_lifecycle
2021-12-31T17:29:33.986302383+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received lifecycle event: infoChanged
2021-12-31T17:29:33.991577550+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.995123967+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:33.998505217+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:34.001909050+00:00 TRACE Zigbee Button Remote Driver [YG] Found DeviceLifecycleDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:29:34.005132342+00:00 WARN Zigbee Button Remote Driver [YG] zemismart_on_info_changed(): ‘6 button remote’ 19577592-86a6-4216-a12d-b3b0bfb54f5b
2021-12-31T17:29:34.008368092+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:36.181863759+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T17:29:36.195562425+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46D7] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x46D7, 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-31T17:29:36.210457342+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:29:36.213489092+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:29:57.619554428+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee health poll

@ygerlovin Button Logs for button 1 pressed, it registered in APP and CLI, but did not trigger the connected automation.

2021-12-31T17:56:11.811381086+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T17:56:11.817308294+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46FE] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x46FE, 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 EC 01 04 00 01 00 > >
2021-12-31T17:56:11.829835627+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.833085794+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.836551711+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.839860169+00:00 TRACE Zigbee Button Remote Driver [YG] Found ZigbeeMessageDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:56:11.842919211+00:00 INFO Zigbee Button Remote Driver [YG] Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-31T17:56:11.846840086+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_zhandler_attribute DPData=<DPData: packet=0xEC dpid=0x01 type=4 len=01 data=0> device=‘6 button remote’
2021-12-31T17:56:11.850327461+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46FE] (6 button remote)> emitting event: {“capability_id”:“button”,“attribute_id”:“button”,“component_id”:“button1”,“state”:{“value”:“pushed”}}
2021-12-31T17:56:11.862031586+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
2021-12-31T17:56:11.945404586+00:00 TRACE Zigbee Button Remote Driver [YG] Received event with handler zigbee
2021-12-31T17:56:11.949891002+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46FE] (6 button remote)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x46FE, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: 0xEF00 >, lqi: 0xFF, rssi: -51, body_length: 0x000D, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x09, seqno: 0x01, ZCLCommandId: 0x01 >, GenericBody: 00 ED 0A 02 00 04 00 00 00 48 > >
2021-12-31T17:56:11.966193461+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.969341586+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.972517794+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_can_handle(): true ‘6 button remote’ _TZE200_zqtiam4u/TS0601
2021-12-31T17:56:11.976130461+00:00 TRACE Zigbee Button Remote Driver [YG] Found ZigbeeMessageDispatcher handler in Zigbee remote controller [YG] → Zigbee Zemismart remote control driver
2021-12-31T17:56:11.979064794+00:00 INFO Zigbee Button Remote Driver [YG] Executing ZclClusterCommandHandler: cluster: 0xEF00, command: 0x01
2021-12-31T17:56:11.982892502+00:00 DEBUG Zigbee Button Remote Driver [YG] zemismart_zhandler_attribute DPData=<DPData: packet=0xED dpid=0x0A type=2 len=04 data=72> device=‘6 button remote’
2021-12-31T17:56:11.986523586+00:00 INFO Zigbee Button Remote Driver [YG] <ZigbeeDevice: 19577592-86a6-4216-a12d-b3b0bfb54f5b [0x46FE] (6 button remote)> emitting event: {“capability_id”:“battery”,“attribute_id”:“battery”,“component_id”:“main”,“state”:{“value”:72}}
2021-12-31T17:56:12.022650127+00:00 DEBUG Zigbee Button Remote Driver [YG] 6 button remote device thread event handled
listening for logs… /

Hi @Paul_Oliver ,

Following @zambobmaz 's help in
[ST Edge] Issue with triggering automation/routine for button capability - #2 by zambobmaz,

could you please validate that the automations now are working as expected?
Thanks

When I install your driver from the CLI I am still getting the 2021-12-31 version, so I was not able to test the new driver.

@Paul_Oliver , I’m sorry, I probably forgot to update the public channel.
Now the channel contains the latest version

 Zigbee Button Remote Driver [YG]          │ 78da112c-9b9c-4359-b1b7-202a8a040157 │ 2022-01-04T21:37:39.834731 │ 2021-12-31T08:08:23.843240Z │ 2022-01-07T17:54:42.714855Z │
1 Like

Ok I got your update, and the button works much better.
Single press and held work good.
Double press is improved but is still an issue. It is NOT your driver. It is a case of me and the button not being synchronized.
I like that signal strength is displayed. It is currently 255 LQI, -47 RSSI

Thank you very much for writing and debugging this driver.

2 Likes

LQI shouldn’t have unit dBm.
Also, 255 seems a fake status as it is the max value for this metric.
Have you seen other values other than 255 ?

LQI no longer has units listed.
LQI still = 255, can’t say I payed attention to this value in the past, RSSI is currently -47


images

According to this image, everything above -70 is excellent.
When you have RSSI above -70, LQI tends to max.

@w35l3y ,
This image is for 0-100 range (normalized).
Devices report in 0-255 range and I preferred to keep the original values, rather than transforming them into 0-100 range.
The driver does not set units for LQI, it is done by either GUI or the platform.
In my experience, RSSI below -60dbm (native scale) is far from being excellent.

1 Like

It depends what scale is being used.

When it comes to RSSI, the real max value is FF in hex, which is 255 in decimal, and that’s what smartthings uses. However, there are some manufacturers, including Cisco, who think that’s too complicated for their customers to understand, and they will convert RSSI to a 0 to 100 scale. That’s what @ygerlovin is referring to.

To make a little more sense of this data, RSSI and LQI in Edge Drive.

The data shown in the log of the received message corresponds to the device from which the message has arrived.

If the message is repeated by a repeater device, these data do not give any information about the signal quality of the device that sends the message.

This in IDE had a good interpretation, since you could see how many repeaters the message had passed through and which was the last one before reaching the Hub.

It was very useful in IDE to see the number of failed messages

1 Like

How can i install this drive?