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 Sravanti , 4 June, 2025

DLMS Server in ESP32, Register object value save and load issue.

Forums
Gurux.DLMS

Hi Kurumi,

I am trying to write data in value attribute in register object and load using Serializer_Save and Serializer_Load. But I am facing issue with writing the data. Using GXDLMSDirectore when write some data and click on WRITE button, 0 is reflecting and in ESP32 server code, reference value is not reflecting the same. Its always 0.

By Dmitry , 4 June, 2025

How to convert octet string to CGXDateTime?

Forums
Gurux.DLMS

Hi, Mikko!

I have CGXDLMSVariant with octet string value date-time. Ho to convert it to CGXDateTime?
Is it possible to add function (or constructor) to CGXDateTime class for convert from/to CGXByteBuffer?

Thanks!

By JavierDiaz , 30 May, 2025

After ProfileGeneric data parsing an incorrect float value is returned

Forums
Gurux.DLMS

The device returns the correct value 522140, but after multiplying by scaler 0.01, returned the value 5221.40000000000005.

This does not happen with all data.

Below is a screenshot showing the code of file "GXDLMSProfileGeneric" with incorrect data conversion.

Please tell me, can this be fixed?

Thanks.

Reading data:

[Hex trace removed]

By Sravanti , 29 May, 2025

EEPROM save and load for DLMS objects

Forums
Gurux.DLMS

Hi Kurumi,

We are trying to understand what data is stored about the objects which we create using example

https://github.com/Gurux/GuruxDLMS.c/blob/master/Arduino_IDE/server/ser…

By avenging_playmate295 , 29 May, 2025

ReleaseResponse wrapped in GatewayResponse leads to an exception

Forums
Gurux.DLMS

Hi!

When communicating with a meter through a gateway, there is a  GXDLMSException("Invalid reply. The client has closed the connection.") thrown for a successful ReleaseResponse wrapped in GatewayResponse.

I believe the reason is that this peace of code doesn't recognize it: https://github.com/Gurux/Gurux.DLMS.Net/blob/5284708bd1b9823d9d9f817223dc2f5993deeb02/Development/GXDLMS.cs#L5658-L5665

Example packet: 

By faizalsrahman , 28 May, 2025

Fragmented HDLC Packet Parsing

Forums
Gurux.DLMS

I have implemented a Python script to read the Header and scaler values sent from the meter through the Wrapper interface using GXDLMSReader. Similarly, I want to have a function to read a Header and Scaler from a fragmented HDLC frame. Please let me know how I can achieve this.
Note: My current implementation always returns "Invalid HDLC frame," but the frame is being translated correctly in the Gurux online translator.

By Somesh_8073 , 22 May, 2025

com_read getting failed for billing profile and instantaneous profile

Forums
Gurux.DLMS

hello,
below code is for to read instantaneous and billing profile - - >

void
read_meter_instantaneous_profile()
{
gxProfileGeneric profile;
char * data = NULL;
cosem_init(&profile.base, DLMS_OBJECT_TYPE_PROFILE_GENERIC, "1.0.94.91.0.255");

com_read(&profile.base, 2);

/* Read rows by entry */
com_readRowsByEntry(&profile, 1, 2);

By melvin67 , 15 May, 2025

Combining several meters' profile generic data into one

Forums
Gurux.DLMS

Good day
I am learning how to develop DLMS server. I am able to create a client app to read meter, and send it to a database. I used ESP32 to achieve that. Now I want to make a DLMS server to simulate a meter, let's say it's MyMeter. I want to combine/accumulate the data from two meters' profile generic into one profile generic that this MyMeter have. I plan to code in C or C++ for this. Is this possible? If it is, how to accomplish that?

Thanks in advance.
Melvin

By PLAMEN VASILEV , 15 May, 2025

Convert byte array to GXDLMSObject

Forums
Gurux.DLMS

Hello,

I have an APDU byte array, and I'd like to convert it to GXDLMSObject so I can inspect and further work with it. I see that I can use GXDLMSTranslator to translate the byte array to XML, but I want to parse the byte array to a native GXDLMSObject. Is there any way to do that?

Many thanks
Plamen

By Anhnv , 14 May, 2025

How to create an DLMS Simulator with HighGMac authentication

Forums
Gurux.DLMS

Hi, I want to create an simulator with HighGmac authentication by editing crystal.xml in gurux.sinulator project but i doesn't work. So i wanna ask how to create a simulator like that. Thank you

Pagination

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

Hire Us!

Latest Releases

  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • Sravan Kumar Sunki
  • lYeWnkCDdXWOSGsl
  • Nandha
  • li5201314
  • brainstormkale…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin