Overview


I built this project to explore how weather data could control my blinds. It checks the weather and time once an hour, then moves the blinds to one of three positions. I used OpenWeatherMap for the weather data and EEPROM to remember the previous position after waking from deep sleep.

The project builds on Kevin Darrah's code for his clear sky indicator.

Pictures


Blinds viewed from the front

Device viewed from above

3D printed parts attached to the servo

Connector for the D-shaped tilt rod

Servo connected to the tilt rod

Servo mount on the blinds


Demo


This demo shows the blinds moving between the three positions.



Blind Positions


I use these OpenWeatherMap weather conditions.

The rules are simple:

  • Fully Open: Daytime with clear skies, few clouds, or scattered clouds.
  • Open Halfway: Daytime with any other weather.
  • Closed: At night.

Wiring diagram

Code and Setup


The code and setup instructions are in my GitHub repository.