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
Commit 34009be
Browse filesBrowse the repository at this point in the historyBrowse files
Fix Work Mode select/switch bit conflicts and rename discharge slots
The Work Mode select options each conflicted with their own bit, never
cleared the Timed Charge bit, and left stale mode bits from the
previous mode - so plain modes couldn't turn TOU off and cross-mode
transitions could write invalid combos the firmware rejects, which
reads back as controls bouncing off on the next poll. Each option now
clears exactly the other mode bits it is incompatible with per the
official Appendix 8 map.
Mode - Timed Charge gains conflicts_with [2, 11]: toggling it from
Off-Grid or Peak Shaving force-sets the fallback Self-Use bit, which
those modes forbid - the firmware rejected the combo and the switch
bounced off.
The select's bit-position branch now pushes its state after a write
(the on_value branch already did).
Also renames the six discharge slots that were mislabelled as
"Timed Charge ... 7-12" to "Timed Discharge ... 1-6" (enable switches,
start/end times, SOC/current/voltage numbers). Names only; unique_ids
are register-derived so nothing migrates.
0 commit comments