Pysolarmanv5

Latest version: v3.0.2

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

Scan your dependencies

Page 1 of 2

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

2.4.0

Added

- Add [Sphinx/ReadTheDocs documentation](https://pysolarmanv5.readthedocs.io/)
- Add link to user-contributed list of supported data loggers/devices
[See GH issue 11](https://github.com/jmccrohan/pysolarmanv5/issues/11)
- Add solarman_scan utility
- Add error_correction mode
- Implement Modbus Function Codes 15 and 22:
write_multiple_coils()
masked_write_holding_register()
- Add optional Socket parameter

Changed

- Tidy up pysolarmanv5 namespace;
Move PySolarmanV5 class from pysolarmanv5.pysolarmanv5 to pysolarmanv5
- Changed constructor parameters from int to bool where appropriate;
Maintains backwards compatibility
- Properly implement Logging. Old verbose parameter marked as deprecated

Fixed

- Fix LICENSE typo in setup.py
- Remove erroneous kwargs from write_holding_register()

2.3.0

Changed

- Improve V5 Frame documentation

Fixed

- Removed erroneous shebang on pysolarmanv5.py
- Fix traceback with write_holding_register() (See GH issue 2)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.