You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
heishamon: reset the heat curve offset only after FTW wrote one #233
Reported by @Romaost on Discord, 17 Nov 2026. heishamon 0.8.0 on WH-SXC09H3E8.
driver_default_mode() and driver_cleanup() always publish safe_offset (default 0) to set/Z1_Heat_Request_Temp. Core calls driver_default_mode() at every start (go/internal/drivers/registry.go), on watchdog trips and on shutdown. An owner who sets the offset from Home Assistant loses it each time, even when FTW never commanded the pump.
Fix
The driver remembers whether FTW wrote an offset since it started (set in driver_command). driver_default_mode() and driver_cleanup() reset only then, and clear the mark. No new setting.
Roma also suggested control: false. Core's observe_only does that job for batteries, but its config check requires battery_capacity_wh, so it does not fit a heat pump. The mark covers Roma's case without a setting.
Known limit
After a Core crash the driver no longer knows that FTW wrote, so the pump keeps that offset. Today the only FTW writer is the operator's offset control on the heating card; no planner sends set_heat_curve_offset. So the value that stays is one the owner chose. Planned heat control will need the device-side lease from ADR 0012.
Test
A harness test that default mode and cleanup publish nothing before a command and publish safe_offset after one. Roma has offered a hardware check on WH-SXC09H3E8.
Activity
fix(drivers): bundle heishamon 0.8.1, an offset set elsewhere stays (#…
fix(heishamon): reset the offset only after FTW wrote one (0.8.1) (sr…