this post was submitted on 22 Aug 2023
21 points (100.0% liked)
homeassistant
11878 readers
1 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
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.