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 vladoam, 15 November, 2023

Get value only

Forums
Gurux.DLMS

I want to push value with mqtt.
With this I can read meter and push to mqtt:

//Read active power 1.8.1
gxRegister rdn1;
cosem_init(BASE(rdn1), DLMS_OBJECT_TYPE_REGISTER, "1.0.1.8.1.255");
com_read(BASE(rdn1), 2);
obj_toString(BASE(rdn1), &data);
GXTRACE(GET_STR_FROM_EEPROM("Active1"), data);
client.publish(topic, data);
obj_clear(BASE(rdn1));
free(data);

How can I get value only like: 8560182 without: Index: 3 Value: Scaler: 1 Unit: None
Index: 2 Value: 8560182?

By CIDEY, 14 November, 2023

Clone and CopyTo method of GXDLMSObject class does not work C#

Forums
Gurux.DLMS

GXDLMSObject writeData = item.GXDLMSObject;
GXDLMSObject readData;
if (writeData is not null)
{
readData = writeData.Clone();
}
When cloning to readData, the error "System.ArgumentNullException: "Value cannot be null. Arg_ParamName_Name", although writeData is not null.
The same situation when using the CopyTo() method;

By alnardn, 14 November, 2023

GXDLMSProfileGeneric

Forums
Gurux.DLMS

Hello! I am trying to reset buffer of time correction journal by this code:
time_correction_journal = GXDLMSProfileGeneric("0.0.99.98.13.255")
reader.readDataBlock(time_correction_journal.reset(settings.client), GXReplyData())
I connected to the meter with High authentication, my client address is 48. Nevertheless I am getting error: gurux_dlms.GXDLMSException.GXDLMSException: Access Error : Device reports Read-Write denied. How can I solve it?
Thanks for help!

By adryan, 14 November, 2023

Reading DLMS meter using Python

Forums
Gurux.DLMS

Hi!

I tried to connect 2 dlms meters using Gurux.DLMS.Python. I can read the first meter but got "Service not allowed. Operation not possible" error message on the second one. Is there anything I could do about it?
Thank you in advance.

By vladoam, 13 November, 2023

Arduino client example for multiple meters

Forums
Gurux.DLMS

Hi, is there example on how to read two meters simultaneously with arduino? I'm using rs485 to ttl module. This is their client.init.
Client.init(true, 1, 145, DLMS_AUTHENTICATION_LOW, "11111111", DLMS_INTERFACE_TYPE_HDLC);
Client.init(true, 1, 146, DLMS_AUTHENTICATION_LOW, "11111111", DLMS_INTERFACE_TYPE_HDLC);
I searched on forum but I didn't find example how to read them all at once. Thanks.

By alnardn, 13 November, 2023

GXDLMSClock

Forums
Gurux.DLMS

Hello! How does the shift time clock method work? When i try it to use like clock.shiftTime(reader.client, 10) it appears that i can't connect to clock object - reader.read(clock, 2), for example, returns None. Am i doing something wrong?
Thanks for help!

By alnardn, 10 November, 2023

GXDLMSClock

Forums
Gurux.DLMS

Hello! What methods in GXDLMSClock object are responsible for hard and soft time correction?
Thanks for help!

By alnardn, 10 November, 2023

GXDLMSDateTime

Forums
Gurux.DLMS

Hello! I can't understand how to write last day and second last day in date time format. Is it something like GXDateTime("FE/FF/FFFF 00:00:00") or not?
Thanks for help!

By alfathaff, 9 November, 2023

Reading DLMS meter using Python

Forums
Gurux.DLMS

I attempted to read my meter using Python, but the outcome was a "disconnect request" like this:

By alnardn, 8 November, 2023

GXDLMSData

Forums
Gurux.DLMS

Hello! I am trying to read object - end of biiling period. And this line of code reader.read(end_billing_period, 2) throws an exception: gurux_dlms.GXDLMSException.GXDLMSException: Access Error : Device reports a undefined object.
And it's very strange because GXDLMSDirector can read this object. It doesn't throw an error. What are the reasons of failing in code?
Thanks a lot for help!

Pagination

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

Hire Us!

Latest Releases

Tue, 11/21/2023 - 09:55
Gurux.DLMS.AMI4 4.0.2311.2101
Tue, 11/21/2023 - 09:41
Gurux.DLMS.Net 9.0.2311.2101
Thu, 11/16/2023 - 08:52
gurux.dlms.c 20231116.1
Mon, 11/13/2023 - 15:41
Gurux.DLMS.AMI4 4.0.2311.1301
Mon, 11/13/2023 - 13:26
gurux.dlms.c 20231113.1

New forum topics

  • [Gurux DLMS for C] Error in "loadSettings" function located in "svr_InitObjects" function
  • Power Meter Integration Using DLMS Protocol
  • [Gurux DLMS for C] Problem writing to an attribute of type 'array'
  • Image transfer failing in cosem_checstructure function
  • Index was out of range. Must be non-negative and less than the size of the collection parameter name:index
More

Who's new

  • Ajith
  • Belete
  • Berkay
  • MohamedYassineGarali
  • Chetna
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin