Skip to content

Conversation

HotNoob
Copy link
Owner

@HotNoob HotNoob commented Aug 11, 2025

just like with v1.1.9, lots of little fixes and features have been pilling up waiting for release!

We have several new additions from @jaredmauch

trying out gpt for these release notes... i've edited it a bunch; doesnt seem to save much time :S


🚀 Features

🛠 Fixes

📚 Documentation

##🧹 Refactoring / Cleanup

Performance

  • Reduced main loop delay for performance tuning.
    8535bab

HotNoob and others added 30 commits May 29, 2025 20:44
isolate bytes to avoid byte order problem
* add json output to ease testing
* add influxdb v1 support for ease of use with grafana
i think this should work... untested. pretty sure we can have both whole serial number and split.
- Fix AttributeError when accessing ModbusIOException.error_code in pymodbus 3.7+
- Simplify modbus transport compatibility to only support pymodbus 3.7+
- Remove unnecessary pymodbus 2.x compatibility code
- Fix client initialization order issues in modbus_rtu and modbus_tcp
- Add safety checks for addresses list initialization
- Update error handling to work with newer pymodbus exception structure

This resolves issues when analyze_protocol=true and improves compatibility
with modern pymodbus versions.
- Fix UnboundLocalError when ModbusIOException occurs during register reading
- Initialize register variable before try block to prevent undefined access
- Add safety checks for register.registers access when register is None
- Improve enable_write validation with exception handling and retry logic
- Add delay before validation to ensure device is ready during initialization
- Better error handling for validation failures during analyze_protocol mode

This resolves issues when analyze_protocol=true causes validation to fail
due to device not being ready or connection issues.
- Skip init_after_connect validation when analyze_protocol is enabled
- Prevents validation from running during analyze_protocol initialization
- Fixes timing issue where validation was called before client was fully ready
- Maintains normal validation behavior when analyze_protocol is false

This resolves the core issue where analyze_protocol=true caused validation
to fail due to premature execution during initialization.
@HotNoob
Copy link
Owner Author

HotNoob commented Aug 11, 2025

i'll have to finish this release on tuesday. out of time today.

@HotNoob HotNoob merged commit 8cb2048 into main Aug 13, 2025
8 checks passed
@HotNoob HotNoob deleted the v1.1.10 branch August 13, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Traceback using a CH340 based rs485 to usb converter
3 participants