Skip to content

0.29.0

Choose a tag to compare

@darkrain-nl darkrain-nl released this 14 Nov 08:06
· 25 commits to main since this release
7fb446a

A silent inverter or battery tower always raises its own error, and the library's lookups are explicit.

Changed

  • async_update_readings, async_update_settings, async_update, async_update_packs and async_ensure_setup no longer take raise_when_silent. On an open link they always raise InverterSilentError or BatteryTowerSilentError when the inverter or tower is silent, including a gateway that answers with a target failure for every component. async_detect still raises a gateway's GatewayTargetError as is. PR #96.
  • A silent battery tower on a closed link raises ModbusTimeoutError with the failure as its cause, as the inverter polls already did. PR #96.
  • PvString and BatteryString no longer have component_name, and BatteryPack.async_select() and LinkTuner.observe_failure() take no arguments. PR #92.

Fixed

  • Any refusal (exception 1, 2 or 3) to the EPS or fault-log probe counts as absence. An inverter answering the EPS probe with exception 3 used to fail setup on every try. PR #92.

Internal

  • Components, fault registers and register addresses are named explicitly instead of looked up by string, and pack selection is decoded in one place on BatteryPack. PR #92.

Hardware-verified on a 4.4 KTLX-G3 through a proxy that forwards, swallows requests or answers with exception 0x0B. The pack changes were verified on a 3-group BTS tower by @rzirzi, who also contributed the ESI-10K-T1 replay fixture. Thanks!