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 mick93 , 11 April, 2025

Writing bytearray with write()?

Forums
Gurux.DLMS

Hi,
I have problem with changing value of object, which has 'bytearray' - as I could see after reading that OBIS. For changing "normal" values, such as APN, I use the following python snippet:

d = GXDLMSData("obis")
d.apn = "newAPN"
self.write(d, 2)

And it works fine, but there's also manufacturer's specific object - pinging setup, which consists of target IP and interval. First one is bytearray, second is integer. After reading this object it looks like below:

By mick93 , 7 April, 2025

Issue with using python XmlClient

Forums
Gurux.DLMS

I've just started to use python's xmlclient and I used same cmd arguments as in "normal" gurux client. The problem is, when it starts to read Clock, there's "Data send failed" and it stops reading. Same issue happens when I added -x argument with GetClock.xml . Logs are below:

By andre538 , 4 April, 2025

HLS/LLS passwords min/max length restrictions

Forums
Gurux.DLMS

Hello Mikko,

I examined blue book and found no restrictions for LLS/HLS passwords max and min length. The only information I'be found is about data type, octet-string.

Don't you know are there any limits for LLS/HLS passwords length - some kind of standards, recomendational documents and in Gurux components?

Best regards, Andrey

By Vikas_Balichakra , 3 April, 2025

Client_python_Changing_Server address

Forums
Gurux.DLMS

Hi,
I am using gurux client python code to implement CTT test cases.
I wanted to send request with server address as 4 bytes.
How can i do it ?
One more question all the DLMS UA CTT tool generated report logs verified i can able to see server address as "00 02 04 01". When we submit for certification they first change the server address to "00 02 04 01" then test it ?
Or universally meter should work for any server address ???

By carlituus , 1 April, 2025

InvocationCounterError when trying to write GXDLMSPushSetup

Forums
Gurux.DLMS

Hi,

I'm currently working with a DLMS/COSEM-compliant meter using your C# library. I’m trying to update the destination IP address of a Push Setup object (class_id 40) using the following code:

GXDLMSPushSetup push = new GXDLMSPushSetup() { LogicalName = "0.2.25.9.0.255" };

push.Destination = "46.105.164.139:7000";
push.Service = Gurux.DLMS.Objects.Enums.ServiceType.Udp;

byte[][] requests = client.Write(push, 3);

By sgbubble , 1 April, 2025

Using general-ciphering messages

Forums
Gurux.DLMS

Hi,

I want to do a small script to test general-ciphering messages using identified key, wrapped key and agreed key. I'm using the python library as a DLMS client.
Can you provide an example on how to configure it?

Thank you,

Sara

By Dmitry , 31 March, 2025

How to call CGXDLMSDisconnectControl::Invoke() method?

Forums
Gurux.DLMS

Hi Mikko!

I would like to call on server side the invoke() method in the class CGXDLMSDisconnectControl, but it is missing.

I think it can be made like this:
typedef int (*pfnMethod)();
CGXDLMSDisconnectControl::setCalbackFunctionMethod1(&pfnMethod);
CGXDLMSDisconnectControl::setCalbackFunctionMethod2(&pfnMethod);

By mick93 , 31 March, 2025

Universal way to change OBIS' value?

Forums
Gurux.DLMS

I've found the following example for changing obis' value/property:

clock = GXDLMSClock()
clock.time =datetime.datetime.now()
self.write(clock, 2)

But is here other way? For example, in my python code I'd have one function and I'd like to change with this function various things: APN, PIN, ports etc. Do we must to specify different object for each obis, like below:

clock = GXDLMSClock()
apn_change = GXDLMSGprsSetup()
mac = GXDLMSMacAddressSetup()

etc. etc?

By fazamax , 27 March, 2025

Issue with DLMS Communication via TCP/IP with Moxa Device

Forums
Gurux.DLMS

By mick93 , 27 March, 2025

Gurux python - issue with reading LoadProfiles (gurux objects instead of normal values)

Forums
Gurux.DLMS

I am trying to read LoadProfile#2, so in GXSettings.py I've put objects as in:
self.readObjects = [("1.0.99.2.0.255", 3), ("1.0.99.2.0.255", 2)]

Pagination

  • Previous page
  • 11
  • 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
  • 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

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