New IEC62056-21 Component

Just to clarity my every message was after i took your advice, edited code and tried to flash board with new changes.

Previously you sugested to add meter_identification but in the new code i see
baud rate identification.
I will give it a go and hopefully i will be back with good news.
Thanks

Hi @MND , did you have any success with this? I searched far and wide and your logs are the only ones that show the exact same “meter identification” and behaviour as my meter, which is an identical “e-Distribuzione” CERM1 model.

I tried cleaning the lens and recording it with a phone, I can definitely see the IR led blinking in sync with the logs when it tries to communicate. I also re-flashed the firmware and forced baud rate at 300 or 1200, as well as increasing the timeout to 30s, but no change in the behaviour.

I see others get a “No STX. Got 0x61”, but we get the “0x01” one which I have no idea how to debug. Any hints, perhaps @aquaticus ?

Thank you!

1 Like

Hi TW-BS,
I’m pulling my hair here trying to get communication to work with my Landis+Gyr T550… I’m getting no transmission from the meter. Did you make any changes in the code (or to the meter) to get communication to work (baud rate, mode etc.)?

Thanks!

/O

@mgc8 Hello Grig! No luck yet. I have put the project on hold for a while. Looking forward for support or advice on this. I have a Deye inverter and I’m prosumer and is frustrating that the power data reported by inverter is different compared with the CERM1 meter. Every month the difference between the inverter and the meter is increasing with ~ 2.5 KWh (the CERM1 report a lower value than the inverter). :slightly_smiling_face: All the best and to @aquaticus keep up the good work.

I see, that’s unfortunate, but of course there’s so many of these variations that it’s hard to support them all out of the box. I just wish there was more documentation on this particular model, as I’m sure it’s just a matter of “speaking” the right protocol to it, but alas no luck in finding that…

In my case, I also gave up on the PiggyMeter and went with a pulse monitor instead based on Home Assistant Glow. It’s not as polished, and of course it only gets the instantaneous power and not the actual reading from the meter, but it ended up working nicely in a pinch! Also ESP32-based, with a bit of 3D printing on the side.

Given that the types of meters where the PiggyMeter is used usually also come with one of these pulse windows, I can recommend that as a viable alternative.

Hi. Does anyone have the correct .yaml file for the Apator Norax 3 meter?


The optical probe is compatible with this gas meter. Thank you.

Hi,

The optical interface itself is compatible and can be used to communicate with the meter.
However, you will need dedicated software that supports communication with this specific device.

In short: using the optical interface together with the Aquaticus IEC62056-21 module will not work. The meter operates with the DLMS COSEM protocol, which is not supported by the Aquaticus IEC62056-21 ESPHome module.

If you use the optical interface with DLMS COSEM–compatible software, it may work.

Thanks for your reply.
Could you please tell me which software is compatible with DLMS COSEM?
I’m a novice.

There is a compile error: src/esphome/components/iec62056/iec62056uart.h:135:97: error: ‘lock_’ is not a member of ‘esphome::iec62056::IEC62056UART’

with the newest Esphome 2026.2.1.

Please use the latest version from the repository: GitHub - aquaticus/esphome-iec62056: IEC 62056-21 component for ESPHome

Sorry, I cannot recommend anything that works out of the box.

I’m sorry, I bought the probe and am waiting for it to arrive, but it won’t do any good.
Thanks anyway.

If you have any programming skills you can try to use GitHub - viric/esphome-ziv: ZIV 5CTM Electricity meter reading with IR serial port (EspHome component)
(the problem is that Gurux lib that the software relays on, no longer compile).

If this meter uses HDLC (Mode E) you can you this one GitHub - latonita/esphome-dlms-cosem: Supports DLMS/Cosem IEC IEC 62056-21 Mode E (Hdlc), session mode and passive PUSH mode readout. Подключение EspHome к счетчикам электроэнергии по протоколу СПОДЭС ГОСТ Р 58940-202 (Энергомера ce207, ce208, CE307, CE308, Меркурий, Пульсар, Милур, Мир, Нартис, РиМ и другие). · GitHub
Let me know if you need help