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 a9155a3
Browse filesBrowse the repository at this point in the historyBrowse files
feat(1P): add Time of Use Sell Mode switches (registers 274-279, bit 6)
Adds six "Time of Use N Sell Mode" switches for the single-phase inverter,
toggling the undocumented bit 6 (0x40) of the per-slot Time-of-Use control
registers 274-279 (hardware-validated; not in the V119 protocol). Implemented
as native modbus_controller bitmask switches, mirroring the existing Charge
Enable switches (bit 0); grid-charge (buy) and sell are mutually exclusive per
slot.
Also sets restore_mode: DISABLED on the Sell Mode and Charge Enable switches so
they no longer write registers 274-279 on boot: a modbus switch re-asserts its
restored state during setup(), and a bitmask write clobbers the whole register,
which wiped grid-charge/sell settings on every flash.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments