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
BT's Global Sager Weathercaster PHP Scripts For CumulusMX
Moderator: daj
- Buford T. Justice
- Posts: 423
- Joined: Fri 17 Aug 2012 9:21 pm
- Weather Station: Ecowitt GW1002
- Operating System: Windows 11 Pro
- Location: USA
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
It is not impossible. Here is a non-METAR TEST version of my PHP Scripts. You have to have the Current box showing in Cumulus and use these EXACTLY:
Clear
Partly Cloudy
Mostly Cloudy
Overcast
Precipitation
Clear
Partly Cloudy
Mostly Cloudy
Overcast
Precipitation
You do not have the required permissions to view the files attached to this post.
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Thanks BT.
I'll let you know of any success.
I'll let you know of any success.
Cheers,
Graeme.
Graeme.
- Buford T. Justice
- Posts: 423
- Joined: Fri 17 Aug 2012 9:21 pm
- Weather Station: Ecowitt GW1002
- Operating System: Windows 11 Pro
- Location: USA
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Any luck with the non-METAR version? You can also try the updated Zambretti Weathercard Forecaster linked in my signature below.
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I had a play with your scripts last week but ran out of time, so nothing to report yet. Certainly no negatives either, so that's a good sign...
I'll report back in a couple of weeks, with any luck.
Cheers
I'll report back in a couple of weeks, with any luck.
Cheers
Cheers,
Graeme.
Graeme.
-
- Posts: 29
- Joined: Sun 20 Jul 2014 5:53 pm
- Weather Station: N96GY
- Operating System: Wndows 8
- Location: ashreigney
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Thank you for this, just installed it and all is well applied an offset to sort out the wind as it was a bit high in my opinion
-
- Posts: 25
- Joined: Sat 13 Aug 2011 7:35 am
- Weather Station: Watson W8686
- Operating System: Windows 10
- Location: Swindon
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Excellent - got it working in 10 minutes and put in a 25 offset.
One terribly minor point - the link at the top of bt-sager.php to http://www.freewebs.com/btjustice/bt-forecasters.html is dead.
One terribly minor point - the link at the top of bt-sager.php to http://www.freewebs.com/btjustice/bt-forecasters.html is dead.
-
- Posts: 505
- Joined: Wed 17 Aug 2011 2:58 pm
- Weather Station: WeatherDuino Pro2
- Operating System: 2008
- Location: Canberra
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I've recently moved over to the Saratoga templates and now have just updated the website to use BT's Sager PHP scripts again.
They appear to be working too
Thanks again for these BT!
They appear to be working too
Thanks again for these BT!
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Conder, Canberra Weather
-
- Posts: 3294
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
If you are using Cumulus MX you will need to change bt-sager-cu.php line 22 from
to
Code: Select all
$updated = "<#timeUTC format="yyyy-mm-dd hh:nn"> UTC";
Code: Select all
$updated = "<#timeUTC format="yyyy-mm-dd hh:mm"> UTC";
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
That should be
Code: Select all
$updated = "<#timeUTC format="yyyy-MM-dd HH:mm"> UTC";
Steve
-
- Posts: 3294
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Yep corrected the time but forgot about the month!! Brain not in gear!!
- Buford T. Justice
- Posts: 423
- Joined: Fri 17 Aug 2012 9:21 pm
- Weather Station: Ecowitt GW1002
- Operating System: Windows 11 Pro
- Location: USA
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I have been holding off on that until MX goes public. As for the website, I need to update it as freewebs killed what I had for some reason.
- nking
- Posts: 808
- Joined: Thu 17 Dec 2009 2:03 pm
- Weather Station: W-8681
- Operating System: Windows 10
- Location: Hurstpierpoint, West Sussex, UK
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Just a quick note to say thank you to Buford T. Justice for his excellent work . With very clear instructions I've added it to my site with no problems
- nking
- Posts: 808
- Joined: Thu 17 Dec 2009 2:03 pm
- Weather Station: W-8681
- Operating System: Windows 10
- Location: Hurstpierpoint, West Sussex, UK
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
Woke up this morning to fog (cloud at ground level) but wondered why the forecast was showing showers/rain and because of the temperature this was amended to snow. Taking a look at the php script I noticed that in line 154 ("VV" Clouds cannot be seen because of fog or heavy precipitation, so vertical visibility is given instead.) is considered "Precipitation". I amended mine to "Overcast" which, in my opinion, results in a more appropriate forecast. I will rely on my station to report if it is raining
- jlp09550
- Posts: 53
- Joined: Sun 27 Dec 2009 3:35 am
- Weather Station: ProWeatherStation
- Operating System: Windows 10
- Location: Mouton Cove, Abbeville, Louisiana, USA
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I just implemented this on my weather station website. I'm curious to see how accurate it'll be. So far, so good, though!
- kasper58
- Posts: 25
- Joined: Tue 12 Jul 2011 5:17 am
- Weather Station: Fine Offset (SS), TempestWX
- Operating System: Windows 10 on Desktop
- Location: New Zealand
- Contact:
Re: BT's Global Sager Weathercaster PHP Scripts For Cumulus
I am running CumulusMX and Apache2 on a Raspberry Pi.
I tried to implement the Sager script, but it fails, all I get is the title '12-24 Hour Forecast:' and no data.
I noticed that the bt-sager-cu.php creates a bt-sager-cu.phptmp in the web dir. Is this because it is owned by pi whereas root runs the script.
I have all 3 bt-sager .php's (bt-sager-cu.php with process selected) in the Extra Files to be copied to /var/web/html.
Any help appreciated.
UPDATE:
Got it sorted, needed to install php-curl
Restart apache2 and bingo.....
Will monitor now and see how well it works for me, I'm approx 70km from METAR station.
I tried to implement the Sager script, but it fails, all I get is the title '12-24 Hour Forecast:' and no data.
I noticed that the bt-sager-cu.php creates a bt-sager-cu.phptmp in the web dir. Is this because it is owned by pi whereas root runs the script.
I have all 3 bt-sager .php's (bt-sager-cu.php with process selected) in the Extra Files to be copied to /var/web/html.
Any help appreciated.
UPDATE:
Got it sorted, needed to install php-curl
Code: Select all
sudo apt-get install php5-curl
Will monitor now and see how well it works for me, I'm approx 70km from METAR station.