Skip to content

v0.9.23

Choose a tag to compare

@btli btli released this 02 Mar 23:58
· 58 commits to main since this release
11fbe40

Fixes

Modbus auto-reconnect in combined read path (HYBRID mode)

The combined input-register read path (read_all_input_data) bypassed _read_register_groups and its consecutive-error reconnect check entirely. A dropped TCP connection accumulated _consecutive_errors but never triggered _reconnect(), leaving Modbus-only sensors permanently unavailable until HA was restarted. Added override matching the existing read_battery() pattern.

Energy data corruption detection (InverterEnergyData.is_corrupt())

Previously a no-op stub returning False. Now checks all lifetime energy counters against a 999,999 kWh absolute ceiling to catch 32-bit high-word register corruption on the very first refresh before monotonicity has a prior baseline.

First-refresh energy baseline handling

Clarified that when _transport_energy is None (first refresh) there is no prior baseline for monotonicity, so energy_valid is unconditionally True. Improved corrupt energy log message.