Repository navigation
feat(wall): heimdall first light, and the house and family calendar on the wall - #1566
Merged
Merged
Conversation
The office television came up on heimdall on 2026-11-18. Its generic EDID prefers 1280x720, and the video= boot line only sets the console, so a kanshi profile now sets 1920x1080 at 60 Hz: sharp, no overscan, and kept across a reboot. The Changhong has no HDMI-CEC (its manual never mentions it, and the Pi's probe found no device), and it switches itself off without a signal. So neither night-time path in ADR-0119 decision 5 applies, and the screen stays on with the set's Auto Sleep and Sleep timers off. build-heimdall.md sections 5, 7, 8 and 9, the hardware.md wall display rows and a 2026-11-18 changelog entry say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
There was a problem hiding this comment.
🟡 Changes recommended
The runbook misidentifies the Pi’s local CEC address as the television’s, misleadingly implying that the probe discovered the TV.
1 open issue
What changed in this PR
Records heimdall’s first verified display output and kiosk operation, updating the hardware inventory and build runbook without changing repository configuration.
Changes:
- Documents the
kanshiprofile that selects 1080p, with verification and rollback steps. - Records the lack of HDMI-CEC and the always-on setup with sleep timers disabled.
- Adds a dated changelog entry completing the earlier verification record.
| File | Description |
|---|---|
| docs/runbooks/build-heimdall.md | Adds resolution setup, measured results, always-on guidance, and mode rollback. |
| docs/hardware.md | Updates the television’s resolution and power-management details. |
| docs/changelog.md | Records first light and the verified display behavior. |
Review effort: Balanced
main already had a 2026-11-18 heading, so the entry added a second one, and markdownlint's MD024 failed Lint on #1566. The entry now opens the existing day, newest first. markdownlint-cli2 reported the MD024 error on the previous head and 0 issues in 209 files on this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
From Copilot's review on #1566. cec-ctl's physical address belongs to the local adapter and is derived from the TV's EDID; the TV would be 0.0.0.0. Section 8 now says the TV never replied, rather than that the Pi saw it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
Keep both 2026-11-18 changelog entries under one heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
The page's header shows the weather and its bottom row the Ring Alarm's mode, four door contacts, two window contacts and the office lights. Each is one of nine /api/ha/NAME handles in the Caddyfile: a GET of one /api/states/<entity>, ending in `?` so the client's query string is dropped, with WALL_HA_TOKEN (the non-admin `wall` user, #1563) added by Caddy. Home Assistant has no read-only role, so that narrowing is the read-only part. security.md names the residual. Two entities were renamed in HA so no committed ID names a person or the city: light.office and alarm_control_panel.house. Measured against the pinned Caddy and a stand-in HA: each handle reached only its entity with the token, ?x=1 was dropped, POST 405, /api/states/ directly 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
A Today panel under the alerts lists today's and tomorrow's events: time (or All day / Now), title and location, with a colour bar per calendar. Alerts keep the height they need and the calendar fits what is left, with "+N more" for the rest. The events come from sensor.wall_today, built by a new HA package, wall_calendar.yaml: a trigger-based template sensor that asks calendar.get_events every five minutes for today and tomorrow. It reads the calendars labelled wall_calendar, or every calendar when none is labelled, so no calendar (whose Google ids name people) is named in the repository. It reads unavailable, not empty, when a calendar cannot be read, and the status bar shows that as "calendar · unavailable". The wall reads it through a tenth fixed handle, /api/ha/today. Booted on Home Assistant 2026.11.1: check_config passed, the sensor held the demo calendars' events, and with no calendar it read unavailable. The page was rendered against the pinned Caddy with a stand-in HA in its three states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
# Conflicts: # docs/changelog.md
The Ring Alarm's and the office lights' entity ids name the city and a person, so the wall cannot name them and they stay as they are in HA. A new package, wall_house.yaml, finds them instead: sensor.wall_alarm takes the house's one alarm_control_panel, and binary_sensor.wall_office_lights is on when any light whose id contains "office" is on. Both read unavailable when nothing matches. The Caddyfile's alarm and office_light handles now name these two template entities. Booted on Home Assistant 2026.11.1 with a stand-in alarm and office light: disarmed/off at start, armed_home/on after arming and turning on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
…hboard-sd6zal # Conflicts: # docs/changelog.md
Gerrrt
enabled auto-merge (squash)
November 18, 2026 05:36
Keep every 2026-11-18 changelog entry under one heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6
4 of 6 tasks
Gerrrt
added a commit
that referenced
this pull request
Nov 18, 2026
* docs(heimdall): record first light at 1080p and that the TV stays on The office television came up on heimdall on 2026-11-18. Its generic EDID prefers 1280x720, and the video= boot line only sets the console, so a kanshi profile now sets 1920x1080 at 60 Hz: sharp, no overscan, and kept across a reboot. The Changhong has no HDMI-CEC (its manual never mentions it, and the Pi's probe found no device), and it switches itself off without a signal. So neither night-time path in ADR-0119 decision 5 applies, and the screen stays on with the set's Auto Sleep and Sleep timers off. build-heimdall.md sections 5, 7, 8 and 9, the hardware.md wall display rows and a 2026-11-18 changelog entry say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * docs(changelog): file the heimdall entry under the existing 2026-11-18 main already had a 2026-11-18 heading, so the entry added a second one, and markdownlint's MD024 failed Lint on #1566. The entry now opens the existing day, newest first. markdownlint-cli2 reported the MD024 error on the previous head and 0 issues in 209 files on this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * docs(heimdall): 1.0.0.0 is the Pi's CEC address, not the television's From Copilot's review on #1566. cec-ctl's physical address belongs to the local adapter and is derived from the TV's EDID; the TV would be 0.0.0.0. Section 8 now says the TV never replied, rather than that the Pi saw it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): read the house from Home Assistant on the wall page The page's header shows the weather and its bottom row the Ring Alarm's mode, four door contacts, two window contacts and the office lights. Each is one of nine /api/ha/NAME handles in the Caddyfile: a GET of one /api/states/<entity>, ending in `?` so the client's query string is dropped, with WALL_HA_TOKEN (the non-admin `wall` user, #1563) added by Caddy. Home Assistant has no read-only role, so that narrowing is the read-only part. security.md names the residual. Two entities were renamed in HA so no committed ID names a person or the city: light.office and alarm_control_panel.house. Measured against the pinned Caddy and a stand-in HA: each handle reached only its entity with the token, ?x=1 was dropped, POST 405, /api/states/ directly 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): add the family calendar to the wall page A Today panel under the alerts lists today's and tomorrow's events: time (or All day / Now), title and location, with a colour bar per calendar. Alerts keep the height they need and the calendar fits what is left, with "+N more" for the rest. The events come from sensor.wall_today, built by a new HA package, wall_calendar.yaml: a trigger-based template sensor that asks calendar.get_events every five minutes for today and tomorrow. It reads the calendars labelled wall_calendar, or every calendar when none is labelled, so no calendar (whose Google ids name people) is named in the repository. It reads unavailable, not empty, when a calendar cannot be read, and the status bar shows that as "calendar · unavailable". The wall reads it through a tenth fixed handle, /api/ha/today. Booted on Home Assistant 2026.11.1: check_config passed, the sensor held the demo calendars' events, and with no calendar it read unavailable. The page was rendered against the pinned Caddy with a stand-in HA in its three states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): read the alarm and office lights without renaming them The Ring Alarm's and the office lights' entity ids name the city and a person, so the wall cannot name them and they stay as they are in HA. A new package, wall_house.yaml, finds them instead: sensor.wall_alarm takes the house's one alarm_control_panel, and binary_sensor.wall_office_lights is on when any light whose id contains "office" is on. Both read unavailable when nothing matches. The Caddyfile's alarm and office_light handles now name these two template entities. Booted on Home Assistant 2026.11.1 with a stand-in alarm and office light: disarmed/off at start, armed_home/on after arming and turning on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * fix(render): write WALL_HA_TOKEN into the sensitive tier's .env make up STACK=sensitive failed on trinity with "required variable WALL_HA_TOKEN is missing a value". The token is in secrets/sensitive.sops.yaml (#1563) and compose.yaml guards it, but render-config.sh writes to .env only the names in COMPOSE_VARS, and the wall change never added it there. CI validates against seed-validation-env.sh's stand-ins, not a render, so it passed. Every other ${VAR:?} guard naming a SOPS key was checked against the list; none is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 --------- Co-authored-by: Claude <noreply@anthropic.com>
4 of 6 tasks
Gerrrt
added a commit
that referenced
this pull request
Nov 18, 2026
#1566 guarded WALL_HA_TOKEN in stacks/sensitive/compose.yaml and seeded it, #1563 put it in secrets/sensitive.sops.yaml, and nothing added it to render-config.sh's COMPOSE_VARS. CI validates with the seed's stand-ins and never runs render, so it passed; `make up STACK=sensitive` on trinity did not. scripts/check_compose_vars.py holds the three copies together: a guarded or seeded SOPS key must be in COMPOSE_VARS, a guarded SOPS key must have a stand-in, and a COMPOSE_VARS entry must be a SOPS key. It reads only key names, which SOPS leaves in plaintext. Wired into CI, validate.sh and `make check-compose-vars`; its fixtures run in self-tests.sh. It fails on main at #1566 and passes on #1570's head. Refs #1570. Claude-Session: https://claude.ai/code/session_01L2Eweh7G6uK8cbuptGtxTR Co-authored-by: Claude <noreply@anthropic.com>
Merged
4 of 6 tasks
Gerrrt
added a commit
that referenced
this pull request
Nov 18, 2026
…le under many alerts (#1573) * docs(heimdall): record first light at 1080p and that the TV stays on The office television came up on heimdall on 2026-11-18. Its generic EDID prefers 1280x720, and the video= boot line only sets the console, so a kanshi profile now sets 1920x1080 at 60 Hz: sharp, no overscan, and kept across a reboot. The Changhong has no HDMI-CEC (its manual never mentions it, and the Pi's probe found no device), and it switches itself off without a signal. So neither night-time path in ADR-0119 decision 5 applies, and the screen stays on with the set's Auto Sleep and Sleep timers off. build-heimdall.md sections 5, 7, 8 and 9, the hardware.md wall display rows and a 2026-11-18 changelog entry say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * docs(changelog): file the heimdall entry under the existing 2026-11-18 main already had a 2026-11-18 heading, so the entry added a second one, and markdownlint's MD024 failed Lint on #1566. The entry now opens the existing day, newest first. markdownlint-cli2 reported the MD024 error on the previous head and 0 issues in 209 files on this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * docs(heimdall): 1.0.0.0 is the Pi's CEC address, not the television's From Copilot's review on #1566. cec-ctl's physical address belongs to the local adapter and is derived from the TV's EDID; the TV would be 0.0.0.0. Section 8 now says the TV never replied, rather than that the Pi saw it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): read the house from Home Assistant on the wall page The page's header shows the weather and its bottom row the Ring Alarm's mode, four door contacts, two window contacts and the office lights. Each is one of nine /api/ha/NAME handles in the Caddyfile: a GET of one /api/states/<entity>, ending in `?` so the client's query string is dropped, with WALL_HA_TOKEN (the non-admin `wall` user, #1563) added by Caddy. Home Assistant has no read-only role, so that narrowing is the read-only part. security.md names the residual. Two entities were renamed in HA so no committed ID names a person or the city: light.office and alarm_control_panel.house. Measured against the pinned Caddy and a stand-in HA: each handle reached only its entity with the token, ?x=1 was dropped, POST 405, /api/states/ directly 404. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): add the family calendar to the wall page A Today panel under the alerts lists today's and tomorrow's events: time (or All day / Now), title and location, with a colour bar per calendar. Alerts keep the height they need and the calendar fits what is left, with "+N more" for the rest. The events come from sensor.wall_today, built by a new HA package, wall_calendar.yaml: a trigger-based template sensor that asks calendar.get_events every five minutes for today and tomorrow. It reads the calendars labelled wall_calendar, or every calendar when none is labelled, so no calendar (whose Google ids name people) is named in the repository. It reads unavailable, not empty, when a calendar cannot be read, and the status bar shows that as "calendar · unavailable". The wall reads it through a tenth fixed handle, /api/ha/today. Booted on Home Assistant 2026.11.1: check_config passed, the sensor held the demo calendars' events, and with no calendar it read unavailable. The page was rendered against the pinned Caddy with a stand-in HA in its three states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * feat(wall): read the alarm and office lights without renaming them The Ring Alarm's and the office lights' entity ids name the city and a person, so the wall cannot name them and they stay as they are in HA. A new package, wall_house.yaml, finds them instead: sensor.wall_alarm takes the house's one alarm_control_panel, and binary_sensor.wall_office_lights is on when any light whose id contains "office" is on. Both read unavailable when nothing matches. The Caddyfile's alarm and office_light handles now name these two template entities. Booted on Home Assistant 2026.11.1 with a stand-in alarm and office light: disarmed/off at start, armed_home/on after arming and turning on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * fix(render): write WALL_HA_TOKEN into the sensitive tier's .env make up STACK=sensitive failed on trinity with "required variable WALL_HA_TOKEN is missing a value". The token is in secrets/sensitive.sops.yaml (#1563) and compose.yaml guards it, but render-config.sh writes to .env only the names in COMPOSE_VARS, and the wall change never added it there. CI validates against seed-validation-env.sh's stand-ins, not a render, so it passed. Every other ${VAR:?} guard naming a SOPS key was checked against the list; none is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * fix(wall): restart Home Assistant on make up; keep the calendar visible under many alerts Home Assistant reads packages/ only at start, and the directory is mounted whole, so #1566's wall_* entities did not exist until a manual restart. reload-config.sh now restarts it on every make up of a stack that declares it, on the same terms as Alloy (no mtime shortcut, per restart_alloy's note). Tested with a stub docker: sensitive restarts it, observability does not, and a stopped one fails the deploy. On the wall, 12 firing alerts took most of the left column and left Today two events. Alerts are capped at half the column and four rows, worst first, and a shared fitList() keeps only whole rows in both panels. A .more line-height of 1 overhung its box by 3px, which read as overflow and emptied the panel; it is now 1.3, with 2px slack in the test. Rendered with 12, 2 and 0 alerts against the pinned Caddy: Today kept at least four events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 * fix(wall): count a lone oversized row as "+1 more" instead of clipping it From Copilot's review on #1573. fitList() never removed the last child, so one alert whose name wrapped past the half-height panel was clipped with no indicator. A row can now always be dropped; only a lone non-row line ("Nothing else today", or the "+N more" itself) is kept. Rendered with one alert of a 238-character name: "+1 more". With 12 and 0 alerts the panels are as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6 --------- Co-authored-by: Claude <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 changed
1.
heimdallfirst light (docs only).build-heimdall.md§5: the TV's generic EDID prefers 1280×720, and thevideo=boot line only sets the console. Akanshiprofile sets 1920×1080 at 60 Hz.build-heimdall.md§8: the set has no HDMI-CEC, so the screen stays on. Auto Sleep and Sleep must be Off.build-heimdall.md§7 and §9: §7 no longer says §8 turns the TV off, and §9 gains thekanshiundo.hardware.md: the Screen row says the TV is driven at 1080p and has no CEC.2. The wall page reads the house from Home Assistant.
weather.forecast_home).home-assistant/packages/wall_house.yaml: the alarm's and the office lights' own IDs name the city and a person, so nothing is renamed in HA. Instead:sensor.wall_alarmtakes the house's one alarm panel.binary_sensor.wall_office_lightsis on when any light whose ID containsofficeis on./api/ha/NAMEhandle in the Caddyfile. It rewrites toGET /api/states/<entity>?and addsWALL_HA_TOKEN, the token of HA's non-adminwalluser from secrets(sensitive): add WALL_HA_TOKEN for the wall page (ADR-0119) #1563.WALL_HA_TOKENis added tosecrets/sensitive.example.yaml,seed-validation-env.shandcompose.yaml.3. The family calendar.
home-assistant/packages/wall_calendar.yaml: a trigger-based template sensor,sensor.wall_today. It callscalendar.get_eventsevery five minutes and is read through the tenth handle,/api/ha/today.wall_calendarin the UI, or every calendar when none is labelled. No calendar ID is named in git.calendar · unavailable.Docs:
security.md: the residual, which now includes the two-day schedule.architecture.md, the stack README and the packages README.changelog.md: two 2026-11-18 entries, first light, and the house plus calendar.Why
heimdallentry and ADR-0119 left three things unverified: the HDMI output, the kiosk on the screen, and CEC. All three are now measured. Without CEC, neither path in ADR-0119 decision 5 works, so the screen stays on. ADR-0119 is a record and is left as written.wallHA user existed. The family uses Google Calendar, now added to HA through its integration.Refs ADR-0119.
Blast radius
On
trinity, Caddy gains tenGET-only handles underwall.matrix.elysium.On
trinity, Home Assistant gains three template entities:The token: HA has no read-only role, so the token could call services. Only the Caddy narrowing keeps it read-only, and
security.mdnames the residual.Who can read it: anything that reaches
trinity:443can read the door, alarm and two-day calendar states, the same as the HA app shows the household.Nothing to do in HA's UI first.
No change to network segmentation or firewall rules
No new port published to a VLAN that could not already reach the service
No credential added outside
secrets/*.sops.yamlVerification
On
heimdall(operator, 2026-11-18):connected.kanshiprofile and a reboot, the mode stayed at 1080p. The operator reports it sharp, with nothing cut off.throttled=0x0.cec-ctl --playback -Sgot "Logical Address: Not Allocated" and an empty topology.Here, on Home Assistant 2026.11.1, installed locally:
hass --script check_configpassed with both packages.sensor.wall_todayheld both events.sensor.wall_alarmandbinary_sensor.wall_office_lightswent from disarmed/off to armed_home/on.Here, on the pinned Caddy v2.11.9 with stand-in Prometheus and HA:
/api/states/…directly got 404.Here, in Playwright at 1920×1080: the page rendered with events, with no events ("Nothing else today"), and with the calendar unavailable. There were no console errors.
Static checks:
python3 scripts/check_docs.py:docs OK.markdownlint: 0 issues.
yamllint (repo config): clean.
caddy fmt --diffandcaddy adapt: clean.node --check wall.js: passed../scripts/lint.shpassed with 12 checks skipped and not run (no Docker or pipx here). CI runs them.make validatepasses: left to CIDeployed to the lab and confirmed working: the
kanshiprofile is onheimdall; the HA and calendar half deploys on converge after mergeDocs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code
https://claude.ai/code/session_01L2EweeobucQzJcXxXS27K6