Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Problem Reading GEMIS 2021 Enel Italy

Problem Reading GEMIS 2021 Enel Italy

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By tyvi , 14 October, 2021
Forums
DLMSDirector

Hi everybody,

i'm trying to read a GEMIS 2021 meter from ENEL Italy.

After many attempts with different settings i still can't read the meter.

The current settings in GXDLMSDirector are:

Manufacturer (custom created with Manufacturer ID "EDi"): e-distribuzione
Interface (optical port): HdlcWithModeE
Logical Name Referencing: On
Authentication: HighGMAC
Client Address: 4F = 79 (16 + last 2 numbers of meter)
Address Type: Default
Logical Server: 1
Physical Server: 16

Advanced -> Standard: Italy

I also have the keys for GMAC authentication.

While connecting it reaches the stage of the SRNM Request, but the meter does never respond to that.
I am attaching a picture of the meter.

Do you have any suggestions?

Thanks,

tyvi

Image

maxzen

4 years 6 months ago

Hi, just a quick update on

Hi, just a quick update on this topic: we still trying to connect this meter but without success:
- Exception: No data from meter received. - Exeption while reading, retrying in 60s -

The protocol seems to be Open Meter, has anyone had experience with Open Meter protocol in past?
Any help will be appreciated :) Thank you!

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Thanks for this information. I was wondering why the meter is not replying.
I don't know what is the current status of Open Meter, but the official web address seems to be given away.

If I remember right, there was an open-source project for Open Meter. I did try to find it, but I just can't remember where it was.

BR,
Mikko

maxzen

4 years 6 months ago

Hi,

Hi,
yeah, I was searching across the web but found nothing useful.
Seems like Open Meter is a closed box :D
Need to go deeper...

Thanks
Max

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

If you can get a hex trace from the request and response frames, I'll check if I can help you to get started.

BR,
Mikko

maxzen

4 years 6 months ago

In reply to Hi, by Kurumi

Thank you a lot!

Thank you a lot!
Here is what we get (see attached image).
If we could get an error number or at least some error, will be a good start.
What else we could check? The optical probe is working well on other meters, but maybe the configuration is wrong for this meter....

Image
Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Do you have another software than GXDLMSDirector that you can use to read the meter?

If you don't have one, try to use "HDLC Address Resolver" of GXDLMSDirector. I'm not sure if it helps, but give it a try.
https://youtu.be/BeaWKmyMwuE

BR,
Mikko

maxzen

4 years 6 months ago

In reply to Hi, by Kurumi

Tried this one but no answer:

Tried this one but no answer:

++++++++++++++++++++++++++++++++++++
Connect to the meter using IEC handshaking.
Manufacturer is
Baud rate is 300
Try with server address 1 (0x1)
Try with server address 127 (0x7F)
Try with server address 16383 (0x3FFF)

So what we have with GXDLMSDirector instead is the ID of the meter: //EDi521........
Received 2f
Received 2f
and so on in HEX.

What I wonder about is how to customize a command request?
How could I send some CMD like "info"|"lecture"|"last" or something... I know this is an attempt but I think this is the only way. Do you agree?

Could I modify the class for sending custom CMD? I mean it is IR impulse, right?

Max

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

It might be that the optical probe supports only IEC 62056-21.
You can try to connect with the terminal to the meter and send "/?!\r\n" and nothing more.
Serial port settings are 300 7Even1.

Let's see if the meter returns readout.

BR,
Mikko

mCr86

4 years 2 months ago

Hello,

Hello,
I take up this topic again.
I was trying to connect to an ENEL CERM1 meter and like my colleague it was impossible.
I followed your advice and sent to the meter"/?!\r\n" with the serial port set to 300 7Even1.
And the meter answered what seems to be its ID that start by "EDi".
Could you help me to find out more?

Thanks!

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

In reply to Hello, by mCr86

Hi,

Hi,

Your meter is using IEC 62056-21. As described in the FAQ, it's ASCII protocol.
https://www.gurux.fi/DLMSCOSEMFAQ

It seems that you can get the readout from the meter. If the data is there you can easily parse it. If it's not, or you want to write something for the meter, you need to contact the meter vendor and ask application that you can use to read it.

BR,
Mikko

mCr86

4 years 2 months ago

Hi Mikko,

Hi Mikko,
First of all, thank you and congratulation on your job and knowledge. Is amazing!
Ok, perfect. In this case, I only want to read basic measurements as a public user.
Could you know if there is some software to read this protocol using a USB optical interface?

Thanks!

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi,

Hi,

If your meter is using mode A, your meter readout everytime when you establish the connection for the meter. You only need to send /?! with baud rate 300 7ven1.

I don't know if there is an app for this, but you can easily create it for yourself.

BR,
Mikko

mCr86

4 years 2 months ago

Hello again.

Hello again.
In my case, no.
When I connect and send "/?!\r\n", I only get the ID back, but nothing else responds.

maxzen

4 years 2 months ago

Hi, could you share a picture

Hi, could you share a picture of CE?
Thanks

mCr86

4 years 2 months ago

Hi maxxzen,

Hi maxxzen,
Is a CERM1:
https://web.gencat.cat/web/shared/GENCAT/que_cal_fer_si/serveis_central…

mCr86

4 years 2 months ago

I have made some progress.

I have made some progress.
As you told me Mikko, the optical port uses the 62056-21 protocol.
But It seems that both, "ReadOut" and "Programming" modes are password protected:

--------------ReadOut try-----------
-> /?!
<- /EDi5NDEEAAUXXXXXXXXX
-> .050
<- .P0.(FEDCBA9876543210).f
------------------------------------

-----------Programming try-----------
-> /?!
<- /EDi5NDEEAAUXXXXXXXXX
-> .051
<- .P0.(FEDCBA9876543210).f
------------------------------------

What do you think?
Can you think of any other test to do?

Thank you!

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi,

Hi,

Don't send anything after /?!. The meter should send a readout automatically after a while.

If the meter is not sending this information automatically it does not support Mode A (readout) and you need to use Mode C where you need to ask each register separately.

IEC doesn't define how the password is encrypted. You can try to use the same encryption as Elster is using.
https://www.gurux.fi/node/5415

ZanZif

3 years 10 months ago

Hi, any news about this "test

Hi, any news about this "test"?
Which configuration have you used?
Thank you in advance guys!

Arnold Kuntner

3 years 3 months ago

In reply to I have made some progress. by mCr86

Hi, have you been able to…

Hi,

have you been able to solve the problem? I'm from Italy and I have the same problem with a GIST 2015 smartmeter.

Thanks,

Arnold

GiuseppeP96

1 year 1 month ago

Any news? I've tried…

Any news? I've tried piggymeter project but can't read this meter.

Profile picture for user Kurumi

Kurumi

1 year 1 month ago

Hi, This meter is using IEC…

Hi,

This meter is using IEC 62056-21 protocol. Gurux doesn't support it because there are so many different ways how meter manufacturers have implemented it. You can get the readout easily.

https://www.gurux.fi/node/5415

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin