this post was submitted on 22 Aug 2023
21 points (100.0% liked)
homeassistant
11990 readers
6 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 must live near the equator where it’s always sunny and the sun always sets at the same time. As one moves near the poles the light shifts significantly with time and weather. Northern US States for example there could be light in the sky at 11p in the summer, and indistinguishable from midnight at 4:30p in the winter. If you get a particularly cloudy day or a smokey day you may need to turn on the lights to compensate.
Time is doable, but it’s pretty simplistic in terms of a set and forget home automation system to actually light and shade based on conditions which OP is asking for.
I don't live near the equator. And yeah I don't use time I use the time when the sun sets and rises which works pretty good. But you're right on cloudy days I need to turn them on earlier by hand.
There is a US gov weather API that I believe tells the time for sunrise and sunset, so conceivably it could be done based on time that is adjusted based on the API call. Could also take into account weather conditions. I think a light sensor would help the best although I think two sensors would be ideal (one inside) because perceived brightness can be different even when illuminance is the same outside vs inside, but maybe not enough to matter in this case.