Many people in Ukraine run a Deye hybrid inverter with a battery, and the vendor’s cloud is not always what they want. An ESP32 can read the same data locally and send it to your own dashboard.
Two ways in
- RS485 and Modbus: connect a TTL-to-RS485 module to the inverter’s RS485 port and read the registers over Modbus RTU. ESPHome has a Modbus controller component for this.
- The Wi-Fi logger: many units use a Solarman stick that exposes a local network port. Some projects read it directly, which avoids wiring but depends on the stick’s protocol.
What you need to know first
Register addresses and the serial settings depend on the model and the firmware version. Get the Modbus protocol document for your exact inverter from the supplier. Do not copy register numbers from a forum post for another model.
Keep it read-only
Read power, battery state of charge, voltage and grid status. Do not write registers until you fully understand them: a wrong value can change inverter behaviour. A monitor never needs to write.
Safety
Use only the intended low-voltage communication port and never open the inverter. The battery side carries very high current, and it is not a place to experiment.
What to do with the data
Publish it over MQTT or the ESPHome API, build a dashboard, and send yourself a message when the battery falls under a level or the grid disappears.
The Deye monitor idea lists the parts. I have not tested this on a live inverter, so compare the first readings with the inverter screen.
Comments
No comments yet. Share your experience or ask a question.