Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu May 23, 2013 1:08 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  [ 690 posts ]  Go to page Previous  1 ... 38, 39, 40, 41, 42, 43, 44 ... 46  Next
Author Message
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Feb 06, 2012 9:29 am 
Offline
User avatar

Joined: Fri Jun 17, 2011 7:43 pm
Posts: 20
Location: Salisbury UK
Weather Station: Davis Vantage Vue
Operating System: Windows XP SP3
Hi Jacco,

I've sent you a PM. Mark Crossley understandably doesn't want this thread to become a Weather Display discussion.

Regards,

Simon

_________________
Simon, SpireWeather
Image
http://www.spireweather.co.uk


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Feb 09, 2012 9:34 am 
Offline

Joined: Sat Feb 04, 2012 4:43 am
Posts: 1
Location: Raytown, MO USA
Weather Station: www.raytownweather.com
Operating System: winXP SP3
Is there a way to use the gauges realtime on my weather computer? I would prefer to have the steelseries gauges up on the screen most of the time, with the cumulus screen minimized.


Thanks

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Feb 09, 2012 11:30 am 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Not without running a web service on your computer (I believe) as web pages are not allowed to read from the local file system** (for obvious reasons!).

I enable IIS on my Windows 7 laptop so I can develop/debug the gauges, and then point my browser to http://locahost/gauges-ss.htm perhaps you could do something similar on the computer where you run Cumulus?


** Not quite true HTML5 and the Chrome browser (and maybe others now) allows a page to read from the sandbox local file system. You have to run Chrome with the "--allow-file-access-from-files" switch and its all a bit messy.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sat Feb 11, 2012 3:42 pm 
Offline

Joined: Sat Dec 17, 2011 11:55 am
Posts: 139
Location: Wareham, Dorset
Weather Station: Davis Vantage Vue
Operating System: Windows 7 x64
I've been checking my HTTP traffic over the last two weeks, and it seems to have increased dramatically, perhaps since i upgraded to 1.5.1
I normally get around 20 hits a day average, and that has gone to around 30 or 40 hits in the last week.
But the bandwidth doesn't seem to match, and i'm wondering if it's the gauges?
Usually 60MB for FTP and around 100MB for HTTP on busy-ish day.
The last two weeks, the total is going beyond 300MB a day, with one beyond 600MB in a day.
I normally only use around 3GB a month, but i'm almost at that on day 11.
I just cannot work out why it has increased so much.
Any help would be appreciated.
The gauges page is here:- http://www.wareham-weather.co.uk/gauges-ss.htm


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sat Feb 11, 2012 3:55 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Perhaps a quick read of this thread may help?
viewtopic.php?f=14&t=6962

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sat Feb 11, 2012 4:13 pm 
Offline

Joined: Sat Dec 17, 2011 11:55 am
Posts: 139
Location: Wareham, Dorset
Weather Station: Davis Vantage Vue
Operating System: Windows 7 x64
Had a quick gander, but it didn't really tell me what i already knew. Thanks though.

I have also noticed with the latest steel gauges, is that when it updates, the cpu useage for that page goes up to around 26% for two seconds before dropping back down. That seems a lot to me, i don't remember it being like that on previous versions.

Regards.


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sat Feb 11, 2012 4:28 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
JavaScript is single threaded, and that number of gauges will put pressure on one CPU for the duration of the animations. The way they work uses a 'tweener' which makes using the requestAnimationFrame feature very difficult (that would 'batch' up animation frames). So the way to reduce CPU usage is to change all the 'setValueAnimated()' calls to 'setValue()' then there would only be one frame per gauge created.

Unfortunately if you want animation then there is a lot the computer has to do, rotating and drawing each frame. More simplistic gauges would require less CPU time of course. I could increase the delay between each frame but you may lose some smoothness, I'd have to play around with it and see.

Nothing of note that would affect this has changed in recent releases - that I am aware of anyway.

