Repository navigation
0.29.0
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_packsandasync_ensure_setupno longer takeraise_when_silent. On an open link they always raiseInverterSilentErrororBatteryTowerSilentErrorwhen the inverter or tower is silent, including a gateway that answers with a target failure for every component.async_detectstill raises a gateway'sGatewayTargetErroras is. PR #96.- A silent battery tower on a closed link raises
ModbusTimeoutErrorwith the failure as its cause, as the inverter polls already did. PR #96. PvStringandBatteryStringno longer havecomponent_name, andBatteryPack.async_select()andLinkTuner.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!