Add the birthday cuckoo clock sound pack

master
Carlo Costanzo 2 days ago
parent 9938526fea
commit 53256d0f80

@ -72,7 +72,7 @@ A phone tap on the water cooler logs a 40 US fl oz refill for the person who sca
- Bedroom camera kiosk tablet: [`kiosk_tablet.yaml`](config/packages/kiosk_tablet.yaml), [config/dashboards/kiosk](config/dashboards/kiosk), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/ChgEu0IDWzc)
- Holiday/front-of-house color scenes: [`monthly_colors.yaml`](config/scene/monthly_colors.yaml), [`monthly_color_scene.yaml`](config/script/monthly_color_scene.yaml); local calendar source: [`holiday.yaml`](config/packages/holiday.yaml) [![Watch local holiday countdowns](https://img.shields.io/badge/Watch-Local%20Holiday%20Countdowns-FF0000?logo=youtube&logoColor=white)](https://youtu.be/QzrfDFA7htc) [![Local holiday countdowns blog](https://img.shields.io/static/v1?label=vCloudInfo&message=Local%20Holiday%20Countdowns&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/10/home-assistant-local-holiday-countdowns-python-codex.html) Seasonal dashboard accents: [![Watch holiday dashboard theming](https://img.shields.io/badge/Watch-Holiday%20Theming-FF0000?logo=youtube&logoColor=white)](https://youtu.be/qawvBd8_RJ0) [![Holiday dashboard guide](https://img.shields.io/static/v1?label=vCloudInfo&message=Holiday%20Theming&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/11/home-assistant-holiday-dashboard-theming.html)
- PC lock/unlock-driven lighting plus workday wake-up via HASS.Agent + Wake on LAN: [`hass_agent_homepc.yaml`](config/packages/hass_agent_homepc.yaml)
- Seasonal cuckoo clock with Hanukkah, New Year's, Easter, Halloween, Thanksgiving, and Christmas sound packs: [`CucKoo_Clock.yaml`](config/automation/System/CucKoo_Clock.yaml)
- Cuckoo clock with birthday, Hanukkah, New Year's, Easter, Halloween, Thanksgiving, and Christmas sound packs: [`CucKoo_Clock.yaml`](config/automation/System/CucKoo_Clock.yaml)
- Garage arrival and entry helpers: [`garadget.yaml`](config/packages/garadget.yaml)
- Vacation Mode and house-sitter checks: [`vacation_mode.yaml`](config/packages/vacation_mode.yaml)
- HVAC runtime maintenance loop: [`climate.yaml`](config/packages/climate.yaml), [`hvac_sections.yaml`](config/dashboards/infrastructure/partials/hvac_sections.yaml), [![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-FF0000?logo=youtube&logoColor=white)](https://youtu.be/nScl2JxYSB8) [![Watch Nest schedule](https://img.shields.io/badge/Watch-Nest%20Schedule-FF0000?logo=youtube&logoColor=white)](https://youtu.be/J7OSCINNNdM) [![Nest schedule guide](https://img.shields.io/static/v1?label=vCloudInfo&message=Nest%20Schedule&color=21759B&logo=wordpress&logoColor=white)](https://www.vcloudinfo.com/2026/11/nest-thermostat-schedule-fresh-air-home-assistant.html)

@ -10,6 +10,7 @@
# Notes: More Info and Video: https://www.vcloudinfo.com/2017/11/building-digital-cuckoo-clock-with-home.html
# Notes: Patriotic/fireworks chimes (July 3-4, Memorial Day, Labor Day) are disabled for noise sensitivity. See issue 984.
# Notes: Holiday lighting mode selects Hanukkah, New Year's, Easter, and Thanksgiving ahead of the monthly packs.
# Notes: The two household birthday entries take precedence over seasonal packs.
# Notes: Clock WAVs are served from /local/sounds so Chromecast fetches them from Home Assistant.
# Notes: Guest mode keeps scheduled chimes running outside the normal 09:00-22:00 window.
######################################################################
@ -62,9 +63,11 @@
'thanksgiving': 'thanksgiving-clock'
} %}
{% set monthly_packs = {10: 'october-clock', 12: 'december-clock'} %}
{% set folder = holiday_packs.get(states('sensor.holiday_lighting_mode'),
monthly_packs.get(chime_time.month, 'cuckoo-clock')) %}
{% set hour = '01' if chime_time.minute == 30 else chime_time.strftime('%I') %}
{% set fixed_dates = (state_attr('sensor.holiday', 'MAJOR_US') or {}).get('static', {}) %}
{% set occasion = fixed_dates.get(chime_time.month ~ '/' ~ chime_time.day) %}
{% set folder = 'birthday-clock' if occasion in ['Carlos Birthday', 'Staceys Birthday']
else holiday_packs.get(states('sensor.holiday_lighting_mode'), monthly_packs.get(chime_time.month, 'cuckoo-clock')) %}
{% set chime = ('half' if folder == 'birthday-clock' else '01') if chime_time.minute == 30 else chime_time.strftime('%I') %}
{% set base = "http://192.168.10.10:8123/local/sounds/" %}
{{ base ~ folder ~ '/cuckoo-clock-' ~ hour ~ '.wav' }}
{{ base ~ folder ~ '/cuckoo-clock-' ~ chime ~ '.wav' }}
media_content_type: audio/wav

@ -21,6 +21,8 @@ Home Assistant sound assets are served from `/local/sounds/`.
- [New Year's](new-years-clock/) (`new_years_day`) uses one glass clink per hour over a piano arrangement of *Auld Lang Syne*.
- [Easter](easter-clock/) (`easter`) uses a two-note bird call for each count, answered by bassoon, plucked strings, and marimba.
- [Thanksgiving](thanksgiving-clock/) (`thanksgiving`) pairs turkey calls with dulcimer and quiet dinner-table sounds. The turkey call was recorded by JarredGibb. [Recording and license](https://orangefreesounds.com/turkey-gobble/)
- [Birthday](birthday-clock/) takes priority on the two selected household birthdays in the existing holiday calendar. Count the hour by listening for a handclap and a piano note together, once per second. After the last clap, the piano finishes the phrase under a group birthday greeting. At half past, `cuckoo-clock-half.wav` plays one solo piano note. [Sound credits](birthday-clock/CREDITS.txt)
- To use the pack at home, copy `birthday-clock/` into `config/www/sounds/`. In the [clock automation](../../automation/System/CucKoo_Clock.yaml), set `base` to a Home Assistant URL your speaker can reach, ending in `/local/sounds/`. Replace the two birthday labels with your own entries from `sensor.holiday`, or use your own birthday condition.
- Outside these lighting modes, October uses `october-clock`, December uses `december-clock`, and other months use `cuckoo-clock`. The patriotic `july-clock` pack is disabled.
**All of my configuration files are tested against the most stable version of home-assistant.**

@ -0,0 +1,11 @@
Birthday clock sound pack
Each hour pairs one handclap with one piano note per count, one second apart.
The piano finishes the phrase under the group greeting. At the half-hour,
play cuckoo-clock-half.wav for one solo piano note.
Piano (a sampled Steinway B) and handclaps: Versilian Community Sample Library,
Versilian Studios. https://versilian-studios.com/vcsl/
Happy Birthday Crowd, recorded by theuned: https://freesound.org/people/theuned/sounds/391869/
Both sound sources are available under CC0 1.0: https://creativecommons.org/publicdomain/zero/1.0/
The samples were excerpted, arranged and mixed for this clock.
Loading…
Cancel
Save

Powered by TurnKey Linux.