Guys,
I have a set of outdoor lights (240v LEDs) that are controlled by a dumb on/off switch with an associated manual timer.
I want to replace this switch and timer with some smarts.
I also intend to insert a motion sensor into the configuration - my thoughts are
-
Replace the existing swith with a momentary switch and use this to send multiple presses to change the operating state - 1 press = auto mode, 2 presses = manual mode (i.e. on), 3 presses off completely
-
I would wire this momentary switch into SW1 on the shelly 2.5
-
I would wire the output of the motion sensor into the SW2 on the shelly
When the shelly is in auto mode - the lights will come on from Sunset until 10PM each evening and then turn off - if motion is detected then they will turn on for a defined time (which i will handle the timing of in HA/Node Red) and send to the shelly via mqtt
When the switch is in Manual mode then it will remain on - until the state is reset at the next sunrise
When the switch is in OFF mode - it will ignore motion etc
I believe i can achieve this by disconnecting the switches from the relay in the 2.5 and treating them just as virtual switches which will notify the central hive that something needs to happen
Has anyone else tried something like this and can comment ?
Craig