Hi,
currently, I am working on an open source software named modbus2mqtt.
It will be available as docker image and as integration to HA.
It works as follows:
Known modbus device
The user selects a modbus controller (USB RS485 stick) from a list
He/she selects a slave.
If there is a “known” device configured for this slave, it will be detected and can be used in Homeassistant without any further configuration (MQTT discovery).
The device is unknown to modbus2mqtt
The user configures an own specification for the device. This configuration will contain the mapping from modbus data to mqtt topics. It will contain the conversion rules and the mqtt discovery information.
Then, the user saves the specification can can immediately use the new device in HA.
Contribution of Specifications
If a user created a specification, it can be published to the community. In this case, it can be used by everyone in the Known modbus device scenario above. The contribution is an integrated process. It happens on github. However, all interactions except authentication is integrated into modbus2mqtt
I assume, the application will be available by end of june '24.
In the beginning, it will support the following devices:
- Dimplex Heatpump (based on PCO5)
- Deye Inverter sun-*-sg04lp3-eu
- Wasserstandsensor
- Hutschiendstromzähler Eastron SDM72D-M-2
Any other modbus devices can easily be added (as long as there is a documentation of the protocol)
If this is of interest, please reply to this post.