Repository navigation
0.30.0
Groundwork for 1.0.0: the library now promises only what can be tested on real hardware, and says which names that covers.
Breaking
SofarLegacyInverterand the legacy register map are removed. The map was never verified on an older inverter and is known to be off against the G1 spec. Owners of an older inverter are invited to help bring it back:script/query.py <address> --legacyreads the serial number and raw register blocks to share in an issue. PR #97.InverterType.AC,MICandDCBare removed, along with their module-level aliases insofar_modbus.variants. Nothing read them. PR #97.LinkTuneris private and itsrestore()is gone.inverter.link_tuningandinverter.link_statsare unchanged. PR #97.
Changed
- The register map moves out of
sofar_modbus.modernintosofar_modbus, and every public name is exported from the package itself.sofar_modbus.modernkeeps thin re-exports for the names in use today and will be removed before 1.0. PR #97. - The README has a Public API section: everything in
sofar_modbus.__all__plussofar_modbus.tuning. Other submodules and underscored names are internal. PR #98. - The package carries the
Development Status :: 5 - Production/StableandTyping :: Typedclassifiers. PR #98.
No behaviour change for modern inverters; the library snapshots are unchanged. PRs #97 and #98.