diff --git a/README.md b/README.md index 60fcf499..cad7e9f1 100755 --- a/README.md +++ b/README.md @@ -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 patriotic, October, and Christmas sound packs: [`CucKoo_Clock.yaml`](config/automation/System/CucKoo_Clock.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) - 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) diff --git a/config/automation/System/CucKoo_Clock.yaml b/config/automation/System/CucKoo_Clock.yaml index 3fd18556..51500990 100755 --- a/config/automation/System/CucKoo_Clock.yaml +++ b/config/automation/System/CucKoo_Clock.yaml @@ -8,8 +8,8 @@ # Defines the Plays the number of cuckoos per hour and 1 on the half hour triggers, conditions, and actions. # ------------------------------------------------------------------- # Notes: More Info and Video: https://www.vcloudinfo.com/2017/11/building-digital-cuckoo-clock-with-home.html -# Notes: Patriotic cuckoos run July 3-4, last Monday in May, and first Monday in September. -# Notes: Patriotic/fireworks cuckoos are disabled for now; revisit issue 984 before re-enabling. +# 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: 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. ###################################################################### @@ -53,30 +53,18 @@ - service: media_player.play_media data: entity_id: media_player.livingroomCC - media_content_id: > - {% set month = now().strftime("%B") %} - {# - Patriotic/fireworks cuckoos disabled 2026-07-04 due to noise sensitivity at home. - Re-enable by restoring this date branch and the july-clock folder selection below. - {% set is_july_celebration = now().month == 7 and now().day in [3, 4] %} - {% set is_memorial_day = now().month == 5 and now().weekday() == 0 and now().day >= 25 %} - {% set is_labor_day = now().month == 9 and now().weekday() == 0 and now().day <= 7 %} - {% set is_patriotic_day = is_july_celebration or is_memorial_day or is_labor_day %} - #} - {% set is_patriotic_day = false %} + media_content_id: >- + {% set chime_time = as_local(trigger.now) if trigger is defined and trigger.now is defined else now() %} + {% set holiday_packs = { + 'hanukkah': 'hanukkah-clock', + 'new_years_day': 'new-years-clock', + 'easter': 'easter-clock', + '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 base = "http://192.168.10.10:8123/local/sounds/" %} - {# - {% if is_patriotic_day %} - {% set folder = 'july-clock' %} - {% elif month == 'October' %} - #} - {% if month == 'October' %} - {% set folder = 'october-clock' %} - {% elif month == 'December' %} - {% set folder = 'december-clock' %} - {% else %} - {% set folder = 'cuckoo-clock' %} - {% endif %} - {% set file = 'cuckoo-clock-01.wav' if now().strftime("%M")|int == 30 else 'cuckoo-clock-' ~ now().strftime("%I") ~ '.wav' %} - {{ base ~ folder ~ '/' ~ file }} + {{ base ~ folder ~ '/cuckoo-clock-' ~ hour ~ '.wav' }} media_content_type: audio/wav diff --git a/config/www/sounds/README.md b/config/www/sounds/README.md index 5752abd0..2f44a23b 100644 --- a/config/www/sounds/README.md +++ b/config/www/sounds/README.md @@ -16,7 +16,12 @@ Home Assistant sound assets are served from `/local/sounds/`. ### Tips - Door chimes, dog barks, and speech effects use the same local audio directory as the clock packs. - The `gf_clock/`, `custom/`, and `speechcons/` folders group other sound sets. -- Seasonal cuckoo clock uses `july-clock` (patriotic holidays), `october-clock` (Halloween), and `december-clock` (Christmas) variants, falling back to `cuckoo-clock`. +- The cuckoo clock follows `sensor.holiday_lighting_mode` for the four sets below. Each hourly recording counts from one to twelve. The half-hour uses the one o'clock recording. + - [Hanukkah](hanukkah-clock/) (`hanukkah`) counts with wooden dreidel knocks, answered by klezmer clarinet and hammered dulcimer. + - [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/) +- 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.** diff --git a/config/www/sounds/easter-clock/cuckoo-clock-01.wav b/config/www/sounds/easter-clock/cuckoo-clock-01.wav new file mode 100644 index 00000000..79901ccc Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-01.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-02.wav b/config/www/sounds/easter-clock/cuckoo-clock-02.wav new file mode 100644 index 00000000..076c3ba8 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-02.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-03.wav b/config/www/sounds/easter-clock/cuckoo-clock-03.wav new file mode 100644 index 00000000..8722a4eb Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-03.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-04.wav b/config/www/sounds/easter-clock/cuckoo-clock-04.wav new file mode 100644 index 00000000..47c509f2 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-04.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-05.wav b/config/www/sounds/easter-clock/cuckoo-clock-05.wav new file mode 100644 index 00000000..7e3f222b Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-05.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-06.wav b/config/www/sounds/easter-clock/cuckoo-clock-06.wav new file mode 100644 index 00000000..3ef9e388 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-06.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-07.wav b/config/www/sounds/easter-clock/cuckoo-clock-07.wav new file mode 100644 index 00000000..e6821f79 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-07.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-08.wav b/config/www/sounds/easter-clock/cuckoo-clock-08.wav new file mode 100644 index 00000000..6ce2b004 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-08.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-09.wav b/config/www/sounds/easter-clock/cuckoo-clock-09.wav new file mode 100644 index 00000000..335a1f8e Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-09.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-10.wav b/config/www/sounds/easter-clock/cuckoo-clock-10.wav new file mode 100644 index 00000000..518a317a Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-10.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-11.wav b/config/www/sounds/easter-clock/cuckoo-clock-11.wav new file mode 100644 index 00000000..67ea9379 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-11.wav differ diff --git a/config/www/sounds/easter-clock/cuckoo-clock-12.wav b/config/www/sounds/easter-clock/cuckoo-clock-12.wav new file mode 100644 index 00000000..24040593 Binary files /dev/null and b/config/www/sounds/easter-clock/cuckoo-clock-12.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-01.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-01.wav new file mode 100644 index 00000000..7ecd0a4f Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-01.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-02.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-02.wav new file mode 100644 index 00000000..c1018e41 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-02.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-03.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-03.wav new file mode 100644 index 00000000..520b4527 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-03.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-04.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-04.wav new file mode 100644 index 00000000..1d1523f1 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-04.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-05.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-05.wav new file mode 100644 index 00000000..a53f1278 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-05.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-06.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-06.wav new file mode 100644 index 00000000..190b145a Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-06.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-07.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-07.wav new file mode 100644 index 00000000..8666fdec Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-07.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-08.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-08.wav new file mode 100644 index 00000000..c8f65482 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-08.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-09.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-09.wav new file mode 100644 index 00000000..10797dd8 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-09.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-10.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-10.wav new file mode 100644 index 00000000..933fa51e Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-10.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-11.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-11.wav new file mode 100644 index 00000000..112d1e90 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-11.wav differ diff --git a/config/www/sounds/hanukkah-clock/cuckoo-clock-12.wav b/config/www/sounds/hanukkah-clock/cuckoo-clock-12.wav new file mode 100644 index 00000000..6eda4516 Binary files /dev/null and b/config/www/sounds/hanukkah-clock/cuckoo-clock-12.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-01.wav b/config/www/sounds/new-years-clock/cuckoo-clock-01.wav new file mode 100644 index 00000000..bdd848ec Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-01.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-02.wav b/config/www/sounds/new-years-clock/cuckoo-clock-02.wav new file mode 100644 index 00000000..6779d90d Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-02.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-03.wav b/config/www/sounds/new-years-clock/cuckoo-clock-03.wav new file mode 100644 index 00000000..0f466a98 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-03.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-04.wav b/config/www/sounds/new-years-clock/cuckoo-clock-04.wav new file mode 100644 index 00000000..4e415836 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-04.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-05.wav b/config/www/sounds/new-years-clock/cuckoo-clock-05.wav new file mode 100644 index 00000000..ff2f37b8 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-05.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-06.wav b/config/www/sounds/new-years-clock/cuckoo-clock-06.wav new file mode 100644 index 00000000..95d244d6 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-06.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-07.wav b/config/www/sounds/new-years-clock/cuckoo-clock-07.wav new file mode 100644 index 00000000..3b1ee8ad Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-07.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-08.wav b/config/www/sounds/new-years-clock/cuckoo-clock-08.wav new file mode 100644 index 00000000..1c302b15 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-08.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-09.wav b/config/www/sounds/new-years-clock/cuckoo-clock-09.wav new file mode 100644 index 00000000..56ac216c Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-09.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-10.wav b/config/www/sounds/new-years-clock/cuckoo-clock-10.wav new file mode 100644 index 00000000..e5c37ba1 Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-10.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-11.wav b/config/www/sounds/new-years-clock/cuckoo-clock-11.wav new file mode 100644 index 00000000..63c4555a Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-11.wav differ diff --git a/config/www/sounds/new-years-clock/cuckoo-clock-12.wav b/config/www/sounds/new-years-clock/cuckoo-clock-12.wav new file mode 100644 index 00000000..5737ddef Binary files /dev/null and b/config/www/sounds/new-years-clock/cuckoo-clock-12.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-01.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-01.wav new file mode 100644 index 00000000..303f0fb5 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-01.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-02.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-02.wav new file mode 100644 index 00000000..4b8c4a8e Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-02.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-03.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-03.wav new file mode 100644 index 00000000..b1d4f0c9 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-03.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-04.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-04.wav new file mode 100644 index 00000000..ca9185f1 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-04.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-05.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-05.wav new file mode 100644 index 00000000..3e5e92cc Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-05.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-06.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-06.wav new file mode 100644 index 00000000..8440aa10 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-06.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-07.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-07.wav new file mode 100644 index 00000000..3d694db8 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-07.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-08.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-08.wav new file mode 100644 index 00000000..785bc799 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-08.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-09.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-09.wav new file mode 100644 index 00000000..028416e0 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-09.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-10.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-10.wav new file mode 100644 index 00000000..3b7e13de Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-10.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-11.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-11.wav new file mode 100644 index 00000000..6bc0e849 Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-11.wav differ diff --git a/config/www/sounds/thanksgiving-clock/cuckoo-clock-12.wav b/config/www/sounds/thanksgiving-clock/cuckoo-clock-12.wav new file mode 100644 index 00000000..d6ae937b Binary files /dev/null and b/config/www/sounds/thanksgiving-clock/cuckoo-clock-12.wav differ