Clock dst

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

Member for

15 years 3 months

EJ-Ambient

14 years 6 months ago

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

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

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?

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

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

Member for

14 years 8 months

andy

14 years 6 months ago

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

Member for

14 years 8 months

andy

14 years 6 months ago

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

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

Thank you!

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

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?

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

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?

Member for

16 years 10 months

brett

14 years 6 months ago

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

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

The manual command... ntpclient -s -h uk.pool.ntp.org Worked, thank you!

Member for

16 years 10 months

brett

14 years 6 months ago

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

Member for

14 years 7 months

DoubleSpeed

14 years 6 months ago

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