In Norway there are official flag days where (if you are a good little Norwegian) are supposed to put out the Norwegian flag. The rules for putting it up on these days are 08:00 in the summer time and 09:00 in the winter time and down at sunset. It’s like it’s begging for an automation!
So I built this, the Automatic Flag Machine. (I call it The Patriot) : ) It’s a 3D-printed flag-raising machine with three servos. One for opening the door to the flag compartment, one for rolling the flag and one for lifting the flag up and down.
Watch a video of it in action here:
https://www.youtube.com/watch?v=tUeLflrDyD0
So it raises the flag when asked to, or lowers it and tucks it away in its little compartment, and patriotically waits for its next outing. The thing has a Wemos mini inside and listens for MQTT commands. In Home Assistant it is configured as a cover - and as such, it can be raised and lowered from the front end or by automations.
The automation looks in a Google Calendar to see if it’s a flag day and checks another Google Calendar to see if it should go up at 08:00 or 09:00. I’ve also hooked it into the family’s birthdays, so birthday boys and girls also get flag automations!
WAF, low to medium, but holy moly this one’s fun for me though
Improvements? Sure! Watertight? Well, kind of. This one is begging for a huge balcony flag and some actuators, but that’s for another time.
If you want to print one, you can download the 3D-files here:
https://www.thingiverse.com/thing:3869384