Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Wrong device]: MINI-ZSB smart button is being recognized as TS0041 #19259

Closed
bedgerotto opened this issue Oct 11, 2023 · 4 comments
Closed

[Wrong device]: MINI-ZSB smart button is being recognized as TS0041 #19259

bedgerotto opened this issue Oct 11, 2023 · 4 comments

Comments

@bedgerotto
Copy link

Link

https://pt.aliexpress.com/item/1005005978561013.html?spm=a2g0o.order_list.order_list_main.22.5ff1caa4W0Q01n&gatewayAdapt=glo2bra

Model

MINI-ZSB

Description

Smart Button

Vendor

Tuya

Picture (link)

https://iili.io/J3lRpSf.png

Database entry

{"id":15,"type":"EndDevice","ieeeAddr":"0xa4c13874b2dfc565","nwkAddr":39730,"manufId":4417,"manufName":"_TZ3000_qgwcxxws","powerSource":"Battery","modelId":"TS0041","epList":[1,2,3,4],"endpoints":{"1":{"profId":260,"epId":1,"devId":0,"inClusterList":[1,6,57344,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"stackVersion":0,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}},"2":{"profId":260,"epId":2,"devId":0,"inClusterList":[6,1,6],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"3":{"profId":260,"epId":3,"devId":0,"inClusterList":[6,1,6],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":0,"inClusterList":[6,1,6],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":67,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1697045257537,"defaultSendRequestWhen":"immediate"}

Notes

The smart button is recognized by zigbee2mqtt as https://www.zigbee2mqtt.io/devices/TS0041.html#tuya-ts0041 and it works partially

The button has 3 actions:

  • Single action ✅ Received Zigbee message from '0xa4c13874b2dfc565', type 'raw', cluster 'genOnOff', data '{"data":[1,96,253,0],"type":"Buffer"}' from endpoint 1 with groupID 0
  • Double action ✅ Received Zigbee message from '0xa4c13874b2dfc565', type 'raw', cluster 'genOnOff', data '{"data":[1,97,253,1],"type":"Buffer"}' from endpoint 1 with groupID 0
  • Long press 🚫 Received Zigbee message from '0xa4c13874b2dfc565', type 'raw', cluster 'genOnOff', data '{"data":[1,98,253,0],"type":"Buffer"}' from endpoint 1 with groupID 0
@Koenkk
Copy link
Owner

Koenkk commented Oct 12, 2023

  • Fixed the device detection
  • Long press seems to be the same as the single press, we cannot distinguish it (it's the last number in data)

@bedgerotto
Copy link
Author

  • Fixed the device detection
  • Long press seems to be the same as the single press, we cannot distinguish it (it's the last number in data)

Thank you very much @Koenkk 🙇🏼

@Koenkk Koenkk closed this as completed Oct 13, 2023
@balboafer
Copy link

Hi! newbie here! how can i change the config to the correct one?

@bedgerotto
Copy link
Author

bedgerotto commented Jul 24, 2024

@balboafer Upgrading Zigbeet2Mqtt to the latest version should make it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants