this post was submitted on 22 Aug 2023
21 points (100.0% liked)
homeassistant
12045 readers
19 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You might be able to get a long way without the sensors. Using a weather sensor + sunrise/sunset sensors?
I think just one sensor for outside is enough, you'll probably need to experiment with the "bright" and "dark" values. Leave a decent gap in between the two bright and dark values to avoid the blinds bouncing up and down.
You can probably make the sensor yourself with a LDR (light dependant resistor) and a microcontroller (esp32 or similar)
Relying on sun positions and weather data can be a bit hit and miss for lighting automations. I originally used to limit some of my light automations to only turn on between sunset and sunrise - when it should be dark.
But often when there was heavy cloud during daylight it would be dark enough to want lights, but the available weather data I had was never accurate enough to tell heavy gloomy clouds from lighter clouds.
I added some light sensors to the mix and my automations have been a light more accident and flexible.
Yeah, I’ve played around with basing it on sunrise/sunset and a local weather api, but it often says it’s cloudy outside when it’s not, and vice versa. Or there’s various types of cloud; the API can’t differentiate.