v3.4.0-beta.25
Pre-release
Pre-release
Requires pylxpweb 0.9.36b27 (installed automatically) — the pin bump also delivers b26's Fast-mode improvement below.
Fixed
- Grid Peak Shaving Power fully working across all modes (#329 + pylxpweb #214, closes #328): the number entity blanked to unknown in LOCAL/HYBRID because the local register map deliberately excluded the register while its raw encoding was unverified. @DoubleDoc's hardware write test (pylxpweb #158) plus a live cloud write/readback correlation settled it: register 206 is 0.1 kW units. The whole Peak Shaving family (PS1/PS2 power, SOC and voltage setpoints) is now mapped for local reads with cloud-identical values, and the power setpoint writes directly over Modbus/dongle when a local transport is attached.
- Writing the setpoint with Peak Shaving mode disabled now raises a clear error instead of a cryptic timeout — live testing confirmed the firmware rejects the write (and zeroes the setpoint) while the mode is off. The pre-check does a live single-register confirmation when the cached state says off, so enabling the mode on the EG4 portal is honored immediately, not after the hourly parameter cycle.
Improved
- Fast block-size mode: proven-capable transports never permanently degrade (pylxpweb #212 / 0.9.36b26, from @ivanfmartinez's suggestion on #320): once a transport has completed a >40-register coalesced read, any later failure is treated as transient with the ~5-minute cooldown re-probe. Two new DEBUG lines make the Fast-mode lifecycle explicit.
Validated on the docker hybrid rig: PS numbers read real values (previously unknown), mode-off write correctly raises the friendly validation error via the live-confirmation path, clean startup. 1932 tests.