I have tried to search the forum for something similar, but have not been able to find something that does what I need.
I am trying to make my own smart switch, that I can configure the way I want.
This is what I want the plugin to do:
1 Turn on the light when motion is detected.
2 Turn off the light after a specified time
3 Make the light come on at a different level at night time that during the day / evening
4 Have a manual override feature that “forces” the light to be on for a specified time
When it comes to number 4 I hope to make the light come on normally if the manual switch is activated.
This can be because the sensor by accident does not detect the movement. If this happens and manual switch is activated I want the light to be turned off like with normal movement. In a similar tread I have read about a triple click to activate “manual override”…?
When it comes to number 1 and 2. I think I can manage to make these myself.
I am struggling a bit with number 3. As a opposite to similar threads I want the light level to be controlled according to time, and not according to sunset/ sunrise.
Maybe it also would be nice to have a logic that does not sends a ON command when the light already is on.
So I know this is similar to other cases, but hope someone take their time to help a newbie