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 kuba172 , 9 February, 2025

DLMS/COSEM Communication Issue with Electricity Meter

Forums
Gurux.DLMS

I'm experiencing issues with DLMS/COSEM communication when trying to read profile data from an electricity meter. While the initial connection is successful, reading profile data results in invalid HDLC frames.

Environment:
- Python with Gurux DLMS library
- TCP/IP connection to the meter
- Authentication Level: Low
- Using HDLC protocol

The connection parameters:
- IP: xx.xx.xx.xx
- Port: xxxx
- Client Address: xx
- Server Address: derived from meter serial number
- Password: ********

By andrew1 , 7 February, 2025

DLMS/COSEM Decryption with "Indian Standard" vs. Other Manufacturer Cells

Forums
Gurux.DLMS

Hi Gurux Team and Community,

I'm working with GXDLMSDirector to communicate with DLMS/COSEM meters. I'm trying to understand the differences in decryption when using the "Indian Standard" manufacturer cell setting compared to other available options.

Specifically, I'd like to know:

By rooftopurja , 7 February, 2025

Reading Premier300 Meter from GuruX DLMS - Energy Values/ Registers

Forums
Gurux.DLMS

Hi,

By Bhaumik , 7 February, 2025

Invalid Count in parsing

Forums
Gurux.DLMS

Dear Mikko,

I am using an Indian standard meter, and while parsing push data, I encountered an "Invalid Count" exception in the gXDLMSSecureClient.GetData(data, replyData, notify) function.

The same function works correctly with push data from other meters.

Could you please suggest what might be causing this issue?

By kuba172 , 27 January, 2025

Problems reading scalars and units from a meter using the Gurux.DLMS library in Python

Forums
Gurux.DLMS

Hi,

I have a problem reading scalars and units from a DLMS/COSEM counter correctly using the Gurux.DLMS library in Python. I am trying to read data from a Profile Generic object with OBIS code 1.0.99.1.0.255.

When I read the data, the values ​​are returned in raw form (e.g. 2923 instead of 2.923). Even though I read the scales and units from the attribute of 3 registry objects (REGISTER or EXTENDED_REGISTER), the scales are always 1 and the units are empty.

I am attaching the code:

By Dmitry , 27 January, 2025

Wrong time since epoch on call time_toUnixTime2()

Forums
Gurux.DLMS

Hi, Mikko!
I got lates Gurux C and on call function
uint32_t secs_epoch = time_toUnixTime2(tmp->dateTime);
get wrong time in seconds since epoch.

dlmsVARIANT* tmp = NULL;
ret = va_getByIndex(lst_values, column, &tmp);
if (ret != DLMS_ERROR_CODE_OK)
{
return ret;
}
//here tmp is DateTime:
tm_sec 0
tm_min 0
tm_hour 17
tm_mday 27
tm_mon 0
tm_year 125
tm_wday 1
tm_yday 26
tm_isdst 0

By kuba172 , 25 January, 2025

How do I use the serial number of a Landis+Gyr E570 meter to connect to the meter?

Forums
Gurux.DLMS

From what I understand, it is possible to somehow calculate the server address from the serial number. How exactly do I do this?

Thanks in advance

By Dmitry , 24 January, 2025

Compile error in serverevents.c

Forums
Gurux.DLMS

Hi, Mikko!
I got lates version Gurux C and get error in row 78:
identifier "gxByteBuffer" is undefined \src\serverevents.c 78

I think need to add

#include "../include/bytebuffer.h"

Thanks!

By P3NCYUYkUtQkKX64H , 24 January, 2025

simulator with crystal.xml rejects AARQ

Forums
Gurux.DLMS

i'm running the c# simulator with the following parameters:

-i WRAPPER -h 127.0.0.1 -p 4060 -t Verbose -x crystal.xml

my client is sending
RX: 00 01 00 10 00 01 00 12 60 10 A1 09 06 07 60 85 74 05 08 01 01 A9 03 02 01 01

and the simulator is responding with
TX: 00 01 00 01 00 10 00 26 61 24 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 01 A7 03 02 01 01 BE 06 04 04 0E 01 06 02

it looks like the root cause is this 'return' in GXAPDU.ParseApplicationContextName():

By KavyaYanamandra , 23 January, 2025

"Error Updating Invocation Counter in 48-Association (0.0.43.1.3.255) Using Gurux GXDLMS Library"

Forums
Gurux.DLMS

HI MIkko,

Pagination

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

Hire Us!

Latest Releases

  • 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
  • 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

New forum topics

  • 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
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • Mathewgon
  • MichaelCab
  • Travisrew
  • Derricklep
  • Danielsib
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin