I got blinds that can be controlled threw HomeKit and together with the homebridge-weather-station-extended plugin I set them to check at certain times for temperature and Weather Condition Category (Sun = 0, Clouds = 1, Rain = 2, Snow = 3) to decide if they should close or not.
Sadly though the Weather Condition Category proves to be rather inaccurate since mostly cloudy, partly cloudy days and days with a light overcast are still treated as 0 (=sunny day). So I often have the case that the blinds would close even though there is barley direct sunlight coming in.
Does anyone have an idea for a better and more accurate way to determine this?
An idea I had is using a light intensity sensor outside (either a finished product (weather station with HomeKit support) or something made out of a raspberry pi running homebridge. but I could not find either)
Or a weather service plugin that hands a finer graduated scale to HomeKit and differentiates between sun, partly cloudy, mostly cloudy, cloudy and overcast. (could not find anything better their but maybe you got some ideas)
Sadly though the Weather Condition Category proves to be rather inaccurate since mostly cloudy, partly cloudy days and days with a light overcast are still treated as 0 (=sunny day). So I often have the case that the blinds would close even though there is barley direct sunlight coming in.
Does anyone have an idea for a better and more accurate way to determine this?
An idea I had is using a light intensity sensor outside (either a finished product (weather station with HomeKit support) or something made out of a raspberry pi running homebridge. but I could not find either)
Or a weather service plugin that hands a finer graduated scale to HomeKit and differentiates between sun, partly cloudy, mostly cloudy, cloudy and overcast. (could not find anything better their but maybe you got some ideas)