Skip to content

0.28.0

Choose a tag to compare

@darkrain-nl darkrain-nl released this 13 Nov 12:41
· 41 commits to main since this release
4827b5b

A silent inverter or battery tower can now be told apart from a dead link by type.

Added

  • SilentError, a ModbusTimeoutError, with InverterSilentError and BatteryTowerSilentError under it. Existing except ModbusTimeoutError handlers still catch them.
  • A timeout before anything answered, with the link still open, raises InverterSilentError from the polls, setup and async_detect. A closed link still raises the plain ModbusTimeoutError.
  • raise_when_silent on async_update_readings, async_update_settings, async_update and async_update_packs. It also raises when every component failed with a timeout or a gateway target error, and when the battery tower is silent. Without it the polls behave as before.

Fixed

  • async_update_packs on an inverter without a battery tower reports a no battery tower failure instead of an empty report.

Hardware-verified on a 4.4 KTLX-G3 through a proxy that swallows requests or answers with exception 0x0B; the tower path is not hardware-verified. PR #94.