Battery · Control
Zero export with Home Assistant
Measure, actuate, control: how the control chain is built and why it never quite reaches zero.
Read the article →Article · Home Assistant · Photovoltaics
Hoymiles micro-inverters radio their data to a gateway, the DTU, and from there to the manufacturer's cloud. OpenDTU replaces this gateway with a small board that reads the inverter on the home network and sets limits for it, without an account and without the cloud. The parts are inexpensive, but there is a trap right at the start: the radio module has to match the series, and one widespread range matches none at all.
From this article on Amazon (Germany):
EBYTE E49-900M20S (CMT2300A)* ·
868 MHz antenna* ·
EBYTE E01-ML01DP5 (NRF24L01+)*
Marked *: affiliate links. As an Amazon Associate I earn from qualifying purchases.
OpenDTU speaks two radio methods. Which one an inverter needs depends solely on the series:
| Series | Models | Radio module | Serial number starts with |
|---|---|---|---|
| HM | HM-300-1T to HM-1500-4T | NRF24L01+ (2.4 GHz) | 1121, 1141, 1161 |
| HMS | HMS-300-1T to HMS-2000-4T | CMT2300A (868 MHz) | e.g. 1124, 1143, 1144, 1164 |
| HMT | HMT-1600-4T to HMT-2250-6T (three-phase) | CMT2300A (868 MHz) | 1361, 1382 |
| HMS-…W | e.g. HMS-800W-2T | none, Wi-Fi built in | not supported by OpenDTU |
The type plate decides. If there is a W in the model designation, the inverter has its own Wi-Fi, and neither OpenDTU nor AhoyDTU can talk to it. AhoyDTU names a DTU serial number on the sticker as a second identifier. For all others, the serial number tells you; the complete list of prefixes is in OpenDTU's inverter overview. For the North American versions HMS-…-NA, the region has to be changed in OpenDTU.
Anyone building it themselves needs three things:
Anyone who does not want to solder and wire takes the OpenDTU Fusion board: an ESP32-S3 and both radio paths on 5.5 × 5.5 cm, i.e. for all supported Hoymiles series. For purchase, the developer refers to the AllianceApps shop.
Beware of cheap modules. The OpenDTU documentation explicitly warns that a lot of low-quality or fake hardware is offered on Amazon, AliExpress and eBay, and advises a dealer with a right of return and a close look at the reviews.
OpenDTU talks to Home Assistant via MQTT. This needs an MQTT broker on the network, for example as an app in Home Assistant, and Home Assistant's MQTT integration. In OpenDTU's web interface, MQTT is then switched on, the broker entered and the option “Home Assistant MQTT Auto Discovery” enabled. Home Assistant then creates the inverter and sensors itself. With the retain flag it finds them again after a restart, and on request the readings of each individual panel appear.
For the W models there is the community integration hoymiles-wifi. It talks to the inverter directly on the home network, without the cloud, and according to its description supports, among others, the HMS-400W-1T, HMS-800W-2T and HMS-1000W-2T as well as the DTU-WLite and DTU-Pro gateways. One catch: polling it more often than about every 32 seconds, every 120 seconds with newer firmware, may according to the project break the connection to the Hoymiles cloud.
OpenDTU can give the inverter a power limit, permanently or until the next night. How to use this for zero export and why the non-persistent limit is the right one for frequent changes is covered in the article Zero export with Home Assistant. For the W models, hoymiles-wifi explicitly warns against using the persistent limit for frequent adjustments: the many write operations could damage the memory in the inverter. Supported devices have a temporary limit for this.
On Amazon (Germany): EBYTE E49-900M20S (CMT2300A)* · 868 MHz antenna* · EBYTE E01-ML01DP5 (NRF24L01+)*
Read on: on which hardware Home Assistant runs as an energy manager and how extensions such as MQTT are added is covered in the main article Home Assistant as an energy manager.
A CMT2300A module for 868 MHz, as for all devices of the HMS and HMT series. As a standalone module, OpenDTU only supports the EBYTE E49-900M20S. Alternatively there is the ready-made OpenDTU Fusion board, which already contains both radio modules.
No. According to its documentation, OpenDTU does not support inverters with integrated Wi-Fi, recognisable by the W in the name, and neither does AhoyDTU. They can be reached locally via the community integration hoymiles-wifi, which talks to the device directly on the home network.
According to OpenDTU, only the plus variant supports the required transmission speeds and can talk to the inverter. The NRF24L01+ is needed for the HM series; for HMS and HMT it is the wrong module.
Via MQTT. Switch on MQTT in OpenDTU, enter a broker and enable the option Home Assistant MQTT Auto Discovery. If Home Assistant's MQTT integration is connected to the same broker, it creates the devices and sensors itself.
The information on the hardware comes from the OpenDTU documentation, that on the W models from the descriptions of AhoyDTU and hoymiles-wifi. OpenDTU is a community project; Hoymiles is not behind it. I do not run a Hoymiles inverter myself; this page is a sourced overview, not a field report. What is written here applies as of 13 October 2026.
Haag Automation has no business relationship with Hoymiles, EBYTE or the projects named. The DTU itself works with extra-low voltage. Connecting and operating the inverter follows the manufacturer's instructions and the rules for plug-in solar devices; work on the electrical installation belongs in the hands of a qualified electrician.
Links marked with an asterisk are affiliate links. As an Amazon Associate I earn from qualifying purchases; the price is unchanged for you. What I recommend does not depend on it.
Want to see and control your plug-in solar system in Home Assistant without the cloud? I can set it up with you – the first conversation is free.