Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.0 build 3048 - 02 March 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

BT's Global Sager Weathercaster PHP Scripts For Cumulus

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Sun 19 May 2013 8:04 pm

Werk_AG wrote:As I suspected... I can't do that, mostly of the time I'm far away from the station location.
Thanks for reply.
In that case, you could edit the bt-sager-cu.js file and change var c to:

Code: Select all

var c = "partly cloudy";
That should be fairly accurate for the majority of possibilities.

There is also my Global Zambretti Weathercard Forecaster JavaScript which doesn't need to know the current weather condition:

http://sandaysoft.com/forum/viewtopic.php?f=14&t=9453

User avatar
Werk_AG
Posts: 184
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino Pro2 PLUS
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Werk_AG » Mon 20 May 2013 4:11 am

Buford T. Justice wrote: In that case, you could edit the bt-sager-cu.js file and change var c to:

Code: Select all

var c = "partly cloudy";
That should be fairly accurate for the majority of possibilities.
Thanks for the hint.

I modified the bt-sager.js script to work with abbreviations of compass letters used in some countries (PT / ES / FR). I have to do it because I had translated almost all strings used by Cumulus (in strings.ini), including barometric trends.
Latter, I will also try to translate the forecasts to Portuguese language.

Regards
Do it Yourself - The freedom to use the weather instruments you want.

Image

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Thu 23 May 2013 10:00 pm

I can report since using BT's new forecaster the wind direction and forecast have been very accurate! :clap:
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Fri 24 May 2013 6:51 am

uncle_bob wrote:I can report since using BT's new forecaster the wind direction and forecast have been very accurate! :clap:
Thanks! Glad to hear it is working for the Southern Hemisphere :)

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Thu 30 May 2013 10:39 pm

BT's Global Sager Weathercaster JavaScripts For Cumulus have been updated. You must be running Cumulus 1.9.4 beta build 1079 or newer. To update, simply re-save bt-sager-cu.js in your Cumulus web folder then upload bt-sager.js to your web host.

If it has rained within the last 15 minutes, the forecast is now automatically updated as a raining forecast if you are away from your weather station.

As I suggested in an earlier post, if you are away from your weather station for long periods of time, set the Current Condition as Partly Cloudy. With the addition of now being able to tell if it is raining or not, this should make the forecasts very accurate.

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Fri 31 May 2013 10:48 am

BT, I tried the update, but forecast just showed offline and the clock hands disappeared again. I put the older version back and it's all working again.

So there might be a problem with the latest version and Weatherblues2.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Fri 31 May 2013 2:42 pm

uncle_bob wrote:BT, I tried the update, but forecast just showed offline and the clock hands disappeared again. I put the older version back and it's all working again.

So there might be a problem with the latest version and Weatherblues2.
You uploaded bt-sager.js to your website and saved bt-sager-cu.js to your C:\Cumulus\web folder?

User avatar
Werk_AG
Posts: 184
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino Pro2 PLUS
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Werk_AG » Fri 31 May 2013 11:53 pm

Code: Select all

If it has rained within the last 15 minutes, the forecast is now automatically updated as a raining forecast if you are away from your weather station.
Nice addition...

New version installed (now on frontpage in a Saratoga template) and seems it's working well.
Thank you
Do it Yourself - The freedom to use the weather instruments you want.

Image

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Sat 01 Jun 2013 12:20 am

Buford T. Justice wrote: You uploaded bt-sager.js to your website and saved bt-sager-cu.js to your C:\Cumulus\web folder?
Yes BT, I just tried doing it again and the same result.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Sat 01 Jun 2013 12:32 am

@Werk_AG
Thanks man. You need to change "var c" to "var cc".

@uncle_bob
I can see you have not put bt-sager-cu.js in the Cumulus web folder. This folder is on your computer. Usually "C:\Cumulus\web". You did upload the other file correctly.

EDIT:
Make sure you are running Cumulus 1.9.4 beta build 1079 or newer.

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Sat 01 Jun 2013 12:57 am

Buford T. Justice wrote: @uncle_bob
I can see you have not put bt-sager-cu.js in the Cumulus web folder. This folder is on your computer. Usually "C:\Cumulus\web". You did upload the other file correctly.

EDIT:
Make sure you are running Cumulus 1.9.4 beta build 1079 or newer.
Both are correct.
You do not have the required permissions to view the files attached to this post.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Sat 01 Jun 2013 1:00 am

I can now see on your website you have both files properly installed and configured, but you need to update Cumulus to 1079:

http://sandaysoft.com/forum/viewtopic.p ... 366#p82366

User avatar
Buford T. Justice
Posts: 390
Joined: Fri 17 Aug 2012 9:21 pm
Weather Station: Ambient Weather WS-2902A
Operating System: Windows 10 Pro 64-bit
Location: USA

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Buford T. Justice » Sat 01 Jun 2013 1:05 am

It is very stormy here and I just had a 30+ MPH wind gust. Here are what the forecasters say:

Sager
Rain or showers followed by improvement (within 12 hours); Moderate to fresh (13-24 mph) Southwest or West winds.

Zambretti
Becoming fine.

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Sat 01 Jun 2013 1:07 am

Sorry about that chief (in a sheepish Maxwell Smart voice) ;)

It is all working now.

I was reading 1076 as 1079 :)
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

uncle_bob
Posts: 491
Joined: Wed 17 Aug 2011 2:58 pm
Weather Station: WeatherDuino Pro2
Operating System: 2008
Location: Canberra

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by uncle_bob » Sat 01 Jun 2013 1:12 am

Buford T. Justice wrote:It is very stormy here and I just had a 30+ MPH wind gust. Here are what the forecasters say:

Sager
Rain or showers followed by improvement (within 12 hours); Moderate to fresh (13-24 mph) Southwest or West winds.

Zambretti
Becoming fine.
Mine:
Sager
Showers and warmer; Probably increasing North or Northwest winds.

Zambretti
Fairly fine, showery later.

Current conditions are, drizzly slight wind from the northern quarter.
Interested in building your own Weather Station? Maybe check out the WeatherDuino Pro Project Here
Conder, Canberra Weather
Image

Post Reply