I may have gone slightly overboard with Home Assistant and esp32 gadgets. Here's one flashed with ESPHome and connected to a keypad. The three top buttons control individual curtains. This is useful because the SwitchBot devices hanging in them make it too heavy to open them manually. And because I was too lazy to mount them securely, pulling on the curtains too hard causes to fall down.

(They also open and close based on the sun azimuth, inclination and expect maximum temperature. Work in progress to takes cloud into account)

https://esphome.io/

Reply to this note

Please Login to reply.

Discussion

For clouds, ambient light sensor and then set a desired light level?

I have light (and humity, conductity and temperature) sensors in my plants, including some outdoor ones. So indeed that is probably the way to go. Multiple sensors perhaps to differentiate random shade from clouds.

And perhaps a 5 minute EMA to even out cloud movements.