Skip to content

fix(homebridge): remove unearned verified badge, test Node 22/24, correct energy-streaming README text - #123

Merged
Bre77 merged 2 commits into
mainfrom
fm/hb-verify-truth
Aug 13, 2026
Merged

fix(homebridge): remove unearned verified badge, test Node 22/24, correct energy-streaming README text#123
Bre77 merged 2 commits into
mainfrom
fm/hb-verify-truth

Conversation

@Bre77

@Bre77 Bre77 commented Aug 13, 2026

Copy link
Copy Markdown
Member

Intent

  • The README displayed a "verified-by-homebridge" badge, but homebridge-teslemetry is not present in the official verified-plugins.json as of today.
    • Removed the badge rather than submit a verification application — that's a separate, outward-facing decision.
    • Assessment for whoever decides on applying: the plugin already meets most of the published verification criteria — it's a dynamic platform, has npm + GitHub repo/issues links, ships releases via changesets, declares a config.schema.json settings GUI, and catches/logs its stream and command errors. The one gap worth checking before applying is whether the engines.node range (>=18.0.0) should be tightened to reflect the versions actually tested in CI (see below).
  • CI only ran the shared workflow on a single pinned Node version (24), so the declared >=18 engines range in package.json was never actually verified.
    • Added a node-version: ["22", "24"] matrix to reusable-ci.yml (the repo's one shared CI workflow) so every PR runs lint/build/typecheck/test on both.
    • Manually confirmed homebridge-teslemetry's build and full test suite (156/156) pass on both Node 22.18.0 and Node 24.18.0 before opening this PR.
  • The README described energy sites as "periodic polling for status and power flow," but live_status (power flow, backup reserve, etc.) has been SSE-streamed for a while — only site_info is still polled. Corrected the text.
Full narrative / original brief

Resolve verification/discovery truth, validate Node 22/24, and correct the README's energy-streaming text for the Homebridge plugin. Verified each claim against current code and the live verified-plugins list before acting, since the source audit predated three merged PRs (#116, #118, #121).

… text, test Node 22/24

The verified-by-homebridge badge claimed a status the plugin doesn't
have on the official verified-plugins list. The README also still
described energy sites as periodically polled when live_status has
been SSE-streamed for a while; only site_info is polled. CI now runs
the full suite across a Node 22/24 matrix instead of Node 24 only.
@Bre77 Bre77 added the fm Opened by a Firstmate crewmate label Aug 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9718798a2c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .changeset/hb-readme-truth.md Outdated
@Bre77

Bre77 commented Aug 13, 2026

Copy link
Copy Markdown
Member Author

Fixed in bbdc19c — backup reserve is read from the polled siteInfo event (backup-reserve.ts), not live_status. Updated the changeset wording to match.

@Bre77
Bre77 merged commit 6a555ae into main Aug 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fm Opened by a Firstmate crewmate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant