retrieving old data from DAVIS VANTAGE PRO2

81 views
Skip to first unread message

Frank von Thienen

unread,
Jun 15, 2020, 5:39:38 AM6/15/20
to weewx-user
Hi,
Yesterday I set up my weewx after a crash (1 year ago).
The system is writing to an external MySQL, which works.

But while loading old data from the DAVIS, I get the following info in the log.
INFO __main__: Starting up weewx version 4.1.1
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.engine: Clock error is 1.43 seconds (positive is fast)
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.engine: Using binding 'wx_binding' to database 'usr_web812_2'
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Starting backfill of daily summaries
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Getting archive packets since 2020-05-26 06:00:00 CEST (1590465600)
Jun 15 11:36:04 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 15 11:36:06 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Retrieving 389 page(s); starting index= 0
Jun 15 11:36:06 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:15:00 CEST (1590466500) to database 'usr_web812_2'
Jun 15 11:36:12 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:15:00 CEST (1590466500) to daily summary in 'usr_web812_2'
Jun 15 11:36:12 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:30:00 CEST (1590467400) to database 'usr_web812_2'
Jun 15 11:36:18 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:30:00 CEST (1590467400) to daily summary in 'usr_web812_2'
Jun 15 11:36:18 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:45:00 CEST (1590468300) to database 'usr_web812_2'
Jun 15 11:36:25 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 06:45:00 CEST (1590468300) to daily summary in 'usr_web812_2'
Jun 15 11:36:25 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 07:00:00 CEST (1590469200) to database 'usr_web812_2'
Jun 15 11:36:31 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 07:00:00 CEST (1590469200) to daily summary in 'usr_web812_2'
Jun 15 11:36:31 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 07:15:00 CEST (1590470100) to database 'usr_web812_2'
Jun 15 11:36:37 VTCC-RASPBERRY-WEEWX weewx[1843] INFO weewx.manager: Added record 2020-05-26 07:15:00 CEST (1590470100) to daily summary in 'usr_web812_2'
Jun 15 11:36:42 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Get_data_with_crc16; try #1 failed: Expected to read 267 chars; got 0 instead
Jun 15 11:36:42 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Timeout in get_data_with_crc16
Jun 15 11:36:42 VTCC-RASPBERRY-WEEWX weewx[1843] ERROR weewx.drivers.vantage: DMPAFT try #1; error: Timeout in get_data_with_crc16
Jun 15 11:36:42 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Getting archive packets since 2020-05-26 07:15:00 CEST (1590470100)
Jun 15 11:36:42 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jun 15 11:36:43 VTCC-RASPBERRY-WEEWX weewx[1843] DEBUG weewx.drivers.vantage: Retrieving 388 page(s); starting index= 0

Is that an issue, since I cannot find those daily summery somewhere to check.

Thanks
Frank

Frank von Thienen

unread,
Jun 15, 2020, 5:50:48 AM6/15/20
to weewx-user
swapping back to SQLite, it runs into the db without a problem.
So it has something to do with the SSH Tunnel and the external MySQL, connection to slow?

gjr80

unread,
Jun 15, 2020, 6:29:19 AM6/15/20
to weewx-user
That seems odd, the error shown is the driver encountering a crc error on data downloaded from the station. The driver has no access to the database so I can’t see how the database in use could cause a driver crc error. If you change back to MySQL again does it work?

Gary

Frank von Thienen

unread,
Jun 21, 2020, 6:48:47 AM6/21/20
to weewx-user
Hi Gary,
sorry for beeing late, but the job is difficult at the moment, Software release for a big furniture dealer in Germany.
If swapping back, I get the same errors again, SLQite no issue, MySQL error.
But the normal readings of the actual values are correct retrieved. So MySQL is storing the 15 minutes values, but not reading the backlog import.
And that is odd

Thanks
Frank

Tom Keffer

unread,
Jun 21, 2020, 7:44:26 AM6/21/20
to weewx-user
Could we see a little more of the log? If the driver is unable to download a page of memory from the logger, it should do a retry, yet I am seeing only one try. What happens after the snippet you posted?

-tk

--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f4280701-7430-401e-a9fa-16a13f29fa0co%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages