Clock dst

12 replies [Last post]
DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012

Just noticed that the clock is out on my HAH by an hour how do I adjust for dst?

EJ-Ambient
Offline
Ringwood, United Kingdom
Joined: 5 Aug 2011
Might be worth just leaving

Might be worth just leaving it as is - I've noticed that PVOutput delays data if you have your Hub on GMT+1.....

Your consumedW data is looking tidier!  Have you been capturing the RunningW data?

Off for a pint now.....will check back later.....

EJ

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
I've got RunningW off right

I've got RunningW off right now, I'm going to turn it on from today I'm guessing it will store alot of data how will I analyse this to identify issues?

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
Can anyone advise on how to
Can anyone advise on how to adjust the clock/timezone in the HAH I've tried running # /etc/TZ GMT0BST-1 via SSH however I get -ash: /etc/TZ: not found
andy
Offline
United Kingdom
Joined: 17 Mar 2012
TZ file

DS,

 

Does the TZ file exist? (looks not to). if not create by echoing the text GMT0BST-1 into the file like so:

#echo GMT0BST-1 > /etc/TZ

otherwise if exists open file in vi and edit so it contains the text GMT0BST-1 on the first line.

You will have to reboot the HAH for all date/time dependant apps to use this, kill/restart may not be enough.

--andy

andy
Offline
United Kingdom
Joined: 17 Mar 2012
pps: watch your googlecal if

pps: watch your googlecal if you do this as there is/was (at least on my build 306) a situation with gcal events being triggered 1hr out, reminds me, I need to file a issue in the tracker.

--andy

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
Thank you!

Thank you!

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
This has set the clock in HAH
This has set the clock in HAH to the correct 'BST' however I see that in Pachube/Cosm that my live feed displayed is showing an hour earlier/before I did restart my HAH any ideas on this?
DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
Weird just reboted my HAH to
Weird just rebooted my HAH to install a new version of a script and the date/time is now showing Thu Jan 01 00:37:39 GMT 1970 any ideas what's going on/how I correct?
brett
Offline
Providence, United States
Joined: 9 Jan 2010
NTP is not working possibly

NTP is not working possibly due to a misconfiguration of the NTP setting or your internet is down.

# grep ntp /etc/xap-livebox.ini
ntp_host=uk.pool.ntp.org
#

The date/time is set automatically as part of bring the network up in the DHCP script in /usr/share/udhcpc

Try manual.

# ntpclient -s -h uk.pool.ntp.org
56069 57036.876   23701.0     36.5  1665967.6  30807.5         0
#

Brett

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
The manual
The manual command... ntpclient -s -h uk.pool.ntp.org Worked, thank you!
brett
Offline
Providence, United States
Joined: 9 Jan 2010
Well as a once off sure - but

Well as a once off sure - but every reboot you don't want to be typing that in.  So you might want to reboot and see if this was a once off issue or if you have a configuration problem.  Your work is not done yet young padawan.

Brett

DoubleSpeed
Offline
Bristol, United Kingdom
Joined: 31 Mar 2012
Thanks Brett I've rebooted a

Thanks Brett I've rebooted a couple of times since and the clock has synced OK so must be all OK I hope!

Hardware Info