Hi All. I'm still a newbie to Hubitat. Is there a way to program Zooz ZEN15 plug to turn On or Off by holding the phisical button on the plug for 1-2 sec, instead of a short press? I need to limit accidental pressing of the button to prevent powering Off some sensitive equipment during use.
The only option is to have the button either enabled or disabled. I am pretty sure if you disable it then no events will be sent to the hub when it is pressed, since the device does not support any sort of button events just the on/off state of the outlet.
Your best bet would be to disable the button and use something else to control it where you can intercept the events and create rules to restrict what happens.
You could use my driver and the custom set parameter command to change the manual control setting back and forth based on other conditions if that would help. For example if you only want the button to work between two times, that could be programmed in Rule Machine.