Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
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
Now available: AJAX/PHP multilingual website templates
Moderator: saratogaWX
-
- Posts: 21
- Joined: Wed 12 Jan 2011 9:45 am
- Weather Station: VP2
- Operating System: W7
- Location: Ruislip
Re: Now available: AJAX/PHP multilingual website templates
Hi,
I found an alternative solution to getting the Davis forecast updating on my website. I used a script from Dynamic Drive to process a text file. I also got the text file to include the current conditions, partly from mweather.exe and partly generated from Cumulus alarms. It currently updates every 5 mins but will increase that when I am sure it works well.
See http://www.weather.btinternet.co.uk/ajax.htm
Dave
I found an alternative solution to getting the Davis forecast updating on my website. I used a script from Dynamic Drive to process a text file. I also got the text file to include the current conditions, partly from mweather.exe and partly generated from Cumulus alarms. It currently updates every 5 mins but will increase that when I am sure it works well.
See http://www.weather.btinternet.co.uk/ajax.htm
Dave
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
I don't know if this is the same thing that you're asking about, but the figure supplied by Cumulus itself is the number of complete meteorological days since the last day with rain. So, if for example it last rained on Monday, and today is Thursday, that's two complete days without rain (Tuesday and Wednesday).vpokroglo wrote:I noticed a strange behaviour of function "Days since last rain". I think this is happening from one of the last updates of defs, tags file. The page is showing one day less, than it should be. So if it is raining on 26. 10. 2011, and today is 28. 10. 2011, there are 2 days, but my page shows "1 day since last rain.".
Steve
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Just a note to let you know that several updates to the templates are now available.
First, a new wxmetar.php page was added to the Base-* distributions .. this new page allows you to display the reports from your nearby METAR stations. For Canada/World, the display is also multilingual.
Second, for Base-World distribution, an improved WU-forecast.php is available with multi-city forecast capability (like the same capability for Base-USA in the NOAA forecasts).
Third, the capability for right-to-left reading languages has been added to the Base-World template, and the Hebrew translations were provided by Eli of Sde Hemed Weather. For this capability, a new Settings-language.php file was implemented to make it easier to update languages as they become available.
Updates for V3 templates are available from the updates page
Convert V2 WD/AJAX/PHP to V3 easily using the upgrade tool page.
You can keep informed of updates as they become available using the RSS feed and/or the SaratogaWXPHP Twitter feed.
Best regards,
Ken
First, a new wxmetar.php page was added to the Base-* distributions .. this new page allows you to display the reports from your nearby METAR stations. For Canada/World, the display is also multilingual.
Second, for Base-World distribution, an improved WU-forecast.php is available with multi-city forecast capability (like the same capability for Base-USA in the NOAA forecasts).
Third, the capability for right-to-left reading languages has been added to the Base-World template, and the Hebrew translations were provided by Eli of Sde Hemed Weather. For this capability, a new Settings-language.php file was implemented to make it easier to update languages as they become available.
Updates for V3 templates are available from the updates page
Convert V2 WD/AJAX/PHP to V3 easily using the upgrade tool page.
You can keep informed of updates as they become available using the RSS feed and/or the SaratogaWXPHP Twitter feed.
Best regards,
Ken
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Another update 21-Nov-2011 to Base-* V3 websites. The wxstatus.php page has been redesigned to accommodate any custom checks you'd like to do, and the stock weather software checks have been moved to a new include-wxstatus.php page .. this enables an easy update of include-wxstatus.php when new weather software is added to the templates, and not to disturb your custom checks in wxstatus.php
The update has the following changes:
1) fixed Weather-Display clientraw.txt test
2) fixed several Multi-lingual omissions
3) added stock checks for Cumulus, VWS and WeatherLink NOAA-style reports (Thanks to Beau for the suggestion)
4) added Weather-Display <Month><year>.htm monthly report check
Update from the updates page. (21-Nov-2011)
Best regards,
Ken
The update has the following changes:
1) fixed Weather-Display clientraw.txt test
2) fixed several Multi-lingual omissions
3) added stock checks for Cumulus, VWS and WeatherLink NOAA-style reports (Thanks to Beau for the suggestion)
4) added Weather-Display <Month><year>.htm monthly report check
Update from the updates page. (21-Nov-2011)
Best regards,
Ken
- NetRaider
- Posts: 17
- Joined: Mon 21 Nov 2011 9:56 pm
- Weather Station: WH1081
- Operating System: Win7, XP, CentOS 5, Linux Mint
- Location: Langbank, Scotland
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Got a bit of an odd problem. If you look at the page here;
http://www.monaghan.tv/weather/ajax
Underneath the thermometer the highs and lows for today and yesterday are displayed. Today shows fine but yesterdays results appear to be stuck both temps and time, the values are wrong anyway as they are too high. I've let this run for a couple of days to see if anything changes but no joy.
If I change the configuration from Centigrade to Fahrenheit yesterdays values still show in centigrade with the wrong values.
I'd appreciate any help with this.
http://www.monaghan.tv/weather/ajax
Underneath the thermometer the highs and lows for today and yesterday are displayed. Today shows fine but yesterdays results appear to be stuck both temps and time, the values are wrong anyway as they are too high. I've let this run for a couple of days to see if anything changes but no joy.
If I change the configuration from Centigrade to Fahrenheit yesterdays values still show in centigrade with the wrong values.
I'd appreciate any help with this.
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Thre is someting odd with your uploads ? http://www.monaghan.tv/weather/ajax/wxstatus.php I don't have time now but Ken knows the most of it and about your cumulus version ?? Cumulus (1.9.0-b958)
- NetRaider
- Posts: 17
- Joined: Mon 21 Nov 2011 9:56 pm
- Weather Station: WH1081
- Operating System: Win7, XP, CentOS 5, Linux Mint
- Location: Langbank, Scotland
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
I'm actually using 1.9.2 so not sure whay it's being reported as an older version.nitrx wrote:Thre is someting odd with your uploads ? http://www.monaghan.tv/weather/ajax/wxstatus.php I don't have time now but Ken knows the most of it and about your cumulus version ?? Cumulus (1.9.0-b958)
- saratogaWX
- Posts: 1211
- Joined: Wed 06 May 2009 5:02 am
- Weather Station: Davis Vantage Pro Plus
- Operating System: Windows 10 Professional
- Location: Saratoga, CA, USA
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
It's fairly simple. In your Settings-weather.php you haveNetRaider wrote:I'm actually using 1.9.2 so not sure whay it's being reported as an older version.nitrx wrote:Thre is someting odd with your uploads ? http://www.monaghan.tv/weather/ajax/wxstatus.php I don't have time now but Ken knows the most of it and about your cumulus version ?? Cumulus (1.9.0-b958)
Code: Select all
$SITE['WXtags'] = 'CUtags.php';
$SITE['realtimefile'] = '../realtime.txt';
http://www.monaghan.tv/weather/ajax/CUtags.php?sce=dump
show:
You appear to be uploading your tags one directory higher at:
// $WX[] array size = 174 entries.
$WX['date'] = '1/27/2011'; // The current date
$WX['time'] = '09:15 on 27 January 2011'; // The current time and date. Example result: 18:30 on 30 December 2009. If you simply wish the time, use a combination of the day, month, year tags (below)
http://www.monaghan.tv/weather/CUtags.php?sce=dump
The fix is to change your Settings-weather.php to// $WX[] array size = 478 entries.
$WX['tempunit'] = '°C';
$WX['tempunitnodeg'] = 'C';
$WX['pressunit'] = 'hPa';
$WX['rainunit'] = 'in';
$WX['windunit'] = 'mph';
$WX['windrununit'] = 'miles';
$WX['cloudbaseunit'] = 'ft';
$WX['date'] = '26/11/2011';
$WX['time'] = '16:30 on 26 November 2011';
Code: Select all
$SITE['WXtags'] = '../CUtags.php';
Best regards,
Ken
- NetRaider
- Posts: 17
- Joined: Mon 21 Nov 2011 9:56 pm
- Weather Station: WH1081
- Operating System: Win7, XP, CentOS 5, Linux Mint
- Location: Langbank, Scotland
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Doh! Thanks for your help much appreciated.saratogaWX wrote:
It's fairly simple. In your Settings-weather.php you haveand your tags atCode: Select all
$SITE['WXtags'] = 'CUtags.php'; $SITE['realtimefile'] = '../realtime.txt';
http://www.monaghan.tv/weather/ajax/CUtags.php?sce=dump
show:You appear to be uploading your tags one directory higher at:
// $WX[] array size = 174 entries.
$WX['date'] = '1/27/2011'; // The current date
$WX['time'] = '09:15 on 27 January 2011'; // The current time and date. Example result: 18:30 on 30 December 2009. If you simply wish the time, use a combination of the day, month, year tags (below)
http://www.monaghan.tv/weather/CUtags.php?sce=dump
The fix is to change your Settings-weather.php toso the template will use your current tags instead of the 'sample' tags included with the template (which contain data from my station back in January, 2011).Code: Select all
$SITE['WXtags'] = '../CUtags.php';
Best regards,
Ken
-
- Posts: 119
- Joined: Mon 11 Oct 2010 7:56 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7
Re: Now available: AJAX/PHP multilingual website templates
I'm having a problem getting the Weather Underground script working. Basically i'm getting the forecast for Denmark but its Waterford City, Ireland i want. I've tried putting the url in the script as guided with no joy. Do i need to delete all the URLs listed and just use the address for Waterford on the Weather Underground site? Its probably something simple i'm doing wrong. Here is the WU-Forecast.php file i have uploaded to my website. Maybe someone can tell me exactly what i need to change. Cheers
http://www.waterfordcityweather.com/WU-forecast.php
http://www.waterfordcityweather.com/WU-forecast.php
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
It looks like you need to change this line
and use your station number instead of 06075; but I don't know where you find your station number.
Edit: It looks like this works:
Code: Select all
$WU_URL = 'http://www.wunderground.com/global/stations/06075.html';
Edit: It looks like this works:
Code: Select all
$WU_URL = 'http://www.wunderground.com/global/stations/WWATE.html';
Steve
-
- Posts: 119
- Joined: Mon 11 Oct 2010 7:56 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7
Re: Now available: AJAX/PHP multilingual website templates
Thanks steve that did the trick.steve wrote:It looks like you need to change this line
and use your station number instead of 06075; but I don't know where you find your station number.Code: Select all
$WU_URL = 'http://www.wunderground.com/global/stations/06075.html';
Edit: It looks like this works:
Code: Select all
$WU_URL = 'http://www.wunderground.com/global/stations/WWATE.html';
Edit: Not very familiar with PHP so i'm wondering how do i center the text and also add a background color? Cheers
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Weather in Tortosa (NE Spain), updated every 15'
- meteotortosa
- Posts: 323
- Joined: Thu 04 Dec 2008 12:15 am
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows XP SP3
- Location: Tortosa-Baix Ebre- Catalonia
- Contact:
Re: Now available: AJAX/PHP multilingual website templates
Weather in Tortosa (NE Spain), updated every 15'
-
- Posts: 119
- Joined: Mon 11 Oct 2010 7:56 pm
- Weather Station: Davis Vantage Vue
- Operating System: Windows 7
Re: Now available: AJAX/PHP multilingual website templates
I got the script up and running today which i'm delighted about but i'm wondering how do i edit the wxindex.php to change the default settings? Also i have the WU-Forecast.php running properly for my area but the forecast on the wxindex.php is not the correct region. Here are my links Http://www.waterfordcityweather.com/wxindex.php
http://www.waterfordcityweather.com/WU-forecast.php
Edit: Changed the defaults in the settings.php file so all is well.
http://www.waterfordcityweather.com/WU-forecast.php
Edit: Changed the defaults in the settings.php file so all is well.