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 4018) - 28 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

Cumulus Realtime Gadget

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
User avatar
dane
Posts: 417
Joined: Wed 10 Sep 2008 2:15 pm
Weather Station: Rosenborg 68700
Operating System: Win10 Ult., 64-bit, RaspberryPi
Location: Gilleleje, Denmark

Re: Cumulus Realtime Gadget

Post by dane »

Version 1.8IH uploaded to first post in this thread.
Change: handling of communication errors improved - maybe even fixed :!: :roll: thanks to Beteljuice :D
Ib
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice »

.... and before the glamour wears off, you are respectfully reminded that the weather graphics are FORECAST conditions, not current weather :o
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

3 gadget running....normally 20% opacity.
These sites are within about 5 km but lots of difference in the forecast.
Needs a Label to to differentiate the sites.
You do not have the required permissions to view the files attached to this post.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice »

Needs a Label to to differentiate the sites
But Terry, you're only supposed to be stealing your own data !

Besides, where would "JANTER Electronics Ltd, Weather" fit :roll:
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

I'll have to make a shortcut and park it over the gadget :-)
User avatar
dane
Posts: 417
Joined: Wed 10 Sep 2008 2:15 pm
Weather Station: Rosenborg 68700
Operating System: Win10 Ult., 64-bit, RaspberryPi
Location: Gilleleje, Denmark

Re: Cumulus Realtime Gadget

Post by dane »

Version 1.9IH available for download from first post of this thread.

Note: version 1.9 is named cumulus19, so you can install it without losing your version 1.8 which is called cumulusih.
(Both versions are available for download. Make sure you select the one you want.)

Changes in Version 1.9IH:
- 'Last updated' text string above time stamp at the bottom
- temperature and pressure trend arrows preceding numbers
- 2nd temperature field: may be set to any of realtime.txt's fields - or left out
(default: field 24: wind chill)
This variable is NOT on the settings screen, only in settings.ini
- settings.ini: js language: variable names/values, comments
Make yourself familiar with the contents and format of the new settings.ini!

If you don't like wind chill as the 2nd temperature field after the slash, you may choose dew point, heat index, tendency, or any field from the realtime.txt (even Cumulus version...) - or leave it out altogether. That's what the new settings.ini parameter is for.
Ib
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

All working OK Dane.
Perhaps the "Last Updated" could have become the realtime ID? ..... i.e. "JANTER" Just a thought.

I hadn't thought that the use of the realtime.txt from somebody else's site would be theft? Ah well...too bad :-)
User avatar
sjukmidlands
Posts: 115
Joined: Mon 23 Nov 2009 1:34 am
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Location: Rugeley, Staffordshire

Re: Cumulus Realtime Gadget

Post by sjukmidlands »

Diolch! (Thank you in Welsh)

The work you are putting into this gadget is much appreciated! It is developing very very nicely.

Steve
claydon_dan
Posts: 20
Joined: Fri 04 Sep 2009 1:23 pm
Weather Station: WH1081

Re: Cumulus Realtime Gadget

Post by claydon_dan »

Hi,

Just been reading through, and I must say it is great to see how the gadget has developed since my early releases.

If it hasn't already been figured out, what is shown below that looks like 3 attempts is actually just the XML reader going through its various states.

1 - LOADING:The load is in progress. Reading persisted properties, but not yet parsing data.
2 - LOADED: Reading of the persisted properties completed. Reading and parsing data, but the object model is not yet available.
3 - INTERACTIVE: Some data has been read and parsed, and the object model is now available on the partially retrieved data set. Although the object model is available during this state, it is read-only.
4 - COMPLETED: The document has been completely loaded, successfully or unsuccessfully.
(http://msdn.microsoft.com/en-us/library ... S.85).aspx)
TNETWeather wrote:Looks like it is making multiple attempts (very fast ones which might be the problem)

Code: Select all

12 January 2010 17:41:24: Enter readyStateHandler
12 January 2010 17:41:24: xmlHttpObj.readyState = 2
12 January 2010 17:41:24: xmlHttpObj.status = 404

12 January 2010 17:41:24: Enter readyStateHandler
12 January 2010 17:41:24: xmlHttpObj.readyState = 3
12 January 2010 17:41:24: xmlHttpObj.status = 404

12 January 2010 17:41:24: Enter readyStateHandler
12 January 2010 17:41:24: xmlHttpObj.readyState = 4
12 January 2010 17:41:24: xmlHttpObj.status = 404
3 attempts for the same file in the same second?

I would think that anyone decent with JavaScript would be able to figure it out. There is a lot of code out there that does the same type of function and its all plain text source.
Well done to dane, for taking the gadget on and if you can't work out some of the code, drop me a PM and i'll see if I can decipher it!!
Daniel Lintott

Image
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

Steve
In reference to the forecasts as shown on the 3 gadgets i have running temporarily.
There seems to be a problem with the forecast being wildly inaccurate as shown by the first and last gadget, both are fine offset and the centre one is a davis.
Over the last week we have had fairly settled weather, no rain and lots of sun but the forecast has been nowhere near what it is currently.
It may be that the formula doesn't work too readily for Auckland as it is very changeable.
Any thoughts on how to improve the forecasting? Pressure is set to 971 and 1036 in my case.
You do not have the required permissions to view the files attached to this post.
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice »

The forecasts are actually 1 level too bad, and the "No Forecast" was given the "Fine" graphic.
Ergo forecast is artifically bad and the Davis installation has Cumulus forecast turned 'off' so displays the fine graphic instead of a 'blank'

ib has the fixed code in hand. ;)
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

Website and C1 screen are showing "Unsettled, some precipitation" when the gadget is as the pic. Suggests the error is coming from C1?
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice »

As I understand it NZ is "Unsettled, some precipitation" and in some areas a lot of precip atm !

Don't forget there are a limited number of graphics which have to show some subtly different forecasts.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
Super-T
Posts: 890
Joined: Tue 09 Sep 2008 3:37 am
Weather Station: wh-1081
Operating System: Weather Laptop - Windows 10 Pro
Location: Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by Super-T »

Not in Auckland....we are having a drought. South Island is copping the bad weather. :-)
DaveNZ
Posts: 373
Joined: Mon 07 Dec 2009 10:27 pm
Weather Station: Davis VP2
Operating System: Windows 7 64-bit
Location: Howick, Auckland, New Zealand
Contact:

Re: Cumulus Realtime Gadget

Post by DaveNZ »

Super-T wrote:Steve
In reference to the forecasts as shown on the 3 gadgets i have running temporarily.
There seems to be a problem with the forecast being wildly inaccurate as shown by the first and last gadget, both are fine offset and the centre one is a davis.
Over the last week we have had fairly settled weather, no rain and lots of sun but the forecast has been nowhere near what it is currently.
It may be that the formula doesn't work too readily for Auckland as it is very changeable.
Any thoughts on how to improve the forecasting? Pressure is set to 971 and 1036 in my case.
Yes, despite lowish pressures (1000-1008 hPa) the last several days, weather has actually been reasonably settled. Those pressure values usually correlate with unsettled conditions here. I suspect its the pressure that is throwing the forecasts off...my Davis forecast has also been incorrect for several days, quite often mentioning things like precipitation likely, possibly heavy, windy.
Post Reply