this post was submitted on 22 Aug 2023
21 points (100.0% liked)

homeassistant

12025 readers
85 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
 

So, I want the following to happen, does anyone have any advice the best way to make the conditions in HA?

If it’s bright outside, close the blind and turn on the light If it’s dark outside, close the blind and turn on the light If it’s anywhere in between, keep the blind open - if it’s ‘dark enough’ turn on the light as well.

I haven’t bought any lux sensors yet. I do believe it’s a lux sensor I need. Can I make this automation with 1 (pointing outside and using that value to control both the light and blind) or would I need to have 2? (I assume, one pointing outside controlling the blind, the other in the room controlling the light?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

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.