This page was generated from the source of RoboHub. Edit the source, not this page.
Hoymiles through OpenDTU
Hoymiles microinverters through OpenDTU
Hoymiles HM and HMS microinverters (an HMS-800W and its kind) speak a 2.4 GHz
radio protocol of their own; an OpenDTU — an ESP32
with an NRF24 or CMT2300A radio — talks to them and answers over Wi-Fi. RoboHub
reads the OpenDTU, not the inverters.
What is read
One GET /api/livedata/status, the total of every inverter the OpenDTU
polls — two 800 W microinverters are one figure:
| Signal | JSON path | Unit sent | Reading |
|---|---|---|---|
pv_power | total/Power/v | W | W |
energy_today | total/YieldDay/v | Wh | kWh (scale 0.001) |
energy_total | total/YieldTotal/v | kWh | kWh |
The C driver reads the unit each figure carries ("u") and scales by it; the
manifest's field map, which Mesh polls, has the scales written in.
Setting it up
- Flash OpenDTU (or OpenDTU-OnBattery) to an ESP32 with a CMT2300A radio for
HMS inverters, join it to the site's Wi-Fi and add each inverter by its
serial number. - Leave read-only web API access on (the default): the live data is then read
without a password. - In Mesh, add the Hoymiles HMS microinverter device with the OpenDTU's
address; itspv_power,energy_todayandenergy_totalappear as sources
to bind to energy's microinverter equipment.