Add Seasonal effect and animate the holiday effects
Installer / Build (push) Failing after 4s
Installer / Publish (push) Skipped

Seasonal picks the holiday effect from the date, using an NTP clock set to
the follow_me_timezone substitution (default UTC). Dates: New Year's, Valentine's,
St. Patrick's, Easter (Good Friday to Easter Monday), Haunted and Halloween,
Hanukkah (computed from the Hebrew calendar), Christmas and Autumn. Other
days show the plain glow. The date logic was checked against independent
Hebrew-calendar and Easter libraries for 2020 to 2060.

Autumn gets falling, swaying, tumbling leaves with periodic gusts and a brown
leaf color. Candy Cane gets a gloss glint, Easter a shimmer and sparkles,
Valentine's rising hearts, New Year's fireworks, and Halloween a bat flyby
and lightning.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jackson AndresandClaude Sonnet 5.5 committed 2026-11-02 11:50:59 -05:00
1 parent b9f1ce3190
commit 8df53d6d9f
3 files changed
+219 -10

No files matched your search

+17 -1
View File
@@ -32,7 +32,23 @@ Distances are in steps. One step is the average tread depth that the setup wizar
| Follow-Me Glow | The light that follows people. Off turns follow-me off. It sets the brightness, color, white level and effect of the window. | On, white only, 40% |
| Follow-Me Night Light | Lights a patch at each end of the stairs. It works when Follow-Me Glow is on or off. | Off. When turned on: white only, 5% |
Follow-Me Glow effects: Rainbow, New Year's, Valentine's, St. Patrick's, Easter, Fourth of July, Autumn, Halloween, Haunted, Hanukkah, Christmas, Candy Cane, Snowfall, Fireplace, Aurora, Ocean. An effect replaces the color with a moving pattern, inside the window. The pattern stays fixed to the stairs, and the person walks through it. When Follow-Me Glow turns off, the effect goes back to None.
Follow-Me Glow effects: Seasonal, Rainbow, New Year's, Valentine's, St. Patrick's, Easter, Fourth of July, Autumn, Halloween, Haunted, Hanukkah, Christmas, Candy Cane, Snowfall, Fireplace, Aurora, Ocean. An effect replaces the color with a moving pattern, inside the window. The pattern stays fixed to the stairs, and the person walks through it. When Follow-Me Glow turns off, the effect goes back to None.
Seasonal shows the holiday effect for today's date. On days with no holiday, it shows the plain glow.
| Dates | Effect |
|---|---|
| 31 Dec to 2 Jan | New Year's |
| 10 to 14 Feb | Valentine's |
| 15 to 17 Mar | St. Patrick's |
| Good Friday to Easter Monday | Easter |
| 22 Sep to 30 Nov | Autumn |
| 17 to 23 Oct | Haunted |
| 24 to 31 Oct | Halloween |
| The 8 days of Hanukkah, from 25 Kislev | Hanukkah |
| 1 to 26 Dec | Christmas |
Hanukkah takes priority over Christmas on the days they overlap. The sensor sets its clock from the internet (NTP), in the time zone given by the `follow_me_timezone` substitution in the device configuration. The default is UTC. Until the clock is set, Seasonal shows the plain glow. Fourth of July is not part of Seasonal. Autumn follows the northern hemisphere.
Where the window and the night light overlap, each LED shows the brighter of the two.