EDIT: Actually this has given me an idea for some drawing optimisations, I'll test them out after I get the new version of the linear gauge done.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sat Feb 11, 2012 10:08 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
Mapantz wrote:
I've been checking my HTTP traffic over the last two weeks, and it seems to have increased dramatically, .....
I just cannot work out why it has increased so much.
You don't say if your provider has any 'traffic' tools so that you can see which pages / files are in demand.

Don't forget you've recently added a 'banner', which appears twice on this page - so that's 40k a throw ;)

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


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Feb 15, 2012 2:30 pm 
Offline
User avatar

Joined: Mon Dec 26, 2011 2:14 am
Posts: 29
Location: Tampa, FL
Weather Station: W-1080
Operating System: Win 7
To make gauges-ss.htm a static page, which parameters do I need to hardcode?

Better yet, once Cumulus uploads gauges-ss.htm the first time to my site, can I just go in and remove any further uploads since it's already uploaded as a true htm without the T already?

_________________
http://goo.gl/PnOAT


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Feb 15, 2012 2:44 pm 
Offline

Joined: Sun Dec 13, 2009 1:21 pm
Posts: 867
Location: Apeldoorn The Netherlands
Weather Station: WH1080 / WS 4000
Operating System: Windows 7 / Ubuntu
FTBoomer wrote:
To make gauges-ss.htm a static page, which parameters do I need to hardcode?

Better yet, once Cumulus uploads gauges-ss.htm the first time to my site, can I just go in and remove any further uploads since it's already uploaded as a true htm without the T already?

You can turn off parsing gauges-ssT.htm and uploading keep in mind the last updated tag wil not be updated and when you use a newer verion of cumulus the version number is wrong so you can remove <#update> better.

_________________
Ron

Image

Apeldoorn, The Netherlands


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Feb 15, 2012 3:01 pm 
Offline
User avatar

Joined: Mon Dec 26, 2011 2:14 am
Posts: 29
Location: Tampa, FL
Weather Station: W-1080
Operating System: Win 7
Cool, thanks



nitrx wrote:
FTBoomer wrote:
To make gauges-ss.htm a static page, which parameters do I need to hardcode?

Better yet, once Cumulus uploads gauges-ss.htm the first time to my site, can I just go in and remove any further uploads since it's already uploaded as a true htm without the T already?

You can turn off parsing gauges-ssT.htm and uploading keep in mind the last updated tag wil not be updated and when you use a newer verion of cumulus the version number is wrong so you can remove <#update> better.

_________________
http://goo.gl/PnOAT


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Feb 15, 2012 3:13 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
nitrx wrote:
... and when you use a newer verion of cumulus the version number is wrong so you can remove <#update> better.
Not quite, the script updates the Cumulus version and build fields every realtime update.

So in general, yes, let Cumulus upload the page once with the tags substituted, then you can turn it off until the next release when you repeat the process.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Wed Feb 15, 2012 3:14 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
For those interested, I have added a thermometer type gauge to the 'full' SteelSeries library on github.

https://plus.google.com/b/1057845228278 ... nmQBHFKM53

Screen shots from the demo page:
Attachment:
Thermometer.jpg


You do not have the required permissions to view the files attached to this post.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Feb 16, 2012 2:15 am 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1772
Location: World...
Weather Station: No weather station
Operating System: No operating system
Great work Mark - I will try adding the new thermometer gauge to my pages later on.

Mark, I have started working on adapting the SteelSeries gauges to Weather Display ... but the 'translation' has been slowed down as the setting-up of the home/office computers has taken (and is still taking) a lot of my time... :|


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Thu Feb 16, 2012 2:42 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2514
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Ray, I think others have already been down that path with WD?

Anyway, decisions, decisions...

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 690 posts ]  Go to page Previous  1 ... 38, 39, 40, 41, 42, 43, 44 ... 46  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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