This page last changed on May 10, 2013 by ali.

Hi,

My problem is, the date and time on the server PC: 11:12 - 10/05/2013 while, the "Openromote.bat" started in the cmd window is the time and date: 03:42 - 10/05/2013 appears.

Can you help with this problem?

Controller version = OpenRemote-Controller-2.1.0_LocaleFixes-SNAPSHOT-2013-05-07
Java version = jdk-6u21-windows-i586
KNX IP Gateway = ABB IPS/S KNX-IP
Operating system = Windows 7

Regards,
Ali Haydar


controller.xml (text/xml)
controller.xml (text/xml)
today.png (image/png)
timezone.png (image/png)
cmd.png (image/png)

Just a guess, but this could be that Openremote has its own timezone setting, which is not the same as your Windows OS. I did find this, which might help you play with the settings a bit.

http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+DateTime+Protocol

Posted by scohrab at May 14, 2013 17:59

Hi,

I applied to say, but the same problem continues.

Now,

PC = 17.09.2013 18:05
OpenRemote = 17.09.2013 10:35

Regards,
Ali Haydar

Posted by ali at Sep 17, 2013 16:08

Can you help me?

Posted by ali at Sep 24, 2013 11:03

Can you provide us with a screenshot of the command you specified? May be this is a timezone setting problem.
edit: Maybe has to do with ORCJAVA-401

Posted by pz1 at Sep 24, 2013 11:11

controller.xml

Posted by ali at Sep 24, 2013 13:53


Be careful, this controller.xml reveals a lot of your privacy!
I suggest to leave the time zone blank instead of the Etc/GMT+2 that you used.
For me it worked with the specs as in the image (click for larger)

Posted by pz1 at Sep 24, 2013 14:04

timezone.png

"Etc / GMT +2" written just for the experiment. Unlike more "Europe / Brussels", "Turkey" and "Berlin" was tested. The difference is 7 hours and 30 minutes each time.

Posted by ali at Sep 24, 2013 14:14

Is there also a 7h 30m difference if you leave all parameters blank except for the last two lines as in my example?

Posted by pz1 at Sep 24, 2013 14:18

Unfortunately, it keeps the difference.

cmd.png

Is there a problem with these lines?

begins as in the picture, the time difference cmd screen appears.

Posted by ali at Sep 24, 2013 14:25

Hi,

Did you find any problems?

Posted by ali at Sep 26, 2013 12:31

Hi Ali,

This is the ORCJAVA-401 bug Pieter mentioned. There's a fix for it already in version control but I wanted to add tests before releasing it. I can create a binary for you to test though. Let me know how urgent this issue is for you.

– Juha

Posted by juha at Sep 26, 2013 12:50

Hi,

I want to use in the next weeks. I'm waiting for you the result.

Regards,
Ali Haydar

Posted by ali at Sep 26, 2013 13:34

Hi Ali,

There's a binary available for ORCJAVA-401 fix at OpenRemote-Controller-2.1.0_FM_ORCJAVA-401.zip.

Let us know if that has an impact on the issue you are seeing.

Posted by juha at Sep 26, 2013 14:03

Hi,

Unfortunately, the problem continues.

Posted by ali at Sep 26, 2013 14:38

So the problem with the date command continues, or the timestamps you see on the logging?

Posted by juha at Sep 26, 2013 14:46

Now

PC date = 26.09.2013 , time = 17:00
OpenRemote date = 26.09.2013 , time = 09:30

Posted by ali at Sep 26, 2013 15:02

The "OpenRemote date" is the value returned by your date command in date/time protocol, or the timestamps on logs you see?

Posted by juha at Sep 26, 2013 16:58

In the same time difference I see in the logs.

to "date/time protocol" command is not create, it still looks the same time difference.

Posted by ali at Sep 27, 2013 07:59

The timezone in log timestamps is fixed. There's a way to make it configurable but that requires some additional library to be added to the controller.

The timezone in the date command of DateTime protocol should be fixed with the 401 patch above.

Posted by juha at Oct 01, 2013 19:49

Hi,

I use the java version jdk6u20 delete and install jdk7u40. Timestamps on the cmd screen it looks right. But, some of the errors that your system does not work.

Posted by ali at Oct 03, 2013 09:30

Hi,

I am install jdk1.8.0 java version. System and datetime protocol great running. Thanks

Regards,
Ali Haydar

Posted by ali at Oct 03, 2013 14:55

The time is also wrong in my log/controller.

I was running an older controller on my NAS, but when upgrading to
the latest controller I now get a time difference of 1 hour.
The time on my NAS and Mac is 21:55, but the log files when starting the Controller
states 20:55. Also my rules connected to a specific time triggers 1 hour to late.

If changing from European GMT +1 on my NAS to European GMT +2, the log/controller moves forward 1 hour and shows the correct time, however, now the timesettings on my NAS is 1 hour off.

I tried the ORCJAVA-401 fix at OpenRemote-Controller-2.1.0_FM_ORCJAVA-401.zip., but this
did not change anything.

Posted by istian at Oct 16, 2013 20:58

Which your using java jdk version?

Posted by ali at Oct 21, 2013 08:51

I am running Java 6 JDK 6u45. I cannot upgrade to 7 or 1.8.0 because Synology does not support this, as far as I know.

Posted by istian at Oct 21, 2013 09:27

I tried many java version. However, I solved the problem with jdk1.8.0. Jdk 7 consists of various errors, but works fine with jdk1.8.0

Posted by ali at Oct 21, 2013 09:54

Since there is no support for that version of Java on synology I have simply changed the "timer" in my rule.
Now the rule is set to trigger at 5:45, which in real time is 6:45.
Just adjusting the time rule to fit the difference in correct time and the timestamp.

Posted by istian at Oct 21, 2013 10:02
Document generated by Confluence on Jun 05, 2016 09:41