Sandaysoft

Support forum for Cumulus weather station software
It is currently Tue May 21, 2013 5:02 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 276 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 19  Next
Author Message
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 12:40 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
For the first time since version 1.2, the gadget is displaying both the background and the weather information... :)

Thank you... :D


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 10:10 am 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Just to update you all, the gadget is now running fine here too. it worked ok all yesterday evening since updating it to the newest version, and so far has done so all morning and am sure it will continue to do so.

In conclusion then, the gadget works and I'd like to thank all who contributed to helping sort out the issues with it! :clap:

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 10:53 am 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Thanks for the feedback :)

_________________
Ib http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 2:34 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
Suggestion:

Firstly, a bit more feedback, its still working fine so the gadget is perfectly running now.

I have emailed the gadget to several friends to try out and also my mother.

They have provided feedback to say it is working OK too, but one small issue mentioned by my mother and two of my friends; the graphical look of the gadget is brilliant, however, on the daytime screens, could the text be made darker rather than white? The white text against the night screens is perfect but on the day screens, especially towards the lower edge where it grades even paler, the text for someone with poor eyesight or on a monitor with low contrast, can be slightly difficult to read.

I realise that the graphic images don't have the text on them, so I presume the text is generated and thus specified elsewhere.

Therefore, how difficult would it be to specify a dark blue or black colour for the text when it switches to using the daytime screens?

This is just passing on feedback I've received after asking those trying it out, so look forward to hearing what you think about this suggestion?

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 5:24 pm 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
Modifying the style is not very hard.

In reality, it is just a self-contained web page.

It just uses a normal CSS file though the html file has embeded CSS that would be better moved to the style sheet for easy of modification.

You just need to know how to modify the files, and repackage it up so it can be distributed.

Ideally, you would create something like this customized for your own site with the URL and retrieval times already set so that people could download it from your weather site, install it and see "your" website automatically with no configuration.

You would most likely set the interval to something larger like every 3-5 minutes to reduce the number of hits you would get.

Then you could change the graphic to include custom graphics for your site, perhaps using your sites logo etc...

I've already been playing with this for that very purpose. I've already got it preloaded with the URL, time set to 5 minutes and it doesn't ask for configuration any more. Will start reformatting the size (too large), backgrounds, changes to date/time formats etc... kind of a fun side project. Replaced the ?uid= rand with ?t= timestamp just for kicks.

A good project to piddle arond with JavaScript with.

_________________
Kevin
Image
All you need is Time, Aptitude and Desire ... and you can build just about anything...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 7:16 pm 
Offline
User avatar

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 8:41 pm 
Offline
User avatar

Joined: Wed Sep 10, 2008 2:15 pm
Posts: 385
Location: Gilleleje, Denmark
Weather Station: Rosenborg 68700
Operating System: Win7 Ult. 32-bit
Quote:
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 http://www.ibtest.dk/vejr/


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 10:11 pm 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
:clap: :clap: :clap: :clap: :clap: :D
Thankyou! It looks perfect, and much more legible from a graphical point of view now.

Steve

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Wed Jan 13, 2010 10:51 pm 
Offline
User avatar

Joined: Wed Sep 17, 2008 1:34 pm
Posts: 629
Location: Mesa, AZ USA
Weather Station: Davis VP2 Plus w/24 FARS
Operating System: WinX Pro SP3 Dedicated wstn
beteljuice wrote:
Quote:
... 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...
Cumulus User Maps


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 2:27 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
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... :|


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 2:41 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Daylight includes dawn and dusk.

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 4:27 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
beteljuice wrote:
Daylight includes dawn and dusk.
:roll:
Then, using your assumption, daylight must also include sunrise and sunset... 8-)


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 4:36 am 
Offline
User avatar

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


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 9:20 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17559
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
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
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Cumulus Realtime Gadget
PostPosted: Thu Jan 14, 2010 9:28 am 
Offline
User avatar

Joined: Mon Nov 23, 2009 1:34 am
Posts: 111
Location: Rugeley, Staffordshire
Weather Station: Techno-Line WS2300
Operating System: Windows 8 Consumer Preview 64bit
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

_________________
Steve J
Image Architect
http://www.imagearchitect.co.uk

Image
http://www.imagearchitect.co.uk/weather/index.htm


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 276 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 19  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group