Outdoor illuminance estimated by sunrise, sunsite and weather conditions

I decided to make a floorplan as similar as possibile to my flat state. For this reason I decide to emulated the outside light on my floorplan.
sunlight_test

I show you my config to do it.

configuration.yaml https://hastebin.com/rahedigume.yaml
automations.yaml https://hastebin.com/ixebiqapig.yaml
python_scripts/sunlight_update.py https://hastebin.com/osufipupux.py
www/lovelace-plugin/dim-image-element.js https://hastebin.com/uwawazudic.js
ui-lovelace.yaml https://hastebin.com/eguholuwef.yaml

Thanks to @thomasloven to helped to make picture-elements custom card.
Thanks to @pnbruckner for his idea (Outdoor illuminance estimated from weather conditions reported by Weather Underground, Dark Sky or YR.no)

1 Like