Giter Club home page Giter Club logo

iem3155_esphome's Introduction

ESPHome Modbus configuration for Schneider iEM3155 Energy Meter v1.2

iem3155

Revision:

  • v1.2 (2023-09-08)

    • Further code revisions to avoid wrong initial values on reboots (not power cycles)
    • Minor fixes
      • Substitutions, icons, diagnostic sensors etc.
  • v1.1 (2023-07-17)

    • Improved documentation
    • Added two additional (calculated) sensors. The daily solar power self-consumption sensor rely on daily yield value from my solar inverter via a Home Assistant sensor
      • Daily solar power self-consumption sensor
      • Daily export power sensor
    • Code revised to be more resilient to reboots (not power cycles)
      • Daily export power base value is now retained in RTC memory

This repo contains my production configuration and serves as a complete ESPHome example for the iEM3155 Energy Meter.

Extremely easy, full Home Assistant integration using ESPHome as wireless Modbus node.

iEM3155 ESPHome sensors exposed to Home Assistant:

iEM3155 ESPHome HA sensorsiEM3155 ESPHome HA diagnostic sensors

iEM3155 device configuration:

  • Serial: 19200, EVEN, 1 (default)
  • Slave address: 0x01

Note

Ensure that Com.Protection in the device is DISABLED - Com.Protection is ENABLED by default !!

Otherwise partial reset of daily energy import registers will be IGNORED by the device (id: daily_energy_import_total + 3 x daily_energy_import_lX)

ESP8266 module:

Wemos D1 Mini v3

Wemos D1 Mini v3

RS485 modbus module

  • XY-017 'Noname' AliExpress TTL <--> RS485 module
  • Simple, cheap module
  • Supports both 3.3 and 5v
  • 'No hazzle' module with hardware automatic flow control XY-017 TTL/RS485 module

The iEM3155 device also offers some additional interesting features that might be useful for others. Tariff/tariff rates and overload alarm. There's also both a digital input and output port that can be utilized as well.

Check the iEM3155 user manual/technical datasheet for further info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.