Sdss-lvmecp

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 2

0.7.0

🚀 New

* Added a cache to the registers with default timeout 0.5 second.
* `Modbus.read_group()` calls `Modbus.get_all()` instead of reading individual registers sequentially. Since during a `status` all groups are read in quick succession, and with caching, this results in much faster status outputs.

✨ Improved

* Moved the logic to lock a connection while in use to `Modbus.connect()` and `disconnect()` from the context manager.

🔧 Fixed

* Use key `modbus` from configuration file to initialise a new `Modbus` instance when a configuration file path is passed.
* Fixed output of status flags with value zero.

0.6.0

🚀 Added

* [26](https://github.com/sdss/lvmecp/issues/26) Add heartbeat.

⚙️ Engineering

* Pinned `pymodbus` to 3.6.2 due to test errors in 3.11.

0.5.1

🔧 Fixed

* Fixed cases in which the modbus lock could remain locked.

0.5.0

🚀 New

* Added support for lights.
* Added support for O2 sensors.
* Added support for HVAC controller.

🔧 Fixed

* Additional improvments for dealing with PLC disconnections.

0.4.1

🔧 Fixed

* Attempt at fixing sporadic failures to read Modbus variable by introducing a retry loop.

⚙️ Engineering

* Lint using `ruff`.

0.4.0

🚀 New

* Complete rewrite with dome and door functionality.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.