I have a Tuya wireless button set up with smart things to trigger a routine when it is pressed. The routine is set to toggle on or off a set of smart plugs together.
It was all working fine but then a few weeks ago it started switching on some of the plugs and then switching them back off straight away leaving some of them on and some of them off.
The button is only linked to the routine not to switching the plugs directly.
When I trigger the routine directly from the Smartthings app this issue doesnāt happen. Even when I go into the switch page on the app and use the ātest the routineā option its fine.
Select the time period and confirm - In this step, please select āUntil turned offā, once the team finishes, weāll let you know so you can disable it again.
We reviewed your routine settings and would like to verify if the button is sending a double event. To do so, we need your support in sending the Hub logs.
Note: Please send logs for all drivers, do not select a specific one.
Please repeat the routine and send the Hub logs through the my.smartthings.com:
Hi, thanks for putting me on the right track and looking into the fact that the button was sending 2 events. Ive found a different driver and installed it and it seems to be working again for now.
For anyone else reading, this is the driver I used:
@plantyman, was you using the zigbee_tuya_button from āObmazā driver channel before? @zambobmaz made some updates in his driver recently to support a tuya knob. I wonder if some of the changes are causing the press event of the other tuya buttons to be fired twice.
I also have one _TZ3000_ja5osu5g that are sending the press event twice in a row.
It doesnāt seem to be related to the addition of the knob function, but I canāt be sure until I see the log.If you could send the log for _TZ3000_ja5osu5g, it would be helpful. (github)
Yes that is the driver I was using previously. I thought it might have been a driver update too because it was working fine until about a few weeks ago and suddenly started doing this.
Log shows a toggle event ābutton_handler_Knob_Scene_Toggle 1ā been fired right after the first button press. Wonder if this device exposes ātoggle upā event after button release?
Please, see if you have this driver version: 2025-03-14T11:30:03.143778274
If yes, try to put button in pair mode again and recommission the device (without deleting)
If this not work, try to delete and repair the device again directly with @zambobmaz driver, donāt perform a driver change (you may have to delete erickās drive for this)