Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

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

Moderator: daj

User avatar
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 JavaScripts For Cumulus

Post by Buford T. Justice »

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:

https://cumulus.hosiene.co.uk/viewtopic.php?f=14&t=9453
User avatar
Werk_AG
Posts: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Werk_AG »

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
Image
The freedom to choose the weather instruments you want
uncle_bob
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 JavaScripts For Cumulus

Post by uncle_bob »

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: 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 JavaScripts For Cumulus

Post by Buford T. Justice »

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: 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 JavaScripts For Cumulus

Post by Buford T. Justice »

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: 505
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 »

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: 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 JavaScripts For Cumulus

Post by Buford T. Justice »

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: 198
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino 4Pro
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: BT's Global Sager Weathercaster JavaScripts For Cumulus

Post by Werk_AG »

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
Image
The freedom to choose the weather instruments you want
uncle_bob
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 JavaScripts For Cumulus

Post by uncle_bob »

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: 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 JavaScripts For Cumulus

Post by Buford T. Justice »

@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: 505
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 »

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: 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 JavaScripts For Cumulus

Post by Buford T. Justice »

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

https://cumulus.hosiene.co.uk/viewtopic.p ... 366#p82366
User avatar
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 JavaScripts For Cumulus

Post by Buford T. Justice »

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: 505
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 »

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: 505
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 »

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