Repository navigation
Conversation
Every controller now animates from a fully-active Garden State instead of what the Pi sends, so each channel holds its max_level permanently. The plumbing stays: state is still received and logged, and kFollowGardenState in main.cpp hands control back (ADR-0021). - Garage (new): a cap-discharge arc on a Trigger channel, fired by a Welder in random sessions (8-25 s apart), bursts (1-5 s) and taps (20-50 ms); 16 SK6812 pixels flash violet-white under each tap and cool through orange to dark. Pins are placeholders. garage-selftest added. - Dormer: 12.5 s breath between 40% and 80%. - Julia: drunk walk between 40% and 80%, about a minute per sweep. - Swannatopia: Chandelier now matches the warm incandescent Overhead. - network.json gains treehouse_garage (192.168.1.64). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Re-works the TreeHouse location firmware so every controller holds a fixed look instead of reacting to Garden State, and adds a fifth controller for the Garage welding effect. Rationale is in the new ADR-0021.
Garden State ignored, not removed. Animators run from
cg::fullyActive(), so every channel sits at itsmax_level. Controllers still join WiFi, parse OSC and log it (the heartbeat shows(standalone)). SettingkFollowGardenStateinsrc/main.cpptotruerestores the old behaviour.Breathe: a 12.5 s breath between 40% and 80%Wander(new): a drunk walk between 40% and 80%, about 60 s per full sweepGarage.
ChannelKind::Trigger: each tap is a 5 ms high pulse on the MOSFET gate, and the cap decides how long the flash lasts.lib/Weld'sWelderfires taps in three nested random ranges: sessions 8–25 s apart, bursts 1–5 s apart (2–6 per session), taps 20–50 ms apart (1–4 per burst).loop()rather than every frame.esp_random()once the radio is up, so the rhythm differs on every boot.Weldpattern flashes violet-white under each tap, then cools through orange to dark. Each tap adds heat, so long bursts glow longer.kArcPinandkGlowPiningarage.hare placeholders.garage-selftesttaps once at the start of each colour phase, then fires a four-tap, 40 ms burst at the start of white.treehouse_garageis at 192.168.1.64 innetwork.json,net_config.his regenerated, and the Garage is added to the Pi'slocations.controllers.Related to #44 (Pi-side reactivity); this PR doesn't close any issue.
Verification
pio test -e native: 47/47 pass (14 new:test_weld, plus breathe, wander, weld-glow and fully-active cases)pio runfor all 10 hardware envs (5 locations + 5 self-tests): all build, no warningsmake testin.venv: 266 passed🤖 Generated with Claude Code