Sandaysoft

Support forum for Cumulus weather station software
It is currently Sun May 26, 2013 12:07 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 1, 2, 3, 4, 5 ... 46  Next
Author Message
 Post subject: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 4:46 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
The download has now been moved to the announcements topic

_________________
Mark
Wilmslow Astro Weather


Last edited by mcrossley on Thu Mar 01, 2012 8:04 pm, edited 52 times in total.

Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 5:24 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 378
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Quote:
you need to create an external script which redefines all
the LANG.xxx values, and then calls the changeLang() function


I hope you enjoyed the ginger beer -

Is there a new gauges.js with the changeLang() or did I miss it in the new zip?

George Whelock

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 5:28 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
George

It's still cooling :)

The changeLang() function is in gauges.js - starting at line 1341

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 8:28 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 378
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Quote:
The changeLang() function is in gauges.js - starting at line 1341


But my question really is: where is the new gauges.js - it was not in the zip you posted for v 1.0 - at least not that I found.

Don't let that ginger beer freeze before you get to it.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 8:35 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
George, that is odd, other people have downloaded it OK. I just tried from another laptop and it was OK too. Maybe you have a bad copy in your browser cache?

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 8:59 pm 
Offline
User avatar

Joined: Mon Jan 10, 2011 8:51 pm
Posts: 41
Location: Albuquerque NM USA
Weather Station: WS 2308
Operating System: Windows XP SP3
Thanks Mark

That got the Baro fixed -
My wind gauge is in Kph when all my settings are mph

Dont think I screwed up
Ron

_________________
Ron
http://albuquerqueweather.info/


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 9:15 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Hi Ron, yep my mistake, line 266 of gauges.js should read

cumulus.windunit = 'mph';

It looks like this got changed somewhere along the way when I was exchanging scripts with Ray. I'll update the zip shortly...

EDIT: First post in this thread now contains v1.0.1

Also it looks like you may have edited the file at some point and not saved it as UTF-8 as you have odd characters in front of the degree symbols.

_________________
Mark
Wilmslow Astro Weather


Last edited by mcrossley on Sun Jul 10, 2011 9:30 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 9:23 pm 
Offline
User avatar

Joined: Wed Jun 11, 2008 7:36 pm
Posts: 378
Location: L'Estartit, Spain
Weather Station: WMR-968
Operating System: Windows 8
Mark

[url]George, that is odd,[/url]

It is indeed - PeaZip was not reading the folders -I switched to WinZip and they appeared.

GW

_________________
Image


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 9:25 pm 
Offline
User avatar

Joined: Mon Jan 10, 2011 8:51 pm
Posts: 41
Location: Albuquerque NM USA
Weather Station: WS 2308
Operating System: Windows XP SP3
mph edited and fixed here - thanks

Ron

_________________
Ron
http://albuquerqueweather.info/


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 10:29 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1770
Location: World...
Weather Station: No weather station
Operating System: No operating system
mcrossley wrote:
Hi Ron, yep my mistake, line 266 of gauges.js should read...
Mark, it is not and was not your mistake - I changed the 'mph' to 'km/h' when I first received the scripts.

It certainly did not (and still does not) make sense to me that the default UoM (unit of measure) settings for the pressure, the rain and the temperature were in metric and, for some unknown reason, the default UoM setting for the wind speed was in imperial! :roll:

Are the UoM settings not read from the 'realtimegauges.htm' data file, and if so, why is one UoM setting in a different format than the others? :?

I just noticed a little display problem with the gauges, a conflict between the title and the UoM ... The french-translated string length for the wind speed (ie: 'vitesse du vent') being a bit longer than the english string, the UoM below the title disappears (seems to be over written with something else) - after further tests, it seems the UoM on any of the gauges will dissappear when there are more than 11 characters in a gauge title! Any way of preventing that without making the title font size so small it can only be read while wearing thick glasses? :geek:


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Sun Jul 10, 2011 10:42 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
In the mad mixed up UK, we have half heartedly adopted metric units. So whilst deg C and hPA (or mb) are the norm, we still generally measure speeds in mph (or knots if you are nautical).

The script was written originally for my purpose and by default the wind speed is in mph. If the script detects that you use m/s or km/h it will switch the gauge to those units. The default value will continue to used if the script detects mph in the realtime file (it saves a gauge redraw), by changing it km/h we got the wrong units displayed for people using mph.

Clear as mud!?

_________________
Mark
Wilmslow Astro Weather


Last edited by mcrossley on Mon Jul 11, 2011 10:00 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 11, 2011 2:23 pm 
Offline

Joined: Fri Jun 10, 2011 12:40 pm
Posts: 108
Location: Prospect, KY, USA
Weather Station: WMR-968
Operating System: Windows XP SP3
Mark -- do you have the new package running on your website? When I click on the gauges page it says v0.9.

I've installed Cumulus 1.9.2 and SS Gauges 1.0.1 -- so far no issues. I did NOT update the Cumulus web templates (yet).

Thanks

_________________
Thanks
Jim - The Timber Ridge Weather Station, Prospect, KY
http://dantinconsulting.com/


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 11, 2011 4:22 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Jim, timely reminder, I've updated my live page to a test version of 1.0.2 now.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 11, 2011 9:50 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1770
Location: World...
Weather Station: No weather station
Operating System: No operating system
mcrossley wrote:
Clear as mud!?
And it makes no sense to me... :roll:

Mark what about my second question about the number of characters in the gauge title? :(


Top
 Profile  
 
 Post subject: Re: SteelSeries Gauges - version 1.0
PostPosted: Mon Jul 11, 2011 10:09 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2523
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
gemini06720 wrote:
I just noticed a little display problem with the gauges, a conflict between the title and the UoM ... The french-translated string length for the wind speed (ie: 'vitesse du vent') being a bit longer than the english string, the UoM below the title disappears (seems to be over written with something else) - after further tests, it seems the UoM on any of the gauges will dissappear when there are more than 11 characters in a gauge title! Any way of preventing that without making the title font size so small it can only be read while wearing thick glasses? :geek:
Not really. the only options are a smaller font, or move the text around to a different place. I guess I could move the units to below centre, and move the title down to where the units are currently. But this is moving even further away from Gerrit's code which means more changes to move across and test when he updates the code, and I'm already a couple/few of updates behind him.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 690 posts ]  Go to page 1, 2, 3, 4, 5 ... 46  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