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. Cannot Write Time To Meter

Cannot write time to meter

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.

By DDobrev21 , 28 June, 2022
Forums
DLMSDirector

Hello,

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?

Best regards, Dimitar

Profile picture for user Kurumi

Kurumi

3 years 11 months ago

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

DDobrev21

3 years 11 months ago

Okay, thanks for the reply.

Okay, thanks for the reply.

Best regards, Dimitar

DDobrev21

3 years 11 months ago

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

Profile picture for user Kurumi

Kurumi

3 years 11 months ago

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

wadhwahitesh

2 years 11 months ago

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.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin