Skip to main content
Home
for DLMS smart meters

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 Dmitry, 19 June, 2025

data.SetComplete(false); But all data recieved

Forums
Gurux.DLMS

Hi, Mikko!
Sometimes i get DLMS_ERROR_CODE_FALSE on call
int CGXDLMSClient::GetData(CGXByteBuffer& reply, CGXReplyData& data, CGXReplyData& notify)

I found it int CGXDLMS::GetHdlcData(
bool server,
CGXDLMSSettings& settings,
CGXByteBuffer& reply,
CGXReplyData& data,
unsigned char& frame,
CGXReplyData* notify)

By Alex S, 18 June, 2025

Crash (endless loop)

Forums
Gurux.DLMS

Hi Mikko!

Please help me with the following question.

I am using the standard example from the Gurux.DLMS.Client.Example.python library.

To simplify the example, I added only the reading of the serial number of the meter. And everything works fine.

Next, I enclose the code in the endless loop, so that after each successful connection and reading of the serial number, the script does not terminate, but prompts the user to press the ENTER button to repeat the operation.

And in this case, everything goes well too.

By Achille, 11 June, 2025

Failed to read meter through raspberry pi 5 and probe

Forums
Gurux.DLMS

Hi everyone,
I tried to read a electrical meter with gurux python library buy I'm facing with an error below. I installed gurux dlms library on raspberry pi 5 and I connect the meter with probe to the raspberry and I'm not able to reach it. I have an Exception("Serial port is not selected.". can you please have an issue to my problem. Thank you

By technoshell, 8 June, 2025

Arduino code issue

Forums
Gurux.DLMS

I am using Arduino client code on ESP32 to read meter in MR mode with LLS.
I downloaded the latest version of Arduino and using MR association with encryption. I get a message on terminal as

By Dmitry, 6 June, 2025

Not all data in Gurux DLMS Director

Forums
Gurux.DLMS

Hi, Mikko!

I fill Profile Generic class mydata (3 rows), but on read from Gurux DLMS Director shows two rows.

Exchange:
7ea04daceb61ba49b9e6e600c001c100070100620200ff0201010204020412000809060000010000ff0f02120000090c07e90603ff000000ffff4c00090c07e90606ff001400ffff4c000100f9737e

7ea88761acebda51b7e6e700c402c101000000010081ea01020215090c07e9060302150001000000001741a24189173f42d0e517408f4bc71741701062173d1fbe77173e3b645a173e147ae11700000000173d1ba5e31700000000173f14fdf4173f09374c173c03126f173d1ba5e317000000001741d0999a174082c08317409c6a7f17411528197e

By technoshell, 5 June, 2025

Serial Number Data Type

Forums
Gurux.DLMS

Good Morning Sir,

I am using Arduino client code on ESP32 to read meter in MR mode with LLS. I am able to read the Manufacturer name and Active Energy successfully. But when I read Serial Number with obis code 0.0.96.1.0.255 I get the ASCII string on HPL meter but a Octet String on Secure Meter.
I use the code as under
cosem_init(BASE(ldn), DLMS_OBJECT_TYPE_DATA, "0.0.96.1.0.255"); // OBis for Serial No
com_read(BASE(ldn),2); // Read
obj_toString(BASE(ldn), &data);

By danil1234, 4 June, 2025

DLMS Short Name parsing issue: object 1.0.15.8.0.255 assigned SN = 0

Forums
Gurux.DLMS

Hello,

I'm using the following versions of the Gurux Python libraries:

gurux-dlms==1.0.181

gurux-common==1.0.13

gurux-net==1.0.22

gurux-serial==1.0.2

My DLMS meter only supports Short Name (SN) referencing, and I use the Python SDK (GXDLMSClient) to read register values.

During association view parsing (getAssociationView() → parseSNObjects()), I observed that the object with OBIS code 1.0.15.8.0.255 is returned with short name = 0, while all other similar objects are assigned valid short names (24, 48, etc.).

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!

Pagination

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

Hire Us!

Latest Releases

  • Thu, 06/19/2025 - 09:33
    Gurux.DLMS.Python 1.0.185
  • Wed, 06/18/2025 - 15:11
    Gurux.DLMS.Python 1.0.184
  • Wed, 06/18/2025 - 10:05
    Gurux.DLMS.Python 1.0.183
  • Wed, 06/18/2025 - 09:06
    GXDLMSDirector 9.0.2506.1801
  • Wed, 06/18/2025 - 08:41
    Gurux.DLMS.Net 9.0.2506.1801

New forum topics

  • Unable to read parameter values from Landis+Gyr E550 meter using GXDLMSDirector - NoAccess status
  • data.SetComplete(false); But all data recieved
  • Crash (endless loop)
  • Server is not able to download object list with maxPduSize 64 or 128 (or anything below 156-bytes PDU size)
  • Day profile action item add error (String is not recognized as valid DateTime value)
More

Who's new

  • carlmark
  • gx_abhi
  • sadlyfff
  • Troels
  • Hasan Mahmoud
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin