Weewx skipping templates after Vantage Vue firmware update

246 views
Skip to first unread message

Antony K.

unread,
Nov 26, 2017, 3:40:11 PM11/26/17
to weewx-user
I updated my Vantage Vue console firmware from 3.00 to 4.18 version.
The following problem occurred in /var/log/syslog file:

Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template NOAA/NOAA-YYYY.txt.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template NOAA/NOAA-YYYY-MM.txt.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template week.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/temp_outside.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/radar.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template mobile.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/wind.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template month.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/rain.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template year.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/barometer.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template smartphone/index.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Skipping template RSS/weewx_rss.xml.tmpl: cannot find start time
Nov 26 19:15:17 raspberrypi weewx[15839]: cheetahgenerator: Generated 0 files for report StandardReport in 0.14 seconds
Nov 26 19:15:18 raspberrypi weewx[15839]: genimages: Generated 12 images for StandardReport in 1.42 seconds
Nov 26 19:15:18 raspberrypi weewx[15839]: reportengine: copied 0 files to /home/weewx/public_html
Nov 26 19:15:21 raspberrypi weewx[15839]: reportengine: ftp'd 0 files in 2.58 seconds

I ran the following commands:

/etc/init.d/weewx stop
wee_device /home/weewx/weewx.conf --clear

Nov 26 20:25:06 raspberrypi wee_device[3736]: vantage: Archive memory cleared.

/etc/init.d/weewx start

and the problem continues "cannot find start time".

gjr80

unread,
Nov 26, 2017, 6:22:14 PM11/26/17
to weewx-user
Hi,

I presume weeWX was functioning normally before you did the firmware upgrade?. Rather than just a small portion of the log it might help to see a log extract from weeWX start until after a couple of archive records have been processed. Probably best to set debug=1 in weewx.conf as well. Make the debug=1 change, stop then start weeWX and let it run for 15 minutes (assuming 5 minute archive period). Post a syslog extract from weeWX start ensuring you capture all of the startup pre-amble.

Gary

Thomas Keffer

unread,
Nov 26, 2017, 6:57:33 PM11/26/17
to weewx-user
This is a database issue, not a Vantage issue. There is nothing in the database.

Did you change databases? Did you change the bindings section in weewx.conf?

Take any passwords out, then post your weewx.conf. You can use the tool wee_debug to do this.

-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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Antony K.

unread,
Nov 27, 2017, 2:32:51 AM11/27/17
to weewx-user
Nov 27 09:14:05 raspberrypi weewx[6046]: engine: Initializing weewx version 3.4.0
Nov 27 09:14:05 raspberrypi weewx[6046]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3]
Nov 27 09:14:05 raspberrypi weewx[6046]: engine: Platform Linux-4.4.16-v7+-armv7l-with-debian-7.8
Nov 27 09:14:05 raspberrypi weewx[6046]: engine: pid file is /var/run/weewx.pid
Nov 27 09:14:05 raspberrypi weewx[6052]: engine: Using configuration file /home/weewx/weewx.conf
Nov 27 09:14:05 raspberrypi weewx[6052]: engine: Loading station type Vantage (weewx.drivers.vantage)
Nov 27 09:14:05 raspberrypi weewx[6052]: engine: StdConvert target unit is 0x1
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Archive will use data binding wx_binding
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Record generation will be attempted in 'hardware'
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Using archive interval of 300 seconds
Nov 27 09:14:06 raspberrypi weewx[6052]: manager: Created and initialized table 'archive' in database 'weewx.sdb'
Nov 27 09:14:06 raspberrypi weewx[6052]: manager: Created daily summary tables
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Starting backfill of daily summaries
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Daily summaries up to date.
Nov 27 09:14:06 raspberrypi weewx[6052]: engine: Starting up weewx version 3.4.0
Nov 27 09:14:07 raspberrypi weewx[6052]: engine: Clock error is -0.40 seconds (positive is fast)
Nov 27 09:14:07 raspberrypi weewx[6052]: engine: Starting main packet loop.
Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template NOAA/NOAA-YYYY.txt.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template NOAA/NOAA-YYYY-MM.txt.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template week.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template XML/stranoma.xml.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/temp_outside.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/radar.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template mobile.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template attention.txt.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/wind.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template month.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/rain.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template weather.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template year.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/barometer.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template smartphone/index.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template index.html.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Skipping template RSS/weewx_rss.xml.tmpl: cannot find start time Nov 27 09:15:17 raspberrypi weewx[6052]: cheetahgenerator: Generated 0 files for report StandardReport in 0.21 seconds Nov 27 09:15:25 raspberrypi weewx[6052]: genimages: Generated 36 images for StandardReport in 6.96 seconds Nov 27 09:15:25 raspberrypi weewx[6052]: reportengine: copied 14 files to /home/weewx/public_html Nov 27 09:15:29 raspberrypi weewx[6052]: reportengine: ftp'd 0 files in 3.85 seconds

