Skip to content

Releases: SvenBunge/hs_modbusTCP_reader

V1.3: Bringing everything to 2024

04 Feb 19:00
Compare
Choose a tag to compare

Changes

Developed for HS Firmware v4.12

  • Added sleep1s and sleep2s special options to wait 1 / 2s between the reads - some inverters like Huawai like it more calm.
  • Improved documentation incl. best practices error search
  • Generated hs4-Stubs with newer "Schnittstellenbeschreibung" of GIRA
    • Switched to hs4 interval
    • On HS startup the initialisation of this module is better sequenced as before by GIRA firmware
  • Fixes #1 : Write to output only if the queue of the HS is not full
  • Refer more to used libraries

Full Changelog: v1.2...v1.3

v1.2: Start with new client object

09 Feb 07:33
Compare
Choose a tag to compare

If an error occur our the LBS runs without KeepAlive-Option the connection is not only closed, also the client-object is not reused. To prevent state issues that we saw in the wild.

Its important to remove NoKeepAlive as an option. This is threated as KeepAlive since we changed this behavior!

v1.1: Catch exceptions in the daily business

10 Jan 20:24
Compare
Choose a tag to compare

Sometimes between homeserver and device something went wrong. An exception occurs at points where noone expect them. Now we wrap everything in an catch-everything block to get simple exceptions and "eat" them silently.

But when the debug mode is getting activated the exception will be thrown to get the stack trace.

v1.0: No Beta

01 Jan 22:11
Compare
Choose a tag to compare
  • IP, Port and SlaveId could also dynamically changed during runtime
  • Docu adjusted / improved
  • First 1.0

v0.8.1: Library fix

07 Nov 07:38
Compare
Choose a tag to compare

Changes

  • Internal changes: Six wird nun als reguläre Library eingebunden
  • Internal changes: serial library wurde hinzugefügt um sauber in den Abhängigkeiten zu sein.

v0.8.0: Fix discrete Registers

27 Oct 19:37
Compare
Choose a tag to compare

Main changes

  • Fix discrete registers
  • In newer versions also coil register reading was broken due added debug information
  • NoKeepAlive between intervals is the new default. To enable KeepAlive set the option parameter
  • Smaller adjustments

v0.7.1: Close connection before wait

07 Oct 18:22
Compare
Choose a tag to compare

When using the special ops ReconnectAfterEachRead and sleep500ms (or 100) the module will close the connection before it will wait for the next request. Could help if the modbus server allows only one connection at same time.

v0.7.0: Bugfixes and Improvements

02 Oct 19:11
Compare
Choose a tag to compare

New public release

Attention: Added new input -- all inputs regarding registers are shiftet by 1

Changes

  • Added Sleep500ms
  • Added Debug switch input to select one LBS installation to debug
  • Log raw input instead of shiftet value to debug page
  • Fixed coil readings
  • Refactorings

v0.5.5

29 Jan 06:54
Compare
Choose a tag to compare

Release to improve compatibility with broken Modbus devices. Some features are enabled by default (auto-retry on invalid / empty results), some must be enabled manually when you see unpredictable errors in the debug settings.

  • Rename Module - use 'reader' instead of 'fetcher'
    Will raise a warning message on next import in Experte mentioning a module with same ID already exists. Still accept this, will take over all wires / connections in the logic editor.
  • Catch ConnectionException in case of connection issues. Now reconnecting after issue occurred
  • Add option to sleep 100ms between every catch for slower devices (see documentation)
  • Add option to reconnect after each read. (implemented for kind of stupid heatpump that closes the connection sometimes without any reason due reading) (see documentation)
  • Auto retry if a result is empty or invalid
  • Update pymodbus to 2.5.3
  • Update to six 1.16.0 for python 2.7 compatibility

v0.4.1

09 Aug 22:23
Compare
Choose a tag to compare
v0.4.1 Pre-release
Pre-release

Changelog

  • Added Offset input
  • Added 8 inputs for the register type: Now able to fetch Coil, Descrete and Input registers as well
  • Filter NULL bytes in Strings
  • Better Error handling
  • Update pymodbus library to 2.5.0