Koenkk / zigbee2mqtt

Zigbee ๐Ÿ to MQTT bridge ๐ŸŒ‰, get rid of your proprietary Zigbee bridges ๐Ÿ”จ
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.77k stars 1.64k forks source link

TuYa TS0012_switch_module turns on both loads when only one switch is pressed #14541

Closed fvillena closed 1 year ago

fvillena commented 1 year ago

What happened?

TuYa TS0012_switch_module 2 gang switch module - (without neutral) When I click on one of the two switches on the dashboard (State Left or State Right) that refer to that switch, both loads turn on, not just one. Similarly, then clicking on one of the switches turns off both loads at the same time.

What did you expect to happen?

Each of the switches (Left or Right) will only control its own load.

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.28.0 commit: 03ba647

Adapter firmware version

20220219

Adapter

CC2652P2 Based Zigbee to PoE Coordinator 2022

Debug log

log.txt

fernando155 commented 1 year ago

Same problem with _TZ3000_odzoiovu 3 Gang

I got that model: _TZ3000_bvrlqyj7 and it works fine (old paired) _TZ3000_odzoiovu is been paired today. Iยดm using the same z2m, just with a conbee2

mikelpsv commented 1 year ago

I have the same problem Tuya TS0012, 1.28.1

fernando155 commented 1 year ago

So mine is been fix in the update from 1.28.0 to .1. As said before, I got other switches that was working as normal, and this one was a new addition....

Koenkk commented 1 year ago

@mikelpsv can you provide a screenshot of the z2m frontend -> device -> about page

mikelpsv commented 1 year ago

@mikelpsv can you provide a screenshot of the z2m frontend -> device -> about page

ts0012_about

ZholobovSS commented 1 year ago

Same problem with same device _TZ3000_jl7qyupf. Upgrade z2m to 1.28.1 not fixed problem.

Koenkk commented 1 year ago

@mikelpsv for the TS0012_switch_module I fixed it yesterday (https://github.com/Koenkk/zigbee2mqtt/issues/14750) (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@ZholobovSS same for your device.

Mickroz commented 1 year ago

edit: created my own issue https://github.com/Koenkk/zigbee2mqtt/issues/15196

slzzuk commented 1 year ago

TS0012_switch_module in this z2m 1.28.4-1 version The error in is fixed and it works fine. However, the same product 3gang model TS0013_switch_module still has the same problem. thank you

Koenkk commented 1 year ago

@slzzuk fixed!

Changes will be available in the dev branch in a few hours from now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)