Thomas Keffer

unread,
Nov 27, 2017, 5:31:09 AM11/27/17
to weewx-user
Did you change databases? 

You can see if there is anything in the database by using the tool sqlite3. First download it (if you have not done so already):

sudo apt-install sqlite3

Now check what's in the database:

sqlite3 /home/weewx/archive/weewx.sdb
sqlite> select min(dateTime), max(dateTime) from archive;
sqlite> .quit

If there is nothing in the database, it's possible the memory in your Vantage is corrupt, so nothing is getting downloaded from it. To clear, follow the directions in the User's Guide.

-tk

--

Antony K.

unread,
Nov 27, 2017, 6:40:59 AM11/27/17
to weewx-user
I haven't touched anything of these files.

The most important direction( --clear ) has been done, I ran the following commands:


/etc/init.d/weewx stop
wee_device /home/weewx/weewx.conf --clear

Nov 26 20:25:06 raspberrypi wee_device[3736]: vantage: Archive memory cleared.

/etc/init.d/weewx start

but it continues to happen. I will try and wee_debug method.

Thomas Keffer

unread,
Nov 27, 2017, 7:18:47 AM11/27/17
to weewx-user
... and did you try sqlite3 and see what's in the database??

-tk

--

Antony K.

unread,
Nov 27, 2017, 7:53:59 AM11/27/17
to weewx-user
pi@raspberrypi ~ $ sqlite3 /home/weewx/archive/weewx.sdb;
SQLite version 3.8.2 2013-12-06 14:53:30
Enter ".help" for instructions
Enter SQL statements terminated with a ";"

sqlite> select min(dateTime), max(dateTime) from archive;
|
sqlite> .quit


What else can I do?
Message has been deleted

Antony K.

unread,
Nov 27, 2017, 10:11:53 AM11/27/17
to weewx-user
After console power off for 3 minutes:

Nov 27 16:52:55 raspberrypi weewx[3786]: vantage: LOOP #78; read error. Try #1
Nov 27 16:52:55 raspberrypi weewx[3786]:    ****  Expected to read 99 chars; got 0 instead
Nov 27 16:53:00 raspberrypi weewx[3786]: vantage: LOOP #79; read error. Try #2
Nov 27 16:53:00 raspberrypi weewx[3786]:    ****  Expected to read 99 chars; got 0 instead
Nov 27 16:53:05 raspberrypi weewx[3786]: vantage: LOOP #80; read error. Try #3
Nov 27 16:53:05 raspberrypi weewx[3786]:    ****  Expected to read 99 chars; got 0 instead
Nov 27 16:53:10 raspberrypi weewx[3786]: vantage: LOOP #81; read error. Try #4
Nov 27 16:53:10 raspberrypi weewx[3786]:    ****  Expected to read 99 chars; got 0 instead
Nov 27 16:53:10 raspberrypi weewx[3786]: vantage: Max retries (4) exceeded.
Nov 27 16:53:10 raspberrypi weewx[3786]: engine: Shutting down StdReport thread
Nov 27 16:53:12 raspberrypi weewx[3786]: engine: Caught WeeWxIOError: Max retries exceeded while getting LOOP data.
Nov 27 16:53:12 raspberrypi weewx[3786]:     ****  Waiting 60 seconds then retrying...

Thomas Keffer

unread,
Nov 27, 2017, 6:21:07 PM11/27/17
to weewx-user
OK, now that's different. Have you had these read errors all along? 

Looks like you may have a connectivity issue. Seeing as how you just updated the firmware, double check to make sure the logger is firmly seated in the console. 

Do you have a USB logger, or serial logger? 

-tk


--

gjr80

