Hi all

I'm in the process of building and testing a new system based on 
WeatherDuino hardware which emulates the Vantage VP stations for Weewx. 

Today I moved from simulator to the vantage driver with the new hardware 
and I'm getting a date and time issue which I think is hardware but thought 
I'd ask the question here. 

This is the log below after deleting the old sdb file which contained only 
simulated data, note the added record from in the future!

Hardware console date is correct, Pi date is correct. RTC time on the 
hardware is correct.

I'm using the Belchetown skin at 41south.net.nz - as you can imagine no 
data is showing in the graphs but realtime data is fine (date agnostic??)

Cheers
Colin


Oct 29 11:27:28 raspberrypi systemd[1]: Starting LSB: weewx weather 
system...

Oct 29 11:27:29 raspberrypi weewx[5122]: engine: Initializing weewx version 
3.8.2

Oct 29 11:27:29 raspberrypi weewx[5122]: engine: Using Python 2.7.13 
(default, Nov 24 2017, 17:33:09) #012[GCC 6.3.0 20170516]

Oct 29 11:27:29 raspberrypi weewx[5122]: engine: Platform 
Linux-4.14.62-v7+-armv7l-with-debian-9.4

Oct 29 11:27:29 raspberrypi weewx[5122]: engine: Locale is 'en_NZ.UTF-8'

Oct 29 11:27:29 raspberrypi weewx[5122]: engine: pid file is 
/var/run/weewx.pid

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Using configuration file 
/etc/weewx/weewx.conf

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Loading station type 
Vantage (weewx.drivers.vantage)

Oct 29 11:27:29 raspberrypi weewx[5111]: Starting weewx weather system: 
weewx.

Oct 29 11:27:29 raspberrypi systemd[1]: Started LSB: weewx weather system.

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: StdConvert target unit is 
0x10

Oct 29 11:27:29 raspberrypi weewx[5126]: wxcalculate: The following values 
will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, 
rainRate=prefer_hardware, windrun=prefer_hardware, 
heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
humidex=prefer_hardware, pressure=prefer_hardware, 
inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, 
cloudbase=prefer_hardware

Oct 29 11:27:29 raspberrypi weewx[5126]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Archive will use data 
binding wx_binding

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Record generation will be 
attempted in 'hardware'

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Using archive interval of 
300 seconds (specified by hardware)

Oct 29 11:27:29 raspberrypi weewx[5126]: manager: Created and initialized 
table 'archive' in database 'weewx.sdb'

Oct 29 11:27:29 raspberrypi weewx[5126]: manager: Created daily summary 
tables

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'

Oct 29 11:27:29 raspberrypi weewx[5126]: manager: Starting backfill of 
daily summaries

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: StationRegistry: 
Registration not requested.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: Wunderground: Posting not 
enabled.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: PWSweather: Posting not 
enabled.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: CWOP: Posting not enabled.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: WOW: Posting not enabled.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: AWEKAS: Posting not enabled.

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: MQTT: service version is 
0.18rc1

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: MQTT: binding to 
['archive', 'loop']

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: MQTT: topic is 
weather/41south

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: MQTT: desired unit system 
is METRIC

Oct 29 11:27:29 raspberrypi weewx[5126]: restx: MQTT: data will be uploaded 
to mqtt://192.168.20.121:1883/

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Starting up weewx version 
3.8.2

Oct 29 11:27:29 raspberrypi weewx[5126]: engine: Clock error is -1.55 
seconds (positive is fast)

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:15:00 NZDT (1544699700) to database 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:15:00 NZDT (1544699700) to daily summary in 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:20:00 NZDT (1544700000) to database 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:20:00 NZDT (1544700000) to daily summary in 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:25:00 NZDT (1544700300) to database 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:25:00 NZDT (1544700300) to daily summary in 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:30:00 NZDT (1544700600) to database 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: manager: Added record 2018-12-14 
00:30:00 NZDT (1544700600) to daily summary in 'weewx.sdb'

Oct 29 11:27:30 raspberrypi weewx[5126]: engine: Starting main packet loop.

Oct 29 11:30:15 raspberrypi weewx[5126]: manager: Unable to add record 
2018-12-14 00:30:00 NZDT (1544700600) to database 'weewx.sdb': UNIQUE 
constraint failed: archive.dateTime

Oct 29 11:30:20 raspberrypi weewx[5126]: cheetahgenerator: Generated 14 
files for report StandardReport in 4.22 seconds

Oct 29 11:30:25 raspberrypi weewx[5126]: imagegenerator: Generated 49 
images for StandardReport in 5.34 seconds

Oct 29 11:30:25 raspberrypi weewx[5126]: copygenerator: copied 9 files to 
/var/www/html/weewx

Oct 29 11:30:30 raspberrypi weewx[5126]: cheetahgenerator: Generated 4 
files for report Highcharts_Belchertown in 4.92 seconds

Oct 29 11:30:30 raspberrypi weewx[5126]: copygenerator: copied 0 files to 
/var/www/html/weewx/belchertown

Oct 29 11:30:30 raspberrypi weewx[5126]: Belchertown Extension: version 0.7

Oct 29 11:30:37 raspberrypi weewx[5126]: cheetahgenerator: Generated 13 
files for report Belchertown in 6.80 seconds

Oct 29 11:30:37 raspberrypi weewx[5126]: copygenerator: copied 22 files to 
/var/www/html/weewx/belchertown




-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to