In one Home Assistant Christmas countdown, you don’t have to read the number to tell that the holiday is getting closer. Santa takes up a little more of each day’s picture. Of these three projects, the countdown is the easiest to adapt to a display you already own.
Change the countdown picture at midnight
The How-To Geek writer used a screen salvaged from a broken iPad and connected to a Raspberry Pi. To try that approach, prepare a picture for each day, then set a Home Assistant automation to switch to the correct one at midnight. The writer made the whole set in advance with ChatGPT and paid nothing to generate the images.
The original countdown uses two SwitchBot AI Art Frames, both wall-mounted E-Ink displays. On one, numbered ornaments on a tree fill in as the days pass. On the other, a fresh illustration shows how many days remain. The creator puts the cost of making each new picture with the Gemini API at about four cents. Each first-generation frame holds only 10 images, so a script removes the oldest to make room for the newest.
Give each child a key to an advent house
A Home Assistant user shared a model advent village on Reddit. The full village is more than a weekend’s work. The builder made it for their two children, who open the front doors of model houses instead of lifting cardboard flaps. Each child’s NFC key unlocks only their own house. Unlocking the door brings an elf up through the chimney with that day’s message. Inside are a lit Christmas tree and a miniature stove with a flickering fire effect.
A screen on the front of each house counts down the days. Between the houses, a miniature tree rotates, its lights flashing in time with those on the family’s full-size tree. An ESP32 running ESPHome controls each house’s key reader, servos, LEDs, screen and audio player. Home Assistant keeps track of the date, which key belongs to which child and whether a door has already been opened.
Animate the shape of the tree, not the length of the string
Many ESP32 lighting projects treat a string of individually controllable LEDs as a single row, even after you wind it around a tree. ESPectacle maps the lights in three dimensions so an animation can follow the tree’s shape rather than the path of the wire.
To map the lights, use the camera and LiDAR on an iPhone or a separate scanning app on Android. Once you have the map, a web interface lets you choose a preset animation or design your own. Install ESPectacle as a Home Assistant app and the lights appear as a device via MQTT, so an automation can trigger a scene. The How-To Geek writer hadn’t tried ESPectacle, but you can preview the animations on the project’s demo site before setting up your own lights.




Discussion