Skip to content

feat(home-assistant): eero status from DHCP renewals, and the eeros at their reservations - #1232

Merged
Gerrrt merged 2 commits into
mainfrom
gerrrt/ha-eero-status
Oct 21, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
gerrrt/ha-eero-status

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Oct 21, 2026

Copy link
Copy Markdown
Owner

What changed

  • network.md: the eight eero rows now carry their Kea reservations (Hicks .11–.13, Skids .11–.13, Degens .11–.12), the Skids note lists the reserved addresses, and the floor names match the house: main floor, and basement.
  • packages/eero.yaml: one connectivity sensor per unit from its DHCP renewals in Loki, plus an alert when a unit hasn't renewed in two hours.
  • The alert script shared with thermostat.yaml is renamed household_alert.

Why

Refs #1228. The eeros were on pool leases, and network.md listed addresses they no longer held. With reservations, an address identifies a unit, so Home Assistant can watch each eero without an eero API or a firewall rule. ADR-0019 declined the cloud integration.

Blast radius

trinity's Home Assistant, and docs. The sensors read Loki with the reader token Home Assistant already uses. The rename touches only thermostat.yaml's two references, and its automation keeps working.

  • 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

  • The reservations, from the lease lines in Loki: all eight reserved addresses were allocated to eero-prefixed MACs by 00:05 on 2026-10-21. The package's query, run live from the Home Assistant container, returns exactly those eight addresses.

  • check_config from the pinned image: Successful config (all), listing the eight eero_* sensors, eero_offline and household_alert.

  • yamllint, lint.sh (4 skipped as not installed) and check_docs.py pass.

  • make validate passes (the parts above; CI runs the full set)

  • Deployed to the lab and confirmed working (restart Home Assistant only after merge)

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

🤖 Generated with Claude Code

…t their reservations

All eight eero units held pool leases, and network.md's rows for them
were stale. Kea reservations below each pool went in on 2026-10-20, and
every unit had moved by 00:05 (read from the lease lines in Loki). The
rows now carry the reserved addresses. Each address was matched to its
row by vendor prefix, with the household naming the floors the prefix
could not tell apart, and the Skids rows are relabelled in address
order. The Skids note lists the reservations.

network.md's floor names are corrected to the house's own: the main
floor (said "Upper floor") and the basement (said "Lower floor").

packages/eero.yaml: one Loki query, renewals in the last two hours by
reserved address, behind eight connectivity sensors, plus an alert when
one turns off. The alert script shared with thermostat.yaml is renamed
household_alert.

Refs #1228

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 21, 2026 02:10

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

The current network diagram must be updated to match the reservations, with its PNG regenerated.

1 open issue
What changed in this PR

Adds Home Assistant monitoring for eight eero units using existing DHCP logs, without cloud integration or new firewall rules.

Changes:

  • Adds connectivity sensors and two-hour renewal alerts.
  • Renames the shared notification script to household_alert.
  • Documents reserved addresses and corrects floor names.
File Description
stacks/​sensitive/​home-assistant/​packages/​thermostat.yaml Renames the shared alert script and its caller.
stacks/​sensitive/​home-assistant/​packages/​README.md Documents the eero package.
stacks/​sensitive/​home-assistant/​packages/​eero.yaml Adds Loki-backed connectivity sensors and alerts.
docs/​network.md Updates reservations and floor names.
docs/​changelog.md Records monitoring and documentation changes.

Review effort: Balanced

Comment thread docs/network.md Resolved
The diagram still showed the eeros' old pool leases (Hicks .104 .110
.111, Skids .101-.103, Degens .10 .101). They now read .11-.13, .11-.13
and .11 .12, matching network.md and the Kea reservations. The PNG is
re-rendered, and the three cards were checked visually.

Refs #1228

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit 885fc33 into main Oct 21, 2026
8 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/ha-eero-status branch October 21, 2026 02:29
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