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. Forums
  3. Gurux.DLMS

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.

Description

Questions and comments about
Gurux DLMS/COSEM Protocol Component.

Image
By Administrator , 18 August, 2010

Introducing Gurux DLMS/COSEM component

Forums
Gurux.DLMS
Gurux DLMS/COSEM protocol component is available for several programming languages, whose purpose is to offer an easy-to-use component, to communicate with energy measuring devices. With this component, you can easily build your own Automatic Meter Reading system (AMR). Purpose of this project is to offer an easy-to-use component, with which you can create data collecting systems to meet your own needs. The project is released in SourceForge.net on September the first, 2010.
By zakaria.b , 10 August, 2026

Elster a1800 clock reset to year 2000 with one tariff billing

Forums
Gurux.DLMS

Hi to all,
We are managing an AMI project and we designed with our provider an external modem than can connect to different existing meters, including elster A1800. The modem is powered with external 220v source and connected to the elster meter through the rs485 port. The meter has been configured to enable the connection with the modem and the dlms protocol has been activated also to support data collection from our HES.

By Dmitry , 4 August, 2026

Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()

Forums
Gurux.DLMS

Hi, Mikko

1. In getCompactArrayItem() use only gxfree(value); but i think need use:
var_clear(value);
gxfree(value);

like in function getCompactArrayItem2().

2. In getCompactArrayItem2():
if (tmp->Arr == NULL)
{
//here need gxfree(tmp); because in row 1637: dlmsVARIANT* tmp = gxmalloc(sizeof(dlmsVARIANT));
return DLMS_ERROR_CODE_OUTOFMEMORY;
}

Please, check it.

Thanks!

By Dmitry , 16 July, 2026

CGXDLMSProfileGeneric::SetValue for attribute 3. Possible memory leak

Forums
Gurux.DLMS

Hi, Mikko!

In CGXDLMSProfileGeneric::setValue() in else if (e.getIndex()== 3) calls m_CaptureObjects.clear(); but there is no memory release, like in the destructor.
After m_CaptureObjects.clear(); in the loop, calls AddCaptureObject(), where it calls the new operator: CGXDLMSCaptureObject* pCO = new CGXDLMSCaptureObject(attributeIndex, dataIndex);

Thanks!

By Suhitha , 27 April, 2026

DLMS Connection

Forums
Gurux.DLMS

Hi Team ,

I am planning to implement the DLMS protocol in Python using the Gurux-DLMS library. I have a few questions regarding how data is transmitted through the gateway, how connections are established and maintained, and how communication happens with the meter.

We have gateways in place, and I would like to understand what type of gateways are supported by DLMS meters. Additionally, I want to know the communication media involved (similar to Modbus TCP/IP) and the complete end-to-end flow.

Specifically, I am looking for clarity on:

By SMarcin , 22 April, 2026

Meter rejects reading multiple objects, but it conformance says it supports it.

Forums
Gurux.DLMS

Starting a new thread because i cannot answer in the previous topic:
https://gurux.fi/node/35252

Hello,
I'am trying to read multiple objects with 1 query via tcp/ip using python.

Running this code:

obj1 = GXDLMSRegister()
obj1.shortName = 39656
obj1.attributeIndex = 2

obj2 = GXDLMSRegister()
obj2.shortName = 39800
obj2.attributeIndex = 2

objects = [obj1, obj2]

packets = client.readList(objects)

By Meet_01 , 2 April, 2026

Handling Unexpected Disconnects

Forums
Gurux.DLMS

I am using the Gurux DLMS pyton client inside a Kubernetes pod to connect to a DLMS meter using HLS SHA256 authentication.

The client is able to successfully establish a connection and read data from the meter under normal conditions.

However, I am facing an issue after the Kubernetes pod restarts:

Once the pod restarts, the client tries to reconnect to the meter.
The connection attempt fails consistently.
The error I receive is:
"Failed to receive reply from the device in given time."

By Chirag Kumar , 2 April, 2026

DLMS Communication Issue – No Response (L&T Meter via USB Probe)

Forums
Gurux.DLMS

Dear Gurux Team,

I am facing a DLMS communication issue while connecting to an L&T energy meter using a USB probe and GXDLMSDirector.

I consistently receive the following error:
"Failed to receive reply from the device in given time."

Please find the details below:

Setup:

By Karl , 1 April, 2026

Unable to cast object of type Gurux.DLMS.GXStructure to type Gurux.DLMS.GXArray

Forums
Gurux.DLMS

After upgrading the Gurux.DLMS Nuget package from version 9.0.2508.2201 to 9.0.2603.3001, we get the error in the subject, when trying to read association view. I have tested this on EMH and LG E850 meters, but it might be an error that affects all metertypes.

ReadDataBlock(Client!.GetObjectsRequest(), reply);
Client.ParseObjects(reply.Data, false); <--- This throws the error.

Client is a GXDLMSSecureClient object.

By Dmitry , 31 March, 2026

Bug in function var_getInt32() in GuruxDLMS-C

Forums
Gurux.DLMS

Hi Mikko!
In var_getInt32() calls var_clear(data); and set to DLMS_DATA_TYPE_NONE to variant type. therefore *value = 0;

Please check it.

Thanks!

Pagination

  • 1
  • Next page
Gurux.DLMS
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96

New forum topics

  • negative indexing for custom method/attribute
  • System title
  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
More

Who's new

  • Omkiran73
  • sivan202305
  • Greenwave
  • em1212
  • Design RnD
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin