Detect fysical switch pressed ?

Post Reply
Droll
Posts: 8
Joined: Monday 29 December 2014 0:50
Target OS: Linux
Domoticz version: 3.9202
Location: Norway
Contact:

Detect fysical switch pressed ?

Post by Droll » Friday 17 August 2018 20:54

Any easy way to detect if a switch was turned on ?

In short ....
Got a Lua script running the lights ( pir + dimmer ++), want the script to be paused for xx minutes IF someone uses the physical switch...

Example ...
Now the light dimms down in the night... BUT If I was to manually turn on the full light after midnight I can do so...BUt it will dimm down to pre set level ...

OR
if I want to turn off the light ... it will turn on when I move again ...

Just need some way to sence if the fysical switch was used :-)

In my case a Fibaro Dimmer - FGD-212-ZW5

:)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests