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
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
No Forecast update.
Moderator: mcrossley
-
Jeff-T
- Posts: 14
- Joined: Mon 11 Jan 2016 8:32 am
- Weather Station: Davis Vantage Pro2 with FARS
- Operating System: Windows 10
- Location: Milton Keynes
No Forecast update.
The (Davis) weather forecast does not seem to be updating, it is different on the Davis console to the local network webpage I have the update set to hourly and the Cumulus forecast unticked but still showing yesterdays forecast.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: No Forecast update.
When you say local network web page, do you mean the 'dashboard' page in the MX user interface? If so, please do the following:
1. Turn on data logging for a couple of minutes, and then zip up and attach the latest MXdiags file here
2. Please quote the forecast string being shown on the MX dashboard and on the console
3. Put this URL into your browser and paste the output here: http://localhost:8998/api/data/currentdata
(correct the first part of the URL for your system if required)
4. Look in your browser F12 console to see if any errors are logged while viewing the dashboard page
1. Turn on data logging for a couple of minutes, and then zip up and attach the latest MXdiags file here
2. Please quote the forecast string being shown on the MX dashboard and on the console
3. Put this URL into your browser and paste the output here: http://localhost:8998/api/data/currentdata
(correct the first part of the URL for your system if required)
4. Look in your browser F12 console to see if any errors are logged while viewing the dashboard page
Steve
-
Jeff-T
- Posts: 14
- Joined: Mon 11 Jan 2016 8:32 am
- Weather Station: Davis Vantage Pro2 with FARS
- Operating System: Windows 10
- Location: Milton Keynes
Re: No Forecast update.
Sorry I did mean Dashboard.
Before I saw your reply I checked a local weather website http://www.mkweather.co.uk/ which uses Cumulus v1.9.4 (1099) and the forecast is the same as on my Dashboard - Forecast: Mostly cloudy and cooler. Precipitation ending within 6 hours Windy with possible wind shift to the W, NW, or N.
I then rechecked the forecast on the Davis console and it reads Mostly cloudy and cooler. Precipitation ending within 6 hours Windy. The Davis Weatherlink software also reports Mostly cloudy and cooler. Precipitation ending within 6 hours Windy.
It looks like the Davis forecast is truncated which made me think it was different. Strange then that Cumulus appears to be able to read the full forecast from the Davis console which supplies the data but the Console and software cannot.
Before I saw your reply I checked a local weather website http://www.mkweather.co.uk/ which uses Cumulus v1.9.4 (1099) and the forecast is the same as on my Dashboard - Forecast: Mostly cloudy and cooler. Precipitation ending within 6 hours Windy with possible wind shift to the W, NW, or N.
I then rechecked the forecast on the Davis console and it reads Mostly cloudy and cooler. Precipitation ending within 6 hours Windy. The Davis Weatherlink software also reports Mostly cloudy and cooler. Precipitation ending within 6 hours Windy.
It looks like the Davis forecast is truncated which made me think it was different. Strange then that Cumulus appears to be able to read the full forecast from the Davis console which supplies the data but the Console and software cannot.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: No Forecast update.
The console doesn't supply the text of the forecast to software, it supplies a code which software then has to convert to one of about 200 forecast strings. In the case of Cumulus 1, the software doing the mapping is the Davis-supplied DLL. MX uses a table which has been made available on the internet by someone who extracted it from somewhere - I can't remember whether they got it from the Davis DLL or from the console firmware.
Steve
- 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: No Forecast update.
Steve, would it be a good idea if the Davis forecast table was held in an 'ini' file so it could be localised?
I wrote a little PHP script to convert the forecast code and hemisphere into text using only unique strings, don't know if that is of any use...
http://weather.wilmslowastro.com/utils/ ... e>&hemi=<N or S>
eg: http://weather.wilmslowastro.com/utils/ ... 103&hemi=N
Source: http://weather.wilmslowastro.com/utils/ ... p?view=src
I couldn't see any pattern to use a clever way of doing the lookup other than using a big table, I have used explicit keys in the arrays to make reading it easier.
I wrote a little PHP script to convert the forecast code and hemisphere into text using only unique strings, don't know if that is of any use...
http://weather.wilmslowastro.com/utils/ ... e>&hemi=<N or S>
eg: http://weather.wilmslowastro.com/utils/ ... 103&hemi=N
Source: http://weather.wilmslowastro.com/utils/ ... p?view=src
I couldn't see any pattern to use a clever way of doing the lookup other than using a big table, I have used explicit keys in the arrays to make reading it easier.
Last edited by mcrossley on Wed 13 Jan 2016 11:23 am, edited 2 times in total.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: No Forecast update.
Yes, it would - I guess it could go into strings.ini with the others. Splitting up the strings as you've done would make the translation process much simpler - I'll look at doing the same in MX.mcrossley wrote:Steve, would it be a good idea if the Davis forecast table was held in an 'ini' file so it could be localised?
Steve
- 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: No Forecast update.
I added a hemisphere parameter to the code, see edited post above. Omitting the hemisphere parameter defaults to 'N'
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: No Forecast update.
I remember previous discussions about the southern hemisphere, but not what the outcome was, if any.
So "W, NW, or N." is for the northern hemisphere (I don't think I've ever seen anything else) and that corresponds to "W, SW, or S." for the southern hemisphere? And as the console knows which hemisphere you're in, presumably it generates the appropriate code, so I don't actually have to do anything in Cumulus?
So "W, NW, or N." is for the northern hemisphere (I don't think I've ever seen anything else) and that corresponds to "W, SW, or S." for the southern hemisphere? And as the console knows which hemisphere you're in, presumably it generates the appropriate code, so I don't actually have to do anything in Cumulus?
Steve
- 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: No Forecast update.
As far as I know the existing code tables only contain the two 'W, NW, or N' variants, so you need to compensate for the hemisphere.
The two alternative strings 'W, SW, or S' are from the Davis DLL, which presumably like the console also uses the latitude to determine which variant to use.
The two alternative strings 'W, SW, or S' are from the Davis DLL, which presumably like the console also uses the latitude to determine which variant to use.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: No Forecast update.
Right - the table in MX only has the northern ones it. I hadn't spotted that your original code didn't use the southern ones.
Steve