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.
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.
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?
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;
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!
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.
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.
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!
Hello! What methods in GXDLMSClock object are responsible for hard and soft time correction?
Thanks for help!
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!
I attempted to read my meter using Python, but the outcome was a "disconnect request" like this:
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!