๐Ÿ  Home

Custom MQTT

Custom MQTT is used to send meter data to a custom MQTT server. This is useful for integrating the device with your own IoT platform.

The payload content will be the same one returned by the REST API endpoint meter (swagger).








โšช
Status: Loading...
Last Attempt: Loading...

InfluxDB

InfluxDB is used to send meter data to an InfluxDB time-series database. This is useful for storing historical data and creating dashboards with tools like Grafana.

The data will be sent in InfluxDB Line Protocol format with all meter values as fields.





InfluxDB v1.x Settings



InfluxDB v2.x Settings




โšช
Status: Loading...
Last Attempt: Loading...

Home Assistant

A custom integration for Home Assistant that exposes all device channels as native sensors (voltage, current, active/reactive/apparent power, power factor, and energy totals). It uses the device REST API and works fully on the local network, with no cloud dependency.

Quick Setup

  1. Install the integration via HACS (recommended) or manually.
    • HACS: HACS → Integrations → search for "EnergyMe" → install.
    • Manual: download the latest release, extract the energyme folder into your custom_components directory.
  2. Restart Home Assistant.
  3. Go to SettingsDevices & ServicesAdd Integration and search for "EnergyMe".
  4. Enter the device IP/hostname and the credentials (defaults: user admin, password energyme). Active channels are discovered automatically.

Full documentation, troubleshooting, and screenshots are available in the integration repository.

๐Ÿ“ฆ GitHub Repository ๐Ÿ›’ HACS Installation Guide

REST API Documentation

The REST API provides comprehensive access to all device functions including meter readings, channel configuration, energy data archives, and system control.

All endpoints require Digest Authentication. The interactive Swagger UI allows you to explore and test API endpoints directly from your browser.

๐Ÿ“š Open Swagger UI

Modbus TCP

The Modbus TCP server is running on port 502 and provides read-only access to meter values via the standard Modbus protocol. Function Code 03 (Read Holding Registers) is supported. No configuration needed - the server is always available when the device is powered on.

๐Ÿ“‹ Register Map Reference

General Registers (0-7)

Meter Values (100-107)

Aggregated Values - Role Based (200-617)

Power and energy values aggregated by channel role. Each role has 18 registers (9 values ร— 2 registers each).

Grid (200-217)
Load (300-317)
PV (400-417)
Battery (500-517)
Inverter (600-617)

Per-Channel Registers (1000 + channelร—100 + offset)

For each active channel (0 to N-1, where N is the device's channel count - 16 on PCB v6.1), registers are organized as follows:

Examples:

mDNS Service Discovery

The device advertises its services via mDNS (Multicast DNS) for easy discovery on your local network. This allows compatible clients and tools to automatically discover the device without needing to know its IP address.

Available Services

HTTP Web Interface

Modbus TCP