Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

First ever error reading from VP2

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

First ever error reading from VP2

Post by mcrossley »

ON 20/04 @ 00:59:54 I had my first ever error reading data from the VP2, turned out teh second Cumulus instance reading from the FO had the same error 1 second earlier - suspicious!

Code: Select all

Fine Offset...
17/04/2014 22:54:06 : Lost sensor contact!!!
17/04/2014 22:54:16 : Lost sensor contact!!!
20/04/2014 00:59:53 : Data input appears to have stopped - check your station and connections

VP2...
20/04/2014 00:59:54 : Data input appears to have stopped - check your station and connections
Investigation shows that the Windows clock was corrected at this point, from the event log...

Code: Select all

Previous Time:		‎2014‎-‎04‎-‎20T00:00:01.862643100Z
New Time:			2014‎-‎04‎-‎19T23:59:52.585203700Z

This event is generated when the system time is changed. It is normal for the Windows Time Service, which runs with System privilege, to change the system time on a regular basis. Other system time changes may be indicative of attempts to tamper with the computer.
Never seen that happen before (Cumulus log the error that is, not the clock being corrected). I just posted this out of interest, no big deal.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: First ever error reading from VP2

Post by steve »

Going backwards in time over a minute boundary will tend to trigger the 'data stopped' code, because the check is done in the code which runs when the minute changes (which would normally be once a minute). It's not easy to cater for this situation.

Having Windows adjust the clock at midnight in particular is risky and may cause you some problems.
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: First ever error reading from VP2

Post by mcrossley »

I have changed the update interval from the default of 1 week to 2 hours, and started the sync at xx:46. So the new interval should mean any future corrections are small, and will not occur on the hour. Seems like the best you can do?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: First ever error reading from VP2

Post by steve »

I thought you could set it to to do it at a specific time, using Task Scheduler?
Steve
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: First ever error reading from VP2

Post by water01 »

Yes you can. It is Task Scheduler under Microsoft/windows/Time scheduler.
David
Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: First ever error reading from VP2

Post by mcrossley »

Ah, it seems there are two independent schedules. The W32time service itself has its own update schedule, you can see this from system tray|Date & Time|Internet time. Here you will see the last time the service updated the time and the next time it is scheduled to check again. The interval being controlled by a registry setting for the ntpclient, and the time controlled by when you press 'update now' (and when you reboot?).

The task scheduler also has a job that triggers a synch at 01:00 every Sunday - presumably to catch DST changes?

Both settings appear work independently of each other.

Funny but I remember I had some in-depth conversations with the original author of the Windows time service back in the day when I was writing an NTP client time synchronisation program for the BBC micro over dial-up networking.
Post Reply