I have a beken 1 relay switch that really is on pin 7 and button is in pin 8
I want to handle a second function on hold
What I did (so I can configure it as a second relay in Home Assistant is to create a false relay on pin 14)
and changed pin 8 to Btn_ScriptOnly
and create the autoexec.bat with this code but is not working
SetButtonTimes 10 3 5
addEventHandler OnClick 8 POWER0 toggle
addEventHandler OnHold 8 POWER1 toggle
I want to handle a second function on hold
What I did (so I can configure it as a second relay in Home Assistant is to create a false relay on pin 14)
and changed pin 8 to Btn_ScriptOnly
and create the autoexec.bat with this code but is not working
SetButtonTimes 10 3 5
addEventHandler OnClick 8 POWER0 toggle
addEventHandler OnHold 8 POWER1 toggle