unread,
Nov 27, 2017, 9:07:23 PM11/27/17
to weewx-user
Not a Vue user nor have I ever upgraded my VP2 firmware, but the firmware upgrade doesn't reset any communications parameters in the console does it?

Gary
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.

Antony K.

unread,
Nov 28, 2017, 5:46:57 AM11/28/17
to weewx-user
Nov 28 09:25:34 raspberrypi wee_device[12649]: vantage: Archive memory cleared
Nov 28 09:25:55 raspberrypi weewx[12744]: engine: Initializing weewx version 3.4.0 Nov 28 09:25:55 raspberrypi weewx[12744]: engine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3] Nov 28 09:25:55 raspberrypi weewx[12744]: engine: Platform Linux-4.4.16-v7+-armv7l-with-debian-7.8 Nov 28 09:25:55 raspberrypi weewx[12744]: engine: pid file is /var/run/weewx.pid Nov 28 09:25:55 raspberrypi weewx[12750]: engine: Using configuration file /home/weewx/weewx.conf Nov 28 09:25:55 raspberrypi weewx[12750]: engine: Loading station type Vantage (weewx.drivers.vantage) Nov 28 09:25:55 raspberrypi weewx[12750]: engine: StdConvert target unit is 0x1 Nov 28 09:25:55 raspberrypi weewx[12750]: engine: Archive will use data binding wx_binding Nov 28 09:25:55 raspberrypi weewx[12750]: engine: Record generation will be attempted in 'hardware' Nov 28 09:25:55 raspberrypi weewx[12750]: engine: Using archive interval of 300 seconds Nov 28 09:25:56 raspberrypi weewx[12750]: manager: Created and initialized table 'archive' in database 'weewx.sdb' Nov 28 09:25:56 raspberrypi weewx[12750]: manager: Created daily summary tables Nov 28 09:25:56 raspberrypi weewx[12750]: engine: Using binding 'wx_binding' to database 'weewx.sdb' Nov 28 09:25:56 raspberrypi weewx[12750]: engine: Starting backfill of daily summaries Nov 28 09:25:56 raspberrypi weewx[12750]: engine: Daily summaries up to date. Nov 28 09:25:56 raspberrypi weewx[12750]: engine: Starting up weewx version 3.4.0 Nov 28 09:25:56 raspberrypi weewx[12750]: engine: Clock error is -154.87 seconds (positive is fast) Nov 28 09:25:57 raspberrypi weewx[12750]: vantage: Clock set to 2017-11-28 09:25:58 EET (1511853958) Nov 28 09:25:58 raspberrypi weewx[12750]: engine: Starting main packet loop.
Nov 28 09:30:17 raspberrypi weewx[12750]: manager: added record 2017-11-28 09:30:00 EET (1511854200) to database 'weewx.sdb' Nov 28 09:30:17 raspberrypi weewx[12750]: manager: added record 2017-11-28 09:30:00 EET (1511854200) to daily summary in 'weewx.sdb' Nov 28 09:30:27 raspberrypi weewx[12750]: cheetahgenerator: Generated 17 files for report StandardReport in 10.02 seconds Nov 28 09:30:39 raspberrypi weewx[12750]: genimages: Generated 49 images for StandardReport in 11.14 seconds Nov 28 09:30:39 raspberrypi weewx[12750]: reportengine: copied 14 files to /home/weewx/public_html Nov 28 09:30:44 raspberrypi weewx[12750]: reportengine: ftp'd 1 files in 5.56 seconds

I have a USB logger.

You won't believe what happening.

After many trials and a long sleepless night while trying to solve the above problem, I concluded this:

In the Vantage Vue console settings the Serial Baud Rate option does not appear anywhere!

This is very strange. Also the Weewx program can not draw the data and the errors can be seen in syslog file.

I went back to firmware version 3.00 and all problems were solved.

What can be happening with the firmware version 4.18?
console.jpg

Andrew Milner

unread,
Nov 28, 2017, 6:35:54 AM11/28/17
to weewx-user
Re vantage vue baud rate setting - from the manual:

