Files
Home-Assistant-Dev/YAML Examples/IPEM SIX/README.md
T
Dave Williams | DitroniX | G8PUO c4b3986f46 Add timeline for future IPEM SIX variants
Added a timeline section to the README with future variant plans.
2026-06-20 15:54:17 +01:00

5.3 KiB

IPEM SIX | ESP32C5 | DUAL ATM90E32 IoT Mains Power Energy Monitor

IPEM SIX - ESPHome Example Code

This is a working ESPHome YAML development code for IPEM SIX, for Home Assistant.

IPEM SIX Preview

Summary

IPEM SIX C5 provides a complete energy monitoring platform:

6 CT channels
Dual ATM90E32 metering
Import/export detection
Per-channel energy tracking
Home Assistant native integration
WiFi diagnostics
Health monitoring
Configurable load alerts
OTA updates
ESP32-C5 performance platform

Designed as a professional-grade residential and small commercial energy monitoring solution.

Snippet of the ESPHome Dash

IPEM SIX ESPHome Preview

Timeline

Now the code has been released and tested, other variants will also be provided.

  • Split Phase
  • Two Phase, over the Two Banks
  • Three Phase

Code Overview

IPEM SIX C5 is a professional 6-channel dual-bank energy monitoring device based on the ESP32-C5 platform and dual ATM90E32 energy measurement ICs.

Demonstrate the power of the IPEM SIX by reading the all the data from the six current clamps and input voltages, and provide a large range of information.

Provide:

  • Live sensor updates
  • Configuration control
  • Device status
  • Diagnostics

The device code presents:

  • 6 independent CT current channels
  • Dual-bank monitoring architecture
  • Real-time power monitoring
  • Import/export power calculation
  • Energy accumulation (kWh)
  • Voltage and frequency measurement
  • Power factor and reactive power monitoring
  • Internal temperature monitoring
  • Wi-Fi diagnostics
  • Health/Status monitoring
  • Configurable load activity thresholds
  • LED heartbeat indication

Designed for integration with Home Assistant via ESPHome API.

Documentation - IPEM SIX Firmware Overview

Basic Examples

During development, I took baby steps in understanding how YAML worked and how to integrate the various elements of the IPEM SIX board. These examples have been included for your information, in the Basic Examples folder.

Status

The code should work as it is but you will ideally need to update the ESPHome API details, which I have xxxx out.

Enable Home Assistant API

api:
  encryption:
    key: "xxxx="

ota:
  - platform: esphome
    password: "xxxx"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Wren-C5-Test Fallback Hotspot"
    password: "xxxx"

Full Code Example View

The initial release of this code is for single phase and six channels. The code will be updated for split and three phase.

This is an example of the ESPHome Dash view

Open Source

This test code is OPEN SOURCE and formatted for easier viewing. Although is is not intended for real world use, it may be freely used, or modified as needed.

It is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Further Information

Additional information, and other technical details on this project, maybe found in the related repository pages.

Repository Folders

  • Code (Code examples for Arduino IDE, Raspberry Pi and PlatformIO)
  • Datasheets and Information (Component Datasheets, Schematics, Board Layouts, Photos, Technical Documentation)
  • Certification (Related Repository Project or Part, Certification Information)

Repository Tabs

  • Wiki (Related Repository Wiki pages and Technical User Information)
  • Discussions (Related Repository User Discussion Forum)
  • Issues (Related Repository Technical Issues and Fixes)

We value our Customers, Users of our designs and STEM Communities, all over the World . Should you have any other questions, or feedback to share to others, please feel free to:

Dave Williams, Maidstone, UK.

Electronics Engineer | Software Developer | R&D Support | RF Engineering | Product Certification and Testing | STEM Ambassador

STEM

Supporting STEM Learning

Life is one long exciting learning curve, help others by setting the seed to knowledge.

DitroniX Supporting STEM