forked from andiburger/growatt2mqtt
-
-
Notifications
You must be signed in to change notification settings - Fork 19
V1.1.10 #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isolate bytes to avoid byte order problem
check is usb port a link
* 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.
Revert "Improve support of two rs485 inputs at once and single output transport"
add PV statistics for SRNE
Improve influxdb connection logic @jaredmauch implement influxdb backlog and reconnection logic 71e8304 @jaredmauch add protocol settinsg 79d9018 @jaredmauch influxdb docs
add few stats for srne and refactored
i'll have to finish this release on tuesday. out of time today. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Simulate Modbus from registry dumps for testing purposes.
9c2aa14
CAN bus simulator — introduced simulator for testing without hardware.
5ab463e, 84112b4
Add SRNE PV statistics and refactoring of related code.
b8c92b5, db0eabf @gorbyo
Add protocol alias script ppg.py for easier command-line access.
fedddd9
Add byte order suffixes (_LE / _BE) to data types for endian handling.
8d3e784, be2c3ea
Add InfluxDB transport & JSON file output transport Several medium sized improvements #92
71e8304, b6d7f19, 44db2f3 @jaredmauch
🛠 Fixes
Fix Traceback using a CH340 based rs485 to usb converter #104 — Specific bug resolved (details per linked issue).
e411507
fix some analyze_protocol bugs:
@jaredmauch
Pymodbus 3.7+ compatibility fixes.
e8be5e9 @jaredmauch
Fix pymodbus 3.8+ bug in client handling.
eb29873
Fix writing "codes" to registers.
8547284, db29e69
Fix config parser - get boolean and get float bug.
71aeef8, 4fcd48b
Fix proc bytes issues — bit flags / byte order.
a265a0c, 7e9175b, 44e031a, 392a126
Fix SN/Modbus base initialization.
1abcce6
Check if USB port is a symlink before use.
d2deb9a @gorbyo
📚 Documentation
Add a CSV tracking for protocols and devices — moved tracking to devices_and_protocols.csv for easier maintenance and updates.
799b57a, 52529c6, 82d7cfe
Updated README.md with new instructions and diagrams.
f6da551, 7bbb927, 6524bbf, f2d6d83, ca3fae1, 0cd3c00
Added flow diagram and write modes documentation.
83e627d, 7c2ce78, eb1febf
Instructions for external MQTT broker setup for Home Assistant.
c5cec39
Added pip.md, RELEASE.md, and documented docker & docker image installation methods
38c54b6, cf77f2b, 9a3ee28
Added pyproject.toml for PyPI packaging. - ppg is on PiPi now - https://pypi.org/project/python-protocol-gateway/
404c591, 0ec031b
Updated InfluxDB docs and protocol settings documentation.
5dc0ecf, 79d9018
##🧹 Refactoring / Cleanup
General cleaning and housekeeping across the project.
98be5ea, acb236b, e718041, 2ce4143, 435bae9, 5a6c8df
Github workflow permissions - security compliance
75de12f
Performance
8535bab