How to Display the Baud Rate To display the Baud Rate settings on a Vantage Pro or Vantage Pro2 console, make sure the data logger is installed and then continue using the following procedures: • Enter the console Setup Mode by pressing and holding DONE, then pressing the (-) key. • Use the BAR and DONE to scroll to the Baud Rate settings screen:
Use the up (+) and down (-) arrows to change the Baud Rate setting, if needed. Press and hold DONE to return the console to the current weather mode. • Use the fastest Baud Rate your computer can handle. 19200 is the fastest Baud Rate available and is the default setting on the console. • Press DONE when you have the correct Baud Rate on the console screen.


To display the Baud Rate settings on a Vantage Vue console, make sure the data logger is installed and then continue using the following procedures: • Enter the console Setup Mode by pressing and holding DONE, then pressing the (-) key.
8
USB Hardware Installation
• Press BAR to get to the Baud Rate settings screen:
Use the up (+) and down (-) arrows to change the Baud Rate setting, if needed. Press and hold DONE to return the console to the current weather mode. • Use the fastest Baud Rate your computer can handle. 19200 is the fastest Baud Rate available and is the default setting on the console. • Press and hold DONE when you have the correct Baud Rate on the console screen
Note: The data logger does not require a constant connection with a computer to continue logging and storing data. Although the data logger should remain connected to the console at all times, the data logger needs to be connected to the computer only when data is being downloaded or when the computer is actively using data from the data logger. The data logger and console can be disconnected from the computer if they are placed in a location where the data logger cable cannot reach. However, WeatherLink’s bulletin, summary, or other real-time window displays are accessible only if the data logger and console are connected to the computer.

Andrew Milner

unread,
Nov 28, 2017, 6:36:53 AM11/28/17
to weewx-user

Thomas Keffer

unread,
Nov 28, 2017, 6:37:42 AM11/28/17
to weewx-user
You would have to ask Davis that question. 

Glad things are working now.

-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+unsubscribe@googlegroups.com.

Antony K.

unread,
Nov 28, 2017, 7:03:49 AM11/28/17
to weewx-user
On Tuesday, November 28, 2017 at 1:35:54 PM UTC+2, Andrew Milner wrote:
Re vantage vue baud rate setting - from the manual:

How to Display the Baud Rate To display the Baud Rate settings on a Vantage Pro or Vantage Pro2 console, make sure the data logger is installed and then continue using the following procedures: • Enter the console Setup Mode by pressing and holding DONE, then pressing the (-) key. • Use the BAR and DONE to scroll to the Baud Rate settings screen:
Use the up (+) and down (-) arrows to change the Baud Rate setting, if needed. Press and hold DONE to return the console to the current weather mode. • Use the fastest Baud Rate your computer can handle. 19200 is the fastest Baud Rate available and is the default setting on the console. • Press DONE when you have the correct Baud Rate on the console screen.


To display the Baud Rate settings on a Vantage Vue console, make sure the data logger is installed and then continue using the following procedures: • Enter the console Setup Mode by pressing and holding DONE, then pressing the (-) key.
8
USB Hardware Installation
• Press BAR to get to the Baud Rate settings screen:
Use the up (+) and down (-) arrows to change the Baud Rate setting, if needed. Press and hold DONE to return the console to the current weather mode. • Use the fastest Baud Rate your computer can handle. 19200 is the fastest Baud Rate available and is the default setting on the console. • Press and hold DONE when you have the correct Baud Rate on the console screen
Note: The data logger does not require a constant connection with a computer to continue logging and storing data. Although the data logger should remain connected to the console at all times, the data logger needs to be connected to the computer only when data is being downloaded or when the computer is actively using data from the data logger. The data logger and console can be disconnected from the computer if they are placed in a location where the data logger cable cannot reach. However, WeatherLink’s bulletin, summary, or other real-time window displays are accessible only if the data logger and console are connected to the computer.

The Serial Baud Rate option does not appear in console with firmware version 4.18.
The attachment console.jpg is console screen with 3.00 firmware installation.

Andrew Milner

unread,
Nov 28, 2017, 8:46:49 AM11/28/17
to weewx-user
A silly question - but what is the manufacturing code for your console?  I see the update to 4.18 is only for consoles with manufacturing code greater than MB.  As the previous version seems to work it is probably best to take the matter up with Davis directly.

Antonis Katsonis

unread,
Dec 20, 2017, 10:58:30 AM12/20/17
to weewx-user
Manufacturing Code
D100915B140
Reply all
Reply to author
Forward
0 new messages