My first post in this forum and my first module:
MMM-HoymilesPVMonitor displays live PV power and energy data from a Hoymiles inverter and DTU:
https://github.com/CuddlyCow/MMM-HoymilesPVMonitor
The module queries the DTU via the local network at regular intervals and visualizes the current power, daily energy, and total energy values on your MagicMirror.
Features
- Fetches real-time PV data from your Hoymiles DTU
- Displays:
– Current power (W)
– Daily energy (kWh)
– Total energy (MWh) - Visual donut chart created with Chart.js
- Automatically updates at configurable intervals
- Keeps showing the last known energy values at night when the DTU stops responding
- Stores all daily values with timestamps in a local history file