Skip to content

sync: pull live-tested drivers from forty-two-watts#6

Open
frahlg wants to merge 1 commit into
mainfrom
sync-from-42w-2026-05-19
Open

sync: pull live-tested drivers from forty-two-watts#6
frahlg wants to merge 1 commit into
mainfrom
sync-from-42w-2026-05-19

Conversation

@frahlg
Copy link
Copy Markdown
Member

@frahlg frahlg commented May 19, 2026

Summary

Four drivers had drift between this repo and the forty-two-watts bundled tree where they're actually run against hardware. This PR picks the 42W copies as the source of truth and regenerates manifest.json.

Driver Why
easee_cloud.lua 1Φ↔3Φ auto-switching + driver-side improvements (frahlg/forty-two-watts#207). Also gets a sign-convention comment block the verifier requires.
ferroamp.lua stale-cache fix (frahlg/forty-two-watts#234) and a clean MQTT-release on driver cleanup so reload doesn't leave a duplicate client.
pixii.lua control fix that stops self-flap when the site-meter driver IS a battery, plus reactive-load diagnostics.
tesla_vehicle.lua BLE rate-limit backoff + wake-on-edge so the vehicle wakes when the wallbox starts delivering. Sign-convention comment added.

Caught during end-to-end testing of the upcoming forty-two-watts device-repository client: the client's hash check would have refused to install any of these on a live Pi because the published sha256 no longer matches what 42W ships. Sync brings the manifest back in line with the production-tested versions.

Test plan

  • go run ./cmd/driverrepo -write-manifest succeeds (manifest regenerated)
  • go run ./cmd/driverrepo -verify passes locally (sign-convention checks satisfied)
  • CI `verify.yml` green on the PR
  • After merge: forty-two-watts catalog rendering re-fetched against `main` shows hash match for all four drivers

User explicitly authorized this PR in the brainstorming session (Swedish "Jag pushar PR mot srcfl/hugin-drivers" then "ja kör").

🤖 Generated with Claude Code

Four drivers had drift between this repo and the forty-two-watts
bundled tree where they're actually run against hardware. Picks the
42W copies as the source of truth and regenerates manifest.json.

- easee_cloud.lua: 1Φ↔3Φ auto-switching + driver-side improvements
  from PR #207 in forty-two-watts. Also gets the sign-convention
  comment block the verifier requires (EV charger is a one-way load
  in site convention).

- ferroamp.lua: stale-cache fix (#234) and a clean MQTT-release on
  driver cleanup so reload doesn't leave a duplicate client.

- pixii.lua: control fix that stops self-flap when the site-meter
  driver IS a battery, plus reactive-load diagnostics (per-phase VA
  + VAR sentinel-guarded).

- tesla_vehicle.lua: BLE rate-limit backoff to let the radio recover,
  + wake-on-edge so the vehicle wakes when the wallbox starts
  delivering. Sign-convention comment added (read-only — Vehicle
  metadata only, no power channel).

Verified locally with go run ./cmd/driverrepo -verify.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant