dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 502 forks source link

Linkind Button Wireless Switch (ZBT-DIMSwitch-D0001) #4598

Open SirGc opened 3 years ago

SirGc commented 3 years ago

Describe the question or issue you are having

This wireless switch is a single button switch. Right now, DeCONZ reads it as multiple buttons. It should support a single tap and a tap and hold.

Amazon link: https://www.amazon.com/gp/product/B07V5VLRNL

Screenshots

https://d.pr/i/nn6xQF https://d.pr/i/XhujfD https://d.pr/i/O3ilLM

Environment

Commercial Version - 2.09.03 Build with Qt 5.11.3 Node limit 200 (max. 200) Commit b55b2ea7f535bb5d59878c9e6eab75ae10f1a8ef

deCONZ Logs

This is for one tap

[INFO] - Button 2002 - ZBT-DIMSwitch-D0001, broadcast to: 0x400A, endpoint: 0x01, cluster: ONOFF (0x0006), action: Off, payload: None, zclSeq: 77

This is for the next one tap

[INFO] - Button 1002 - ZBT-DIMSwitch-D0001, broadcast to: 0x400A, endpoint: 0x01, cluster: ONOFF (0x0006), action: On, payload: None, zclSeq: 98

It alternates between the Button 2002 and 1002 when the only one button is pressed.

This is a tap and hold

17:15:07:802 [INFO] - Button 1001 - ZBT-DIMSwitch-D0001, broadcast to: 0x400A, endpoint: 0x01, cluster: >LEVEL_CONTROL (0x0008), action: Move up, payload: 007F0000, zclSeq: 114 17:15:07:948 skip binding for attribute reporting of ep: 0x00 cluster 0x1000 (end-device might sleep) 17:15:08:948 skip binding for attribute reporting of ep: 0x00 cluster 0x1000 (end-device might sleep) 17:15:09:948 skip binding for attribute reporting of ep: 0x00 cluster 0x1000 (end-device might sleep) 17:15:10:623 [INFO] - Button 1003 - ZBT-DIMSwitch-D0001, broadcast to: 0x400A, endpoint: 0x01, cluster: LEVEL_CONTROL (0x0008), action: Stop, payload: 0000, zclSeq: 115

SirGc commented 3 years ago

This is an issue previously with this device: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/2321

github-actions[bot] commented 3 years ago

As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

SirGc commented 3 years ago

still an issue

Mimiix commented 3 years ago

@ebaauw Can you add and explain why it's a confirmed bug? Also: what would we be the next steps?