Retrieve Deye Inverter Data from Home Assistant and Upload It to virtual Meter
Introduction
This tutorial explains how to retrieve data from a Deye hybrid inverter via Home Assistant, convert the data into the required JSON format, and upload it to IAMMETER-Cloud using a Virtual Meter.
This solution is suitable for users who want to:
- Integrate a Deye (or Sunsynk-compatible) hybrid inverter into IAMMETER
- Combine grid, battery, and inverter data into a unified energy model
- Visualize and analyze energy flows in IAMMETER-Cloud
Architecture Overview
The overall data flow is shown below:
Deye Hybrid Inverter -> (Modbus/TCP) Home Assistant -> (REST API / JSON) IAMMETER-Cloud Virtual Meter
Home Assistant acts as the data collector and protocol adapter, while IAMMETER-Cloud provides long-term storage, visualization, and energy analysis.