Skip to content

lvmecp 0.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jan 23:39
· 25 commits to main since this release

πŸš€ 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.