Skip to content
MCU Atlas
ESP32ESP32ESP32-S3

OpenDTU: local ESP32 gateway for Hoymiles solar microinverters

Replace the cloud-tied Hoymiles DTU with an ESP32 and a radio module to read and limit your solar microinverters locally.

Difficulty:IntermediateSource available

Photos

OpenDTU: local ESP32 gateway for Hoymiles solar microinverters photo 1
OpenDTU: local ESP32 gateway for Hoymiles solar microinverters photo 2
OpenDTU: local ESP32 gateway for Hoymiles solar microinverters photo 3
OpenDTU: local ESP32 gateway for Hoymiles solar microinverters photo 4

Photos: tbnobody

Key Facts

  • Chip: ESP32 or ESP32-S3
  • Radio: NRF24L01+ (HM) or CMT2300A (HMS/HMT)
  • Inverters: Hoymiles, TSUN, Solenso
  • Output: web API, Home Assistant discovery, Prometheus

About This Project

OpenDTU replaces the official Hoymiles DTU, the telemetry gateway that sends microinverter data to the cloud, with an ESP32 you build yourself. It started on Mikrocontroller.net, where the Hoymiles radio protocol was reverse-engineered, and it now talks to Hoymiles, TSUN and Solenso inverters. The radio module depends on the inverter: the HM series needs an NRF24L01+ and the HMS/HMT series needs a CMT2300A. The docs suggest a common ESP32 DevKit to start, with Ethernet/PoE boards like the Olimex ESP32-POE also supported, a 5V 1A supply, and optional display and LEDs. Pins are free to wire and described in a device profile you upload. Data is served through a web API, with Home Assistant auto discovery and Prometheus metrics.

Source & Attribution

Source: GitHub
License: GPL-2.0
Last verified: 10/18/2026
OpenDTU: local ESP32 gateway for Hoymiles solar microinverters

Bill of Materials

Parts list

5 parts · 3 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

Watchy: open-source ESP32 e-ink smartwatch
Illustration
ESP32
An open-source smartwatch with a 1.54in e-paper screen and ESP32, hackable watch faces in Arduino.
Beginner·Code
2 parts listed
Low-power ESP32 e-paper weather display (7.5in)
Illustration
ESP32
A wall-mounted 7.5in e-paper weather display on an ESP32 that runs for months on one battery charge.
Intermediate·Code
5 parts listed
OpenEPaperLink: reuse e-ink shelf labels with an ESP32 access point
Illustration
ESP32ESP32-S3
Turns cheap second-hand electronic shelf labels into a Wi-Fi-managed e-ink display fleet via an ESP32 access point.
Advanced·Code
6 parts listed