Building a digital Cuckoo Clock with Home Assistant

If you have read about my Smart Home before, you know that I have speakers wired into most of the house for a Multi-Room audio experience.  I use Chrome Cast Audios to play Text to Speech notifications throughout the house from Home Assistant.  The voice is affectionately called Joanna (The Amazon Polly Voice).

A while back I read about a pretty cool project from Hareesh M U where he created a Grandfather Clock chime for his house using Home Assistant.   There were also some Cuckoo Clock files in the thread so I decided to build a digital Cuckoo Clock for the house.

Hardware Part List:

1 x Home Assistant Server – Raspberry Pi 3 Kit.
1 x AMP
1 x Mixer (optional)
1 x Chrome Cast Audios
1 x Echo DOT (for Optional  Music)

I’ll assume you have your Home Assistant server set up and your Chrome Cast audio connected to some sort of speaker system.

The Cuckoo Clock automation is located on my Repo here:
https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/automation/System/CucKoo_Clock.yaml

The automation fires every hour on the hour (Squawking once for each hour) and then once for the half-hour.   The conditions around this automation are that we are home and it’s between 9:30am and 9:30pm.

I have all the Cuckoo sounds on my GitHub repo and you can either download them or continue to pull them from my repo.   Both will work fine.

This automation is pretty self-contained and works really nice.  You will have to adjust the media player options to point to your particular Chrome Cast of course.

Here is a quick video on the Fire Tablet in action.  I forced the Cuckoo automation to go off manually which is why the time says 12:55.

Below is a more in-depth video on how the Cuckoo Clock works and how I fixed the ‘time_pattern‘ trigger in Home Assistant 0.115.

Happy Automating!
Carlo

TAGS