Sandaysoft

Support forum for Cumulus weather station software
It is currently Thu Jun 20, 2013 10:23 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  [ 6 posts ] 
Author Message
 Post subject: Non-metric scales in SteelSeries
PostPosted: Sun Apr 15, 2012 8:04 pm 
Offline
User avatar

Joined: Tue Nov 30, 2010 3:01 pm
Posts: 44
Location: Bridge Lake, BC, Canada
Weather Station: National Geographic 265NC
Operating System: Windows 7 x86
Hi Mark:

Until recently I used Bindows gauges on my web site. For some reason they stopped working in Firefox, so I decided to switch to the SteelSeries gauges. I am customizing the demoRadial script for this and it is in most parts straight forward.

http://www.friendsofbridgelake.org/pages/weather/gauges3.php?unit=i

The only "problem" I have is that I want to swich between the metric unit we use here in Canada and US (imperial) units. The scale for the rain gauge will go from 0 - 2 inches. As of now, the labels are 0.2, 0.4, 0.6 ... and the library has no way to label the tick marks in the customary steps of 1/8 of an inch (or even 1/4) - at least I haven't found one yet.

I hope you can help me with this little "problem". Maybe this even has been asked and solved before and I just couldn't find it on the forum?

_________________
Cheers,
Karl
Bridge Lake Weather Station


Last edited by KarlS on Sun Apr 22, 2012 11:46 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Non-metric scales
PostPosted: Sun Apr 15, 2012 8:37 pm 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
Hi Karl, no solution for you I'm afraid. The SS library as it stands only displays decimal values.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Non-metric scales in SteelSeries
PostPosted: Sun Apr 15, 2012 10:37 pm 
Offline
User avatar

Joined: Tue Nov 30, 2010 3:01 pm
Posts: 44
Location: Bridge Lake, BC, Canada
Weather Station: National Geographic 265NC
Operating System: Windows 7 x86
Thanks Mark, can we hope for this feature in an upcoming version?

_________________
Cheers,
Karl
Bridge Lake Weather Station


Top
 Profile  
 
 Post subject: Re: Non-metric scales in SteelSeries
PostPosted: Mon Apr 16, 2012 6:57 am 
Online
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2596
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
It would be way down the list l'm afraid. There is lots of work to do on the library; modularise it, change to using CSS for layers to minimize redrawings etc.

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Non-metric scales in SteelSeries
PostPosted: Fri Apr 20, 2012 12:21 pm 
Offline

Joined: Sun Sep 04, 2011 2:02 am
Posts: 67
Location: Woodbury, Connecticut, U.S.A.
Weather Station: Ambient Weather WS-1090
Operating System: Windows 7 Pro 64bit
While on the topic ability to change temperature scale would be nice as well. As of now it's 30-100. In my location we'll have days where it doesn't get out of the teens in the winter, and -'s at night, and even get over 100 in the summer.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Non-metric scales in SteelSeries
PostPosted: Fri Apr 20, 2012 6:05 pm 
Offline
User avatar

Joined: Tue Nov 30, 2010 3:01 pm
Posts: 44
Location: Bridge Lake, BC, Canada
Weather Station: National Geographic 265NC
Operating System: Windows 7 x86
Well, if you know what you are doing, the min/max temperature values for Fahrenheit are set in lines 1608-1620 in the gauges.js script. But be careful, because as Mark notes, "if you break it, it's up to you to fix it".

For the last few days I've played around with the steelseries.js library a bit, and I was able to 'teach' it how to display inches as mixed fractions (for example 3/4” instead of 0.75"). Take a look here (Note: if the display says 0” it only means that it's not raining at the moment :D).

_________________
Cheers,
Karl
Bridge Lake Weather Station


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] 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:  
cron

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