This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
v0.7.0
Added
- Another register whitelist and check in the
WriteHoldingRegisterRequest
PDU as another layer of checks
to not inadvertently write to unsafe registers. Add a test to ensure the allow list stays in sync with
the register definitions frommodel.register_banks.HoldingRegister
. - A bunch of convenience methods to write data to the inverter without needing any knowledge of registers.
Seeclient.GivEnergyClient
which has a number ofset_*
methods.
Changed
- Split out the end-user client functionality from the Modbus client - they were getting too entangled
unnecessarily. Updated example code in README for reference. - Renamed
target_soc
tobattery_target_soc
instead.