My Python script I use to pull data off and to control the Y&H inverters via serial modbus is slowly becoming more universal as I'm expecting some Modbus utility power meters to arrive and I'd like to use it for that too. But before I spend time rewriting it again I thought to ask if there is some better universal open source software capable of bridging the Modbus serial - MQTT gap on a normal PC/raspberry pi (so not ESP32)?
I'd like this software to be able to fetch from Modbus registers via serial, process the data in a configured way (for example divide by 10 and convert to float, or do other arbitrary math transforms). Also I'd like it to subscribe to MQTT topics and write to Modbus registers based on messages coming from MQTT. Support for multiple devices on one port and ability to generate Home Assistant autodiscovery mesasges for all these would be a huge bonus.
If anyone knows something like this please let me know.
I'd like this software to be able to fetch from Modbus registers via serial, process the data in a configured way (for example divide by 10 and convert to float, or do other arbitrary math transforms). Also I'd like it to subscribe to MQTT topics and write to Modbus registers based on messages coming from MQTT. Support for multiple devices on one port and ability to generate Home Assistant autodiscovery mesasges for all these would be a huge bonus.
If anyone knows something like this please let me know.