I am trying to set the current time from DLMSDirector to the meter, but the function does not seem to work properly. I am connected with low authentication level and I have already read the time from the meter, but when I try to set the current time, the old time from the meter appears (incorrect date and time), and the actual time is not set. Sometimes when I set the current time from the Director and reset the meter, after connecting it again, I receive a valid time, but it is stuck to the second when I have set it, so it is not elapsing, and when I try to read or set the time it goes back to the initial meter time, which is again not correct. Do you have any pieces of advice?
This seems to be the meter issua and there is nothing what GXDLMSDirector can do for it.
If the date time write succeeds, then the meter is responsible for setting the used date and time.
With some meters it might be help if you ignore time zone. Check "Advanced" page and try with different settings. I hope one of them will help you to solve this problem. You should also inform the meter manufacturer from this.
Can you tell me which function receives the current date and time from the Director in GuruxDLMS.c . I assume that the received byte array is converted to unixTime and then the clock of the server is updated. Is that right? If so, I only need the current time, converted to unix time, so I can use it to set the clock of the server. Thanks in advance.
Hi Dimitar,
Hi Dimitar,
This seems to be the meter issua and there is nothing what GXDLMSDirector can do for it.
If the date time write succeeds, then the meter is responsible for setting the used date and time.
With some meters it might be help if you ignore time zone. Check "Advanced" page and try with different settings. I hope one of them will help you to solve this problem. You should also inform the meter manufacturer from this.
BR,
Mikko
Okay, thanks for the reply.
Okay, thanks for the reply.
Best regards, Dimitar
Hello,
Hello,
Can you tell me which function receives the current date and time from the Director in GuruxDLMS.c . I assume that the received byte array is converted to unixTime and then the clock of the server is updated. Is that right? If so, I only need the current time, converted to unix time, so I can use it to set the clock of the server. Thanks in advance.
Best regards, Dimitar
Hi Dimitar,
Hi Dimitar,
When the server receives the write, it will search the object and update the value for it. Is your problem happening with the Gurux DLMS server code?
If you are using the Gurux DLMS framework, check that you are not handling this in svr_preWrite or svr_postWrite.
BR,
Mikko
Hi, I am facing the same…
Hi,
I am facing the same problem, unable to write/update RTC using GXDLMSDirector.
Can you please also explain the process of how to update the RTC using GXDLMSDirector.