Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

SteelSeries Gauges - version 1.0

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

I have now released version 0.8.4 which adds a Stop Watch component.
Just a thought, if anyone is downloading the library directly from github, it may be worth considering downloading the un-minified source and removing the components you do not intend to use, then minifying that file. The library is growing in size and even the minified version of the full library is moving towards 200KB in size. Just leave all the common functions towards the end of the file in place.
stopwatch.jpg
Edit: I have noticed a couple of minor cosmetic issues and lap time gotchas with teh Stop Watch in the currrent release, expect 0.8.5 soon to fix those.
You do not have the required permissions to view the files attached to this post.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Post by gemini06720 »

Mark, sorry for the late reply - on Saturday, I started installing the operating software/system (Windows 7 Pro 64-bit) on the first of 3 new computers (I need to replace 4 'antique' and slow computers) - I am up to the third 'fresh' installation of the operating software on the same computer - for some unknown reasons I have not yet isolated, Windows starts to give errors while installing recommended updates from Microsoft - even without all the programs I would like to use, this new installation of Windows 7 Pro 64-bit has already 'frozen' the computer 3 times - not very encouraging considering that my 'old' personal computer has been running with Windows 7 Pro 32-bit for more than a year without any problem... :(

Anyway, getting back to the gauges... You are putting a lot of time and work in this continued development - bravo for the 'beautiful' work. I have downloaded the latest release from the GitHub and will try to make some time (between software re-installations) to personally 'evaluate' all the efforts you have and are putting in the development of the gauges. :mrgreen:
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Re: SteelSeries Gauges - version 1.0

Post by Snupple »

Hi There,

What do I need to change in the code to swap my 'default' wind direction guage for one of the ones on here:

http://www.wilmslowastro.com/steelserie ... xtras.html
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

Wait for the next release? ;)
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Re: SteelSeries Gauges - version 1.0

Post by Snupple »

mcrossley wrote:Wait for the next release? ;)
Ah, I thought there was a way to use the different styles (linear) etc already just by changing something in the code somewhere
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

There is, but to use the new Wind Direction gauge you will have to make quite a few changes, and a new version of the gauge library.
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Re: SteelSeries Gauges - version 1.0

Post by Snupple »

mcrossley wrote:There is, but to use the new Wind Direction gauge you will have to make quite a few changes, and a new version of the gauge library.

Ok, will look forward to it, hopefully next item IS something I can change :)

How do you adjust the thickness of the frame/ring?
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

You can't change the frame width I'm afraid, it is fixed. Though you can hide it completely.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Post by gemini06720 »

Mark, took some time off the computer setup to play around with the gauges... :)

After a bit a guess work, I have modified both the rain and the rain-rate gauges and I have added the clock... Tzouhalem-Maple Bay - SteelSeries :mrgreen:

It might not be perrrrfect but I am trying... :D
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

:clap: Looking like a good start Ray. The clock displays my local time, if you want it to display the station time then there is a bit more work to do, setting the timezone offset *may* fix it - I haven't actually tested that feature :oops:
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

I was thinking of adding custom gradients to the bargraph (radial & linear) colour options, so you could then have a solid colour, section colours, or a continuous colour changes like the image below. I have it working, but is it worth adding, or is it just getting too gaudy?!
Capture.JPG
You do not have the required permissions to view the files attached to this post.
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: SteelSeries Gauges - version 1.0

Post by gemini06720 »

mcrossley wrote:The clock displays my local time...
But, but... on my computer the clock was displaying my local time... :roll:

Mark, how about adding something to the clock sub-routine, such as a timezone variable maybe (or something similar) which would force the clock to display the time of the server where the page was downloaded... :mrgreen:

Mark, I like both the solid colour as well as the continuous colour changes for the gauges ... as long as it is an option that can be turned on/off. What would be even better would be an option to control individual gauges... :twisted:
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: SteelSeries Gauges - version 1.0

Post by mcrossley »

gemini06720 wrote:
mcrossley wrote:The clock displays my local time...
But, but... on my computer the clock was displaying my local time... :roll:
By default the clock displays your local time, it does have provision for specifying a TZ offset.
gemini06720 wrote:Mark, how about adding something to the clock sub-routine, such as a timezone variable maybe (or something similar) which would force the clock to display the time of the server where the page was downloaded... :mrgreen:
It *may* have this already, but I'll look into it - TZ's are my nightmare, handling them can be complex :(
gemini06720 wrote:Mark, I like both the solid colour as well as the continuous colour changes for the gauges ... as long as it is an option that can be turned on/off. What would be even better would be an option to control individual gauges... :twisted:
But of course all those options are/will continue to be available! :roll: ;)
Aru
Posts: 2
Joined: Sat 24 Sep 2011 1:43 pm
Weather Station: Vantage Pro2
Operating System: Win7
Location: Finland

Re: SteelSeries Gauges - version 1.0

Post by Aru »

Site: Tzouhalem-Maple Bay - Cumulus Weather PHP

link opens:
Invalid query: Incorrect string value: '\xE4skyl\xE4' for column 'city_name' at row 1307K:\xampp\htdocs\cumulus\whos-online\include-whos-online-header.php
User avatar
Snupple
Posts: 40
Joined: Mon 17 Jan 2011 3:11 pm
Weather Station: WH3081
Operating System: Win 7 x64
Location: Perth, West Aust.

Re: SteelSeries Gauges - version 1.0

Post by Snupple »

Is it possible with the current setup to have one gauge showing the outside temperature and a separate gauge showing the inside temperature?
Post Reply