Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Date and time shifting.
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Thursday Apr 26th, 2007 02:20 pm
   PM  Quote  Reply 
1st Post
Azar
Member
 

Joined: Wednesday Sep 6th, 2006
Location:  
Posts: 15
Status: 
Offline

  back to top

Hi there,

I have just installed a Comfort Ultra system and I've got the system time shifted by about 12 hours.

I wonder if there is anyone who have seen similar time shifting with Ultra.

Thanks,

Azar

 

 

 



 Posted: Friday Apr 27th, 2007 12:16 am
   PM  Quote  Reply 
2nd Post
adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status: 
Offline

  back to top

Could you define what you mean by time shifting? Note that Comfort has no real time clock and you might be seeing the time that was fixed upon startup.



 Posted: Friday Apr 27th, 2007 02:59 am
   PM  Quote  Reply 
3rd Post
Azar
Member
 

Joined: Wednesday Sep 6th, 2006
Location:  
Posts: 15
Status: 
Offline

  back to top

Hi,

Sorry that I wasnt specific enough with regards to the time shifting.

I was referring to the time that is in the Comfort system (System Time - I guess real time is more for analog application which is not what I meant). The System Time that is set at startup. I suppose that since the system time it is set, the date and time should run as per normal as in the date and time should be current. That is also use as a time stamp for the event log. I believe it is also use for time base responses.

I have this instance where by the time is no longer current, it got set to a different time. Just an example it is set to 12 hrs earlier. What I have is that those events that uses time response, didnt got set at the correct timing eg. night mode is using time response for this application.  

Thats when I check the date and time from the system and to find that its not current. Actually this is my second system that I have seems to be having similar problem. Where the time got set or reset to a different time, that I have to manually set the date and time to current after the system is running for a while.

I am just wondering if there is something that I do wrong at startup that causes the System time to change and does not stay current.

Thanks,

Azar

 

 

 

 



 Posted: Friday Apr 27th, 2007 03:08 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

The date does not get shifted by 12 hours or any other number of hours in Comfort I and II, unless there is a loss of power withiut battery backup. The correct date is always maintained. Please monitor and verify




 Posted: Friday Apr 27th, 2007 03:27 am
   PM  Quote  Reply 
5th Post
Azar
Member
 

Joined: Wednesday Sep 6th, 2006
Location:  
Posts: 15
Status: 
Offline

  back to top

Hi there,

I would hope that the date and time would never change once it is set. For some reason that I cant understand it did.

What is the best way to trouble-shoot this problem? It is installed in my customer's, I cant really monitor till this happens again as it is intermittent.

Would the log file help to identify if there is a power failure? For sure I did install a battery fo this application. It would be an odd alarm or control system that doesnt have a battery, never seen one anyway.

 Well if there is something that I do wrong during installation I would need to know as well so that this problem can be avoided in my future installation.

Some help would be much appreciated. Any specific information that I can provide for someone to help me here? Second guessing doent help much with my problem here.

Thanks



 Posted: Friday Apr 27th, 2007 05:07 am
   PM  Quote  Reply 
6th Post
adlim
Member


Joined: Wednesday May 3rd, 2006
Location: Singapore
Posts: 210
Status: 
Offline

  back to top

Some questions to help find out the problem better.

1. Does the clock retard or progress by a small amount each day? Or does the clock suddenly change its time by 12 hours?

2. How long has it been since the time was last set?

3. Is the time on your PC set correctly while you downloaded into the system?

4. Did your customers change the time manually? Note that the time is in the 24 hours format, not the 12 hours format.

5. What other devices are connected to the system? Some other systems such as the C-Bus' C-Touch have Time/Date Synchronisation which may have affected the time on Comfort.



 Posted: Saturday Apr 28th, 2007 05:03 am
   PM  Quote  Reply 
7th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

I suspect whoever changed the date entered PM instead of AM or vice versa.
Get the event log,. Date and time changes are recorded. Coomfort does not change time be itself



 Posted: Monday Feb 22nd, 2010 11:54 am
   PM  Quote  Reply 
8th Post
ukhauk
Member
 

Joined: Monday Feb 22nd, 2010
Location:  
Posts: 9
Status: 
Offline

  back to top

Hi I have a similar problem where the clock drifts over aperiod of time. I could easly get an iput to pulse every day at say 0:00 midnight lets say to set the clock, is there a response to set the clock at a fixed time, had a quick look through my manual and haven't come across anything. thanks in advance



 Posted: Monday Feb 22nd, 2010 12:53 pm
   PM  Quote  Reply 
9th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5495
Status: 
Offline

  back to top

If you are synchronising the time via Hometronic, you may be able use to the user DT command in the Serial Command Protocol through a UCM to send the current date and time.

By the way, Comfort II uses a separate tuning fork crystal to keep the time and hence is very accurate compared to Comfort I



 Posted: Tuesday Apr 27th, 2010 07:53 pm
   PM  Quote  Reply 
10th Post
ukhauk
Member
 

Joined: Monday Feb 22nd, 2010
Location:  
Posts: 9
Status: 
Offline

  back to top

I have been testing the DT Command and think its a great suggestion to sync the clock, so far tesing via HYPERterminal
I was thinking it might be a good idea to schedule a time sync say every day @ 12PM

So I am thinking

CLI1234 #Log in as user 1234
DTFFFFFFFF120000 # ignore date and set time to 12:00 pm

What would be the best way to script this so I could put it in say windows scheduler.

I am connected to the serial port via a Moxa ethernet to serial adapter (could I telnet control this ?)

Should I control something like HYPERTerminal

Or could it be done with some kind of batch file with adjustable parameters for com port etc

I notice this thread has had 413 views so any help would be appreciated



 Posted: Wednesday May 12th, 2010 09:36 pm
   PM  Quote  Reply 
11th Post
ukhauk
Member
 

Joined: Monday Feb 22nd, 2010
Location:  
Posts: 9
Status: 
Offline

  back to top

OK after more hours than I would like to publish, I knocked up the following script in homeseer to sync the clock once a day with local pc time

tested it using hyperterminal and in the panel

myDT & myTm are variables to get the data in the right format

replace the ???? with a valid sign in code

Hope someone finds it useful any comments or suggestions welcome

---------------------------------------------------------

Sub main()

' Initialize Comport 3
e=hs.OpenComPort(3,"9600,n,8,1",1,"","")
if e "" then
hs.writelog "Error opening COM3",e
hs.speak "Error opening com port 3 "
else
hs.writelog "COMPort3", "Setup complete"
end if

myDT = Year(Now()) & Right("0" & Month(now()), 2) & Right("00" & Day(Now()), 2)
myTm = Right("0" & Hour(now()), 2) & Right("00" & Minute(Now()), 2) & Right("00" & Second(Now()), 2)

hs.WriteLog "Sync Comfort Clock", myDT & myTm

hs.sendtocomport (3),chr(03) & "LI????" & chr(13)
'replace ???? above with a valid password

hs.WaitSecs 3

hs.sendtocomport (3),chr(03) & "DT" & myDT & myTm & chr(13)

hs.closeComPort (3)

end sub



 Current time is 02:50 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems