I am new to Home Assistant running my HA instance on Raspi4 with SSD and get into automation now after adding lots of my devices mainly focusing on lights, relays, motion and door locks.
I wanted to create my first automation today with the following devices to trigger and action, when environmental lighting is low (night so around <50lux) and from times (22:00 - 06:00a.m.).
The triggering action would be a Shelly Motion 2 movement which then should turn on 2 Hue lights (Iris and Go) in my floor during dark and night.
I created the automation which probably should work but I am struggling with the following challenges:
How to turn of the light when Shelly Motion doesn’t report any motion anymore after 1-2minutes?
How to make sure that the automation is triggered during certain times, ideally on certain days, so in my case between 22:00 - 06:00a.m. next day. This should be reoccuring so multiple on/off actions on lights should be executed?
I am a bit confused with the on (should work) and off (no idea how to do this) automations and also with the delay of turn off so lights don’t go immediately off when Shelly Motion 2 doesn’t report motion anymore.
Same applies to the timing question to make sure only nighttimes are taken into consideration!?
Attached is my current ON action but now the rest of the workflow has to come… Any help warmly appreciated…
Sorry it’s German but very simple automation as of now…
Hi gessi, this is somewhat off topic, but you seemed to have managed to get a Shelly Motion 2 recognized by HA. There’s a few topics in this forum about this, but no easy solution. How did you implement it?