Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Cumulus Realtime Gadget

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
User avatar
beteljuice
Posts: 2516
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice » Wed 13 Jan 2010 7:16 pm

... 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: 410
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 » Wed 13 Jan 2010 8:41 pm

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 » Wed 13 Jan 2010 10:11 pm

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

Steve

User avatar
TNETWeather
Posts: 663
Joined: Wed 17 Sep 2008 1:34 pm
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Location: Mesa, AZ USA
Contact:

Re: Cumulus Realtime Gadget

Post by TNETWeather » Wed 13 Jan 2010 10:51 pm

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.
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...

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 » Thu 14 Jan 2010 2:27 am

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: 2516
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice » Thu 14 Jan 2010 2:41 am

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 » Thu 14 Jan 2010 4:27 am

beteljuice wrote:Daylight includes dawn and dusk.
:roll:
Then, using your assumption, daylight must also include sunrise and sunset... 8-)

User avatar
beteljuice
Posts: 2516
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: XP SP3 - honest
Location: Dudley, West Midlands, UK

Re: Cumulus Realtime Gadget

Post by beteljuice » Thu 14 Jan 2010 4:36 am

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: 26714
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 » Thu 14 Jan 2010 9:20 am

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 » Thu 14 Jan 2010 9:28 am

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: 410
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 » Thu 14 Jan 2010 9:54 am

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: 410
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 » Thu 14 Jan 2010 10:15 am

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 » Thu 14 Jan 2010 5:46 pm

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: 803
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 » Thu 14 Jan 2010 9:59 pm

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: 410
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 » Thu 14 Jan 2010 11:09 pm

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