Skip to content

feat(wall): gandalf and eero tiles, the speed test, no dogs, a quieter footer - #1732

Merged
Gerrrt merged 2 commits into
mainfrom
wall-updates
Nov 24, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
wall-updates

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 24, 2026

Copy link
Copy Markdown
Owner

What changed

The office wall page (stacks/sensitive/wall/, ADR-0119) after a card-by-card review:

  • Elysian: ten tiles, five to a row. gandalf joins by CPU, and the eero mesh is one tile, how many access points answer their ping (/api/q/eero).
  • Internet: the big figures are now speedtest-tracker's last result (down, up, ping) and how long ago it ran (/api/q/speedtest, /api/q/speedtest_at). The WAN port's live traffic is the line and sparkline beneath. Amber under internet.rules.yaml's 400/100 Mbit/s bars or when the test is over 90 min old. /api/q/rtt is removed.
  • Dogs: the context card, /api/ha/dogs and wall_dogs.yaml are removed (its two buttons and two intervals go with it).
  • Home row: office lights removed, with binary_sensor.wall_office_lights. New /api/ha/house_empty (input_boolean.house_empty) shows "House empty" only while on. The thermostat shows its target and mode ("69° · 41% · heating to 70°", "away"). The Litter-Robot always shows. A crowded row shortens quiet items before warnings.
  • Status bar: names only sources that have fallen behind; otherwise "all sources live".

Why

The operator's review: the 8 tiles missed gandalf; the Internet card read like a speed test but was live traffic, while speedtest-tracker's results were already in Prometheus; the dogs card wasn't useful; the Home row could carry more; and the footer's ages weren't self-explanatory.

Blast radius

trinity's Caddy (wall.matrix.elysium only) and Home Assistant's packages on trinity. If wrong, the wall shows — or a red footer item; nothing else reads these handles. Removing wall_dogs.yaml deletes input_button.dogs_walked/dogs_fed and the two input_number intervals from HA.

New readable answers without a login, for anything that reaches trinity:443: which eero units answer ping, the last speed test, and whether the house is empty (one boolean, never whose). docs/security.md records this.

  • 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.yaml

Verification

  • python scripts/check_docs.py: docs OK.

  • ./scripts/lint.sh: passed, with 11 skipped (no Docker on this Windows host: markdownlint, shellcheck, actionlint, zizmor, packer, tofu, ansible-lint, editorconfig-checker). caddy validate was not run locally; CI's pinned binary covers it.

  • make validate was not run.

  • Local preview at 1920×1080 against a stub server answering every /api/q/* and /api/ha/* handle, in three states: normal (all sources live, 10 tiles fit, no truncated names), busy (eero 7/8 amber, slow and 2 h old test amber, house empty, doors open still named, thermostat compacted to "69° → 70°", Litter-Robot needs in amber), and no speed-test answer (heroes —, amber line, red footer item). No console errors.

  • Not yet checked against real Prometheus: the speedtest_at subquery. After deploy: curl https://wall.matrix.elysium/api/q/speedtest_at, /api/q/speedtest, /api/q/eero, /api/ha/house_empty, and /api/ha/dogs must 404.

  • make validate passes

  • Deployed to the lab and confirmed working

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

…r footer

After a card-by-card review of the office wall:

- Elysian: ten tiles, five to a row. gandalf by CPU, and the eero mesh as
  one tile counting the access points that answer their ping.
- Internet: the heroes are speedtest-tracker's last result and its age
  (/api/q/speedtest, /api/q/speedtest_at); the WAN port's traffic is the
  line and sparkline beneath. /api/q/rtt is gone.
- Dogs: the card, its handle and wall_dogs.yaml are removed.
- Home: office lights removed (and their template entity); "House empty"
  from presence.yaml; the thermostat's target and mode; the Litter-Robot
  always shown. A crowded row shortens quiet items before warnings.
- Status bar: names only sources that have fallen behind.

Docs: the sensitive README's wall section, the packages README,
security.md's counts and what the page exposes, and a changelog entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 24, 2026 22:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved monitoring issues misreport failed or newly completed WAN tests and can falsely show full mesh health when an access-point probe is missing.

3 open issues
What changed in this PR

Updates the office wall dashboard with more infrastructure coverage, clearer Internet measurements, and a quieter household display. The changes span the static page, Caddy’s fixed API routes, and Home Assistant packages.

Changes:

  • Expands the host grid to ten tiles, adding gandalf and the eero mesh.
  • Replaces headline WAN traffic figures with the latest speed-test results and age, retaining live traffic underneath.
  • Removes dogs and office-light displays, adds house-empty status, expands thermostat and litter information, and shows only delayed sources in the footer.
File Description
stacks/​sensitive/​wall/​wall.js Updates data requests, tiles, Internet figures, Home row, and footer rendering.
stacks/​sensitive/​wall/​wall.css Fits five tiles per row and styles speed-test warnings and live traffic.
stacks/​sensitive/​wall/​index.html Adds speed-test fields and a separate live-traffic line.
stacks/​sensitive/​README.md Documents the revised dashboard behavior and API handles.
stacks/​sensitive/​home-assistant/​packages/​wall_house.yaml Removes the office-light sensor and updates package comments.
stacks/​sensitive/​home-assistant/​packages/​wall_dogs.yaml Deletes the dogs sensor, buttons, and interval helpers.
stacks/​sensitive/​home-assistant/​packages/​README.md Updates the package inventory for removed household features.
stacks/​sensitive/​Caddyfile Adds speed-test, eero, and house-empty routes; removes replaced routes.
docs/​security.md Updates the documented unauthenticated data exposure and endpoint counts.
docs/​changelog.md Records the dashboard changes and pending deployment.

Review effort: Balanced

Comment thread stacks/sensitive/Caddyfile Resolved
Comment thread stacks/sensitive/Caddyfile Resolved
Comment thread stacks/sensitive/wall/wall.js Resolved
…eero scrapes

From review on #1732:

- /api/q/speedtest also asks speedtest_tracker_result_id: a failed test
  exports only that, with status="failed", so without it the page could
  not say "last test failed".
- /api/q/speedtest_at falls back to the minute the result id first
  appeared when it has not changed in three hours but appeared inside the
  window, so a first result after a fresh tracker is not "no test in 3 h".
- /api/q/eero reads up as well as probe_success, and the tile counts every
  configured target, so a probe whose scrape failed counts against the
  mesh instead of leaving the total.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt enabled auto-merge (squash) November 24, 2026 23:00
@Gerrrt
Gerrrt merged commit e6b0f38 into main Nov 24, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the wall-updates branch November 24, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants