Hello. This is my first post and Iâm very happy to be here.
I am a total newbie and have not yet even installed Homeassistant. I have set up some shelly relays on my desktop as a test with switches and regular dumb lightbulbs to begin my exploration.
I usually research stuff by myself, but I thought what the heck, why not ask people?
This blueprint looks like it might do what I am thinking of doing. Can anyone tell me if Iâm proceeding in the right direction?
In short, I want my hallway light to come on at night when I get up to use the bathroom.
I would like to set up a behaviour such as below:
These are my priors:
I am in the UK
I have some hallway lights with two way ON/OFF flip switches, wired in the conventional UK style.
I am able to access easily the neutral wires at the ceiling rose
I am not going to change the switches. This is non negotiable. I am keeping the dumb switches. The switches stay.
This is the behaviour I want to introduce to the lighting:
I want to introduce a dimming module - shelly dimmer 2 at the moment.
I want to introduce motion control - I can do hard wired sensors, or any of the Zigby/wifi/bluetooth based ones depending on what ecosystem I fall in love with.
I will set dimming to a schedule at:
100% between 04hr01 and 21hr59 (Day)
20% between 22hr00 and 04hr00 (Night)
Motion control will turn lights on on motion, and turn off 30 seconds after the last motion detection.
Switches will work as ON/OFF.
ON will turn lights on, according to the dimming rule, for 10 minutes, after which the motion sensor rule will be followed.
OFF position will turn off lights and cause motion detection to be disregarded for 2minutes, after which the motion sensor rule will be followed.
I want to be able to override the dimming during the night cycle to 100%.
Can this be done by:
If the switch is in the on position and the lights have been triggered by motion - Flip OFF-ON to trigger 100% for 2 minutes,
If the switch is in the off position and the lights have been triggered by motion - Flip ON to trigger 100% for 2 minutes.
after which the dimming rule and motion sensor rule will take over the dimming and on state.
If I lose my network, or homeassistant goes down, switches should behave as normal on/off switches, Maybe to the dimming schedule, or ideally to 100% dimming.
Should I start with this blueprint? Or can I set this sort of thing up within the devices?
Am I going about this the wrong way entirely?