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

Cumulus Realtime Gadget

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
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 »

... You just need to know how to modify the files, and repackage it up so it can be distributed...
That simple then :D

... and of course you have found the logic error in the original code ?

... the beteljuice is investigating :?
Image
......................Imagine, what you will KNOW tomorrow !
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 »

on the daytime screens, could the text be made darker rather than white?
Done: version 1.7IH may be downloaded from first post in the thread.
Ib
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 »

:clap: :clap: :clap: :clap: :clap: :D
Thankyou! It looks perfect, and much more legible from a graphical point of view now.

Steve
TNETWeather

Re: Cumulus Realtime Gadget

Post by TNETWeather »

beteljuice wrote:
... You just need to know how to modify the files, and repackage it up so it can be distributed...
That simple then :D

... and of course you have found the logic error in the original code ?
Didn't use the original code, used the last modified code (pre 1.7IH release).

Never said the word simple, at least not for me as I am not very proficient in JavaScript at all.

hence the "fun project" part.

But the process part and how to get to the various parts of the system is pretty straight forward. Spend a couple hours playing with it last night.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Cumulus Realtime Gadget

Post by gemini06720 »

Dane, I noticed something, not necessarily wrong, but certainly not right either... :?

I know that you have limited flexibility in determining when it is daylight except for using field #49 (starting at zero with field #1) of the 'realtime.txt' file. :(

But, it appears that field #49 switches to 1 (daylight) at dusk rather than at sunrise... :roll:

This morning, the gadget background on my computer went from its dark nighttime colour to its lighter daytime colour at around 07:20 PST (the time indicated as being dawn on my Cumulus Web pages) when it should only have switched over at around 08:02 PST (time indicated as being sunrise on my Cumulus Web pages) ... at 07:20 PST it was still quite dark outside whereas, almost half an hour later, at 08:02 PST, the sun was indeed rising above the horizon. :)

It was just an observation... :|
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 »

Daylight includes dawn and dusk.
Image
......................Imagine, what you will KNOW tomorrow !
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Cumulus Realtime Gadget

Post by gemini06720 »

beteljuice wrote:Daylight includes dawn and dusk.
:roll:
Then, using your assumption, daylight must also include sunrise and sunset... 8-)
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 »

daylight must also include sunrise and sunset...
Naturally, that is a self evident truth, but daylight does not begin or end with them.
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus Realtime Gadget

Post by steve »

I've simply chosen to include 'twilight' in 'daylight', which seems reasonable to me. The daylight hours figure that Cumulus displays has also done this, since I introduced it nearly a year ago.
Steve
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 »

And further to Steve's post, daylight/sunrise/dawn/dusk isn't straightforward anyway.

There's various ways of determining sunrise/sunset; with the suns disk first touching the horizon, withe the centre of the disk on the horizon or when the suns disk first appears above or completely leaves the horizon (thats flat horizon not taking into account landscape - hills/mountains). Then there are various ways to determine twilight (dawn/dusk). There's civil, astonomical and nautical twilight...

So it isn't as simple as often thought.

Steve
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 »

I really enjoy this and can't stop laughing :lol:
Just look at all the interest and excitement this little gadget has created: forum members asking and responding to all matters related and unrelated, and members much more knowledgeable than me investing time and effort in improving it. :P :D
That's what a forum is all about, and this is the best I have ever come across. :clap:
Ib
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 »

New code has been uploaded to the first post of this thread.
Just a bug fix - version no. not changed.
Poor html coding on my part - thanks to Beteljuice for making me aware of it :)
Ib
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 »

dane wrote:I really enjoy this and can't stop laughing :lol:
Just look at all the interest and excitement this little gadget has created: forum members asking and responding to all matters related and unrelated, and members much more knowledgeable than me investing time and effort in improving it. :P :D
That's what a forum is all about, and this is the best I have ever come across. :clap:

I totally agree but also thanks to yourself and Daniel for your very valuable contributions creating and modyfying this gadget! I'm sure even if it stays as it is it will be perfect but if it evolves and develops even better!

Steve
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 »

Just to stir the mix a bit. There are about 4 C1 users in my local area and it would be handy to be able to switch around the different realtime.txt files and locations from withing the one gadget. Anybody up to the challenge?
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 »

Super-T wrote:Just to stir the mix a bit. There are about 4 C1 users in my local area and it would be handy to be able to switch around the different realtime.txt files and locations from withing the one gadget. Anybody up to the challenge?
You looking at me :?: :?: - then the answer is: at the moment: no. The key components of the code are undergoing inspection and possibly change, so I won't touch it right now.
But - as a bypass: you can have mulitiple instances of the gadget running simultaneously, fed from different realtime.txt files (up to you to tell who is who :) )
Ib
Post Reply