29.05.2023, 08:52
(29.05.2023, 08:29)admin Wrote: This script is meant for a single input control. It won't work correctly since you have separate on/off controls. What is the reason for such setup? It would make more sense to send 0 to the same group address when a long press is performed.
I have 10 "toggle spring buttons"
230v binary input knx device
Output relay knx device
The customer want to be able to turn ON the lights with a "short" press and start a timer (10 min).
If you press a "short" press when the lights are ON, the timer need to go back to the set value (10 min).
If you make a "long" press the lights need to turn OFF.
And they need to be able to see if the lights are ON or OFF and what time there is left until it turns OFF in the visualization.