From a4c195ab31d54fefcbdec923eb4f97e0a9d7dbb7 Mon Sep 17 00:00:00 2001 From: Fredrik Ahlgren Date: Thu, 30 Jul 2026 10:58:06 +0200 Subject: [PATCH] chore(drivers): move the bundled pin to device-drivers@76c968bd Closes #713. The bundled snapshot is what a gateway runs when it boots offline, so a fix that lands upstream does not reach those gateways until the pin moves. Pin moves a4d0205 -> 76c968b. One bundled driver changes: sungrow 1.5.6 -> 1.5.7, which stops rewriting the EMS control block (13049-13051) once the inverter has refused it three times. An SG string inverter rejects every write there, and the driver retried three at startup and three more on every watchdog tick, logging a failed self-consumption reset once per tick for the life of the session. The upstream fix keys on whether the device took the write rather than on the model family, which matters here: a hybrid shipped under a device-type code the driver has not been taught classifies as "string", and gating on the label would leave exactly that inverter forced with nothing writing mode 0 back. A device that refuses the write cannot be holding a forced state, so there is nothing to release. Generated by scripts/sync-bundled-drivers.sh; nothing edited by hand. scripts/sync-bundled-drivers.sh --behind now reports the pin current. Co-authored-by: Claude Opus 5 --- .changeset/bundled-pin-sungrow-ems-refusal.md | 9 +++++++++ drivers/BUNDLED_SOURCE.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .changeset/bundled-pin-sungrow-ems-refusal.md diff --git a/.changeset/bundled-pin-sungrow-ems-refusal.md b/.changeset/bundled-pin-sungrow-ems-refusal.md new file mode 100644 index 00000000..9858469f --- /dev/null +++ b/.changeset/bundled-pin-sungrow-ems-refusal.md @@ -0,0 +1,9 @@ +--- +"ftw": patch +--- + +Move the bundled-driver pin to device-drivers@76c968bd. A gateway booting +offline no longer retries the Sungrow EMS control block on an inverter that +has already refused it — an SG string inverter logged a failed +self-consumption reset once per watchdog tick for the life of the session. +Sungrow is the only bundled driver the move changes (1.5.6 → 1.5.7). diff --git a/drivers/BUNDLED_SOURCE.json b/drivers/BUNDLED_SOURCE.json index 828fd4a0..8f037b75 100644 --- a/drivers/BUNDLED_SOURCE.json +++ b/drivers/BUNDLED_SOURCE.json @@ -17,7 +17,7 @@ "for coverage. Run scripts/sync-bundled-drivers.sh to update." ], "repository": "srcfl/device-drivers", - "commit": "a4d0205d5f4439f0994b2b708a4d69a7a0c20023", + "commit": "76c968bd888193cc9362da951ec9bcca7488b256", "source_dir": "drivers/lua", "drivers": [ "ambibox_v2x", "ctek", "ctek_hybrid", "ctek_v2", "deye", "easee_cloud",