Releases: SvenBunge/hs_modbusTCP_reader
V1.3: Bringing everything to 2024
Changes
Developed for HS Firmware v4.12
- Added
sleep1s
andsleep2s
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
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
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
- IP, Port and SlaveId could also dynamically changed during runtime
- Docu adjusted / improved
- First 1.0
v0.8.1: Library fix
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
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
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
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
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