Well it is not exactly a home user’s issue, but hey, professional environments use Home Assistant, too!
So the point is, we have a Vemer ADR-R energy meter (or energy analyzer) in our business, and we wanted to integrate its readings in Homeassistant.
Vemer sells a PC software called ADR-View for getting the readings, but it is not very usable, you can’t have a pc always connected to the meter. However, they provide full documentation upon request, to integrate the meter in any SCADA system through a Modbus RS485 interface.
That’s it! I decided to go with an ESP32 and an RS485 module, and flash the ESP32 with ESPHome, which provides all the necessary functionality to connect to HomeAssistant and get the values, from the meter’s RS485 interface!
So anyone that has such meter, (or maybe other Vemer branded energy meter), you may find the code on my github page.