• 0 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle








  • the ‘actual daylight level’ is my main automation trigger. I used to do it using the azimuth but that didn’t cover rainy days or days with a clouded sky so I added the lux sensor of my outside motion sensor into this. until the battery went out during a holiday. I now have a template sensor named ‘reliable light level’. It uses the actual lux sensor as the main value, if that is not available I use the sun azimuth and do some calculations with the date and time to get a light level. after that it was a bit of trying things out to find the perfect levels for

    • turn on light in the staircase with motion
    • turn the staircase lights on completely
    • shut the blinds when it’s too sunny

    I do this by activating different mode booleans (dim, dark, light) so the automations are triggered by them turning on or off and Incan also check the state of these in the automation conditions.