Hi,

I am based in Perth, Western Australia in the AWST (GMT+8) timezone and 
running weewx on a Debian machine with correctly setup timezone:

graham@rochelle:~/dev/asystem$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/";
SUPPORT_URL="http://www.raspbian.org/RaspbianForums";
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs";

 

graham@rochelle:~/dev/asystem$ date
Thursday 1 December  08:23:21 AWST 2016


The Vantage is also setup timezone wise correctly and think that weewx 
might do something on this in any case.

My issues is that I am unable to make head nor tail of the epochs I am 
getting out of the Vantage loop packets, there doesn't seem to be a 
timezone offset that would make sense of these, does anyone know how I can 
interpret them?

The UI seems to do fine, although not sure if it is using the Vantage for 
this or its own internal calculations. If the later, is there a nice way I 
can get access to this (and other almanac details) from within a custom 
service?

sunrise from loop packet: 1480602360
sunset from loop packet: 1480552860

sunrise from loop packet formated: 01/12/2016, 22:26:00 AWST
sunset from loop packet formated: 01/12/2016, 08:41:00 AWST

sunrise from UI: 05:02:10
sunset from UI: 19:07:23

Thanks for your help, perhaps I am missing something obvious, I always find 
time hard!

Graham

Reply via email to