I'm trying to make an automation for all my lights, based on time of day and the brightness outside. In the night (23:00 to 5:00) i obviously want it to be dim, say 10%. In the morning (5:00 to 7:00) 20%. From 7:00 till 10:00 30%. from 10:00 till 18:00 70%. from 18:00 till 20:00 30%. from 20:00 till 22:00 20%. These changes should not affect whether the light is on or not.
- How would you approach this? Whenever i click into automations i feel a bit overwhelmed with all the options and i'm sure i'm not doing it the best way (right now i have one automation for each time period and i change brightness by toggling and directly after toggling again, changing the brightness).
I would also like to throw in some brightness from outside, since im from Denmark and the outside brightness changes very much throughout a year (in summer, sunrise could be at 5:00, then i don't need the lights to be at 10%. On the other hand at winter, sunrise could be at 12:00).- I got Aqara motion detectors in every room and i can see they have a lux value.
2. If i use a motion detector that also controls a light in the same room, as a state/variable (insert correct name) for what percentage to turn the lights on at, wouldn't the automation be affected by the "wrong" reading by the motion sensor, when the lights are turned on and it's suddenly very bright? Will i need a separate (motion) sensor to only point out of the window, so i get a correct reading of the brightness outside?