Releases: HotNoob/PythonProtocolGateway
Python Protocol Gateway V1.1.0
As by the title, you may notice that the project has been rebranded once again. this time should be the last rebranding / final title. to my current knowledge set, i believe this to be the best and most appropriate title to describe this project. while the main focus will be solar equipment, the project's focus on features will be maximized compatability with all solar AND industrial equipment. basically everything from your solar inverters to your car. Allowing for easier communication and automation without the need for specialized hardware.
Big changes, mainly rewriting the whole thing so that it can cleanly and easily accomodate future data streams, such as canbus, as well as significant added flexibility.
Because of theese significant changes and configs have to be completely rewritten.
The reason for the minor version increament is due to these changes. config wise there is no backwards compatability.
Do not update unless you are prepared to reconfigure / reinstall your setup :S
installation procedure is the same as before.
I've created two wikis to help document this more flexible way.
https://github.com/HotNoob/PythonProtocolGateway/wiki/Configuration-Examples#modbus-rtu-to-mqtt
https://github.com/HotNoob/PythonProtocolGateway/wiki/Transports
a transport is describing the device that you are connecting to and it's data.
All existing features remain to exist, but may be a bit buggy until i get back to them for testing.
In the future i will be testing and adding functionality for translating between all "transport" types.
ie, creating two transports, modbus rtu, and modbus tcp, will allow you to essentially create a modbus tcp server/gateway.
you can have multiple devices on one instance, but i recommend against it, and recommend using seperate configs / instances for the sake of stability. this is also currently untested :P
Full Changelog: v1.0.8...v1.1.0
InverterModBusToMQTT v1.0.8
What's Changed
add tcp / udp /tls protocol readers and settings
add hkdh 16ch ac protocol / device
add batch size setting to protocol
MASSIVE BUG FIX!!!
add write support and validation
- a bunch of small bug fixes
- quick fixes for sigineer protocol.
SOK modbus protocol is tested and working, but only for 1 address.
Sigineer protocol has also been tested.
Full Changelog: v1.0.7...v1.0.8
Massive upcoming changes for the next version.
Expect to have to rewrite your configuration files when updating.
InverterModBusToMQTT v1.0.7
What's Changed
Full Changelog: v1.0.5...v1.0.7
lots of small fixes.
fixed eg4 6400xp csv headers.
added csv header cleaning function
fixed a few small bugs
moved the modbus client to being dynamically loaded so other register like protocols can be added.
tested sigineer_v0.11 protocol. it is working but needs more work / cleaning of variable names
might still be alot of bugs in this release. v1.0.8 has some more important bug fixes coming.
InverterModBusToMQTT v1.0.5
What's Changed
added holding and input registry prefix option
added range reading in reverse. identified by "r" prefix
added regex validation for ASCII types, and range validation for other types
added registry scan save and load for quicker protocol analysis debug.
improved protocol analysis feature to include value ranges. csvs will need to be cleaned up for this to work well.
fixed ascii encoding
fix code to work on python 3.9
improve reliability
clean protocols some more
lots of small bug fixes
Full Changelog: v1.0.4...v1.0.5
InverterModBusToMQTT v1.0.4
What's Changed
main reason for the update: fixed a bunch of bugs releated to new bit reading features.
added sok/pace-bms modbus rs485 protocol - untested.
note this is not SOK's rs232 protocol ( PACE-RS232-TY16S ), pretty sure it's only running on the rs485 ports, so i have an adapter on the way to test it.
added range/concat ascii feature.
Full Changelog: v1.0.3...v1.0.4
should be able to test sigineer later this week, waiting for some parts.
InverterModBusToMQTT v1.0.3
Lots of Changes...
added ascii serial number reading. documentation for s/n might be wrong, so it could appear backwards for some inverters... just needs to be unique.
added eg4 protocol
cleaned up the Growatt V1.24 protocol a bit
added protocol analyzer feature - needs more work. u
added bit_flag data type for bit / binary flag handling.
added sub-byte data reading. ie, 1 bit, 2bit, 3bits ect...
added registry read optimization to reduce the number of registers read. potentially increasing refresh rate especially for larger protocols.
because of the serial number change. if you've setup / installed a previous version, you will have to remove the mqtt device from home assistant, and then run the updated version. so you don't end up with duplicate entires.
InverterModBusToMQTT v1.0.2
What's Changed
Added Growatt V1.24 protocol
Added mqtt reconnect handling
Increased modbus delay and added auto increase delay on error
Decreased startup time
tl;dr: increased stability and added new protocols
Full Changelog: v1.0.1...v1.0.2
InverterModBusToMQTT v1.0.1
Rebranded to InverterModBusToMQTT
Untested sigineer protocol added.
What's Changed
Full Changelog: v1.0.0...v1.0.1
Growatt2MQTT HotNoob Edition v1.0.0
v1.0.0
supports growatt protocol "v3.14"
data of documentation for this protocol is 2021.
it works on my brand new growatt inverter SPF 12000T, likely to work for growatt inverters from 2020-present.
more protocols or even other branded inverters can be added by simply creating csv files from documentation.
on the todo for the future:
- implement protocol "v1.24"
- auto-detect protocol feature