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

Setting Davis console time

Discussion specific to Davis weather stations
Post Reply
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Setting Davis console time

Post by XBower »

Hi all.

I have been experimenting a bit with the "Synchronise station clock" option lately.
First, YES - it DOES work with the WeatherLinkIP logger, at least with the latest firmware (1.1.1).
I would say that these lines from the diag file shows this:
2014-04-03 16:23:27.338 : VP2: Setting station clock
2014-04-03 16:23:27.338 : y=2014 m=4 d=3 h=16 m=23
2014-04-03 16:23:29.401 : VP2: SetStationTime_V res = 0

I have, as many others, noticed that the time on the console lags sometimes quite a lot.
I know that this is because the set time command only accept a 1 minute resolution, and Cumulus simply strips off the seconds from the current time when setting the console time.

What I was thinking --
Would it not be possible to synchronise the issuing of this command with the PC clock, at xx seconds sharp?
Either at a predefined value or user configurable, to take into account some local network latency.
I would imagine that this could make the initialising process a bit longer when starting Cumulus, but I for one would gladly take that if it would insure an accurate clock on the console at all times.

I use a Davis Vantage Vue station with WeatherLinkIP logger and Cumulus 1.9.4 b1085.

Regards
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
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: Setting Davis console time

Post by steve »

Presumably you don't leave Cumulus running overnight? When it does the daily clock setting at around 0400, it should do it within a couple of seconds of the hour/minute. At start up, you can wait until a few seconds before the minute before starting Cumulus.
Steve
XBower
Posts: 55
Joined: Fri 09 Aug 2013 9:12 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 64b
Location: Gothenburg, SE

Re: Setting Davis console time

Post by XBower »

Hi.

That's correct, I don't run the system 24/7 (yet).
I simply wrote a short program that holds my startup sequence until the system time reaches a specific second before starting Cumulus.
There seems to be an average of 13 seconds after startup until the set time command is issued, so I think this will work.

Thanks
----------------------------------------------------------------------
--- There IS intelligent life on Earth, but I'm only visiting ---
----------------------------------------------------------------------
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: Setting Davis console time

Post by steve »

I think that as a possible future enhancement, it could delay setting the clock until after it has downloaded any logger data, then set the clock on the next minute after that; rather than pausing when it starts up, doing nothing for up to a minute.
Steve
Post Reply