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

Davis forecast text strings

Discussion of Ken True's web site templates

Moderator: saratogaWX

BCJKiwi
Posts: 1259
Joined: Mon 09 Jul 2012 8:40 pm
Weather Station: Davis VP2 Cabled
Operating System: Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Davis forecast text strings

Post by BCJKiwi »

Steve,
We seem to be in a rather fixed weather pattern at present with only 9 different forecasts generated in 6 days.
Of these 9;
2 are in the 'list of 200'
5 are in the list but with different punctuation ( ','s and '.'s - mostly missing but one added )
2 are not there at all.
Some of these variations may be due to newer firmware versions having fixed some of the errors in older firmware.

In the meantime the routine published in post 1, if added to a system, will happily log every new forecast that appears on that system.
Simulating a station would speed up this process but it would seem that simulating all the combinations of weather conditions and the time factors that make up a forecast would be rather complex.
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: Davis forecast text strings

Post by steve »

BCJKiwi wrote:Simulating a station would speed up this process but it would seem that simulating all the combinations of weather conditions and the time factors that make up a forecast would be rather complex.
My proposed simulator would simply generate fake LOOP packets with each possible value of forecast rule in them. And if it was just a case of generating LOOP packets, I'd go ahead and do it, but unfortunately the simulator would also have to handle the other types of requests that the DLL sends.
Steve
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis forecast text strings

Post by mcrossley »

Is there another way to tackle this? It means more work for Steve, but if Cumulus is set to use the Davis forecast, return the Davis forecast number in the <#forecastnumber> rather than zero?
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: Davis forecast text strings

Post by steve »

Cumulus has no way of obtaining the Davis forecast number.
Steve
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis forecast text strings

Post by mcrossley »

Doh! Yes, I forgot the DLL does the conversion :bash:
More coffee needed :lol:
Post Reply