Pysolarmanv5

Latest version: v3.0.4

Safety actively analyzes 685838 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.0.4

Changed

- lower async reconnect exception log level to debug - Thanks davidrapan
- Various code cleanups (black, lint)
- Added build and twine to requirements-dev

Fixed

- Add v3.0.3 release date to CHANGELOG.md (released version dated as UNRELEASED)

3.0.3

Added

- Workaround for inverter/data loggers with double CRC bug - Thanks to
githubDante and davidrapan for help in getting to the bottom of this issue.
This should enable support for devices that were previously supported by the
old native parser in [StephanJoubert/home_assistant_solarman](https://github.com/StephanJoubert/home_assistant_solarman)
HA integration (DEYE + possibly others?). See [GH issue 62](https://github.com/jmccrohan/pysolarmanv5/issues/62)
for more info.
- Standalone solarman V5 frame decoder added by githubDante. See [GH PR 63](https://github.com/jmccrohan/pysolarmanv5/pull/63)
for more info.
- Various error handling and disconnection fixes added by davidrapan. See [GH PR 61](https://github.com/jmccrohan/pysolarmanv5/pull/61)
for more info.
- Added githubDante as a project collaborator (push/write permissions on Github)

Fixed

- Apply proper light/dark theming to the packetdiag diagrams on Solarman V5
protocol docs (no more universal grey!)

3.0.2

Added

- Enhanced V5 frame validation - Thanks to githubDante and Dummy0815 for the
PR
This should resolve the issues with Deye microinverters and external AC
relays.
See [GH PR 46](https://github.com/jmccrohan/pysolarmanv5/pull/46) and
[GH PR 47](https://github.com/jmccrohan/pysolarmanv5/pull/47) for more info.
- Enhanced socket error handling - Thanks to sofkaski for the PR.
See [GH PR 52](https://github.com/jmccrohan/pysolarmanv5/pull/52) for more info.

Fixed

- Assorted linter fixes. Thanks to sofkaski for taking the time to resolve these.
See [GH PR 54](https://github.com/jmccrohan/pysolarmanv5/pull/54) for more info.

3.0.1

Fixed

- Handle connection resets in sync library (already handled by async library).
Thanks to jlopez77 and githubDante. See [GH issue 44](https://github.com/jmccrohan/pysolarmanv5/issues/44)

3.0.0

Fixed

- MAJOR VERSION BUMP - v3.0.0

v2.5.0 inadvertently introduced a breaking change and has been withdrawn.

The breakage was introduced by [GH PR 33](https://github.com/jmccrohan/pysolarmanv5/pull/33)
which moves the PySolarmanV5 socket communications to a worker thread. While
this is a major improvement over the previous method, it requires that the
disconnect() method is called to close the socket.

Prior to this, the socket was implicitly closed when the PySolarmanV5 object
was deferenced. Many dependent applications re-instantiate a new object for
each poll. These applications will need to either remain on v2.4.0, or
upgrade to v3.0.0 and ensure disconnect() is called to close the connection
cleanly.

Many thanks to connesha for highlighting this breaking change in [GH issue 39](https://github.com/jmccrohan/pysolarmanv5/issues/39)
- Restore Windows compatibility which was broken in v2.5.0 [GH PR38](https://github.com/jmccrohan/pysolarmanv5/pull/38)

2.5.0

Added

- async support (PySolarmanV5Aync) added by githubDante in [GH PR28](https://github.com/jmccrohan/pysolarmanv5/pull/28)
- Introduce sequence number on outgoing V5 request frames
Enhance V5 frame validation to compare received checksum to expected value
Many thanks to Michael Zanetti (mzanetti) for [highlighting this](https://github.com/jmccrohan/pysolarmanv5/issues/17).
- Added mock SolarmanV5 Server tests (thanks githubDante)

Changed

- Improved PySolarmanV5 socket/connection reliability (again, thanks githubDante)
- Migrate from setup.py to pyproject.toml
- Revamp Makefile and add venv support

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.