Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024
Legacy Cumulus 1 release v1.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
HTML5 Canvas based Odometer 'gauge'
Moderator: mcrossley
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
HTML5 Canvas based Odometer 'gauge'
Last night I knocked up this 'odometer' type counter.
A demo page can be found here:
http://www.wilmslowastro.com/odometer/odometer.html
Eventually it may find its way into the SteelSeries gauges as an alternative to the LCD panel, but for now it's just a standalone object. Someone may find a use for it on their web page, I just created it as an exercise with no real use in mind.A demo page can be found here:
http://www.wilmslowastro.com/odometer/odometer.html
You do not have the required permissions to view the files attached to this post.
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
The odometer has now been incorporated into the SteelSeries library as a separate component, and as an option to the LCD display on the Radial gauge.
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Oh! I can see it now... an anemometer odometer to monitor the anemometer kilometers...
Cheers,
Graeme.
Graeme.
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Mark -
Any guidelines to incorporate the odometer in the windspeed gauge? I'm thinking windrun. Will I need to update steelseries.js from 0.9.17 - Cumulus Specific Version?
Is it just a matter of adding:
useOdometer: true,
odometerParams: {digits: 5, value: odoValue}
to the gauge initialization.
gw
Any guidelines to incorporate the odometer in the windspeed gauge? I'm thinking windrun. Will I need to update steelseries.js from 0.9.17 - Cumulus Specific Version?
Is it just a matter of adding:
useOdometer: true,
odometerParams: {digits: 5, value: odoValue}
to the gauge initialization.
gw
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Basically yes. Though you will not have an "odoValue" when the gauge is first drawn so you do not need that - it will default to zero.gwheelo wrote:Mark -
Any guidelines to incorporate the odometer in the windspeed gauge? I'm thinking windrun. Will I need to update steelseries.js from 0.9.17 - Cumulus Specific Version?
Is it just a matter of adding:
useOdometer: true,
odometerParams: {digits: 5, value: odoValue}
to the gauge initialization.
gw
When (very soon) I release v1.6.5 of the scripts that will have the 'cutdown' SS library that incorporates the odometer. If you want to try this before that, then you will have to use the current build of the full library - 0.11.1
You will need to add a couple of more pieces:
- Add the windrun tag to the realtimegaugesT.txt file: "windrun":"<#windrun>",
- Add gauge_wind.setOdoValue(data.windrun) to the doWind() function
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
That would be a potential weather use yes, that is what George is suggesting too.GraemeT wrote:Oh! I can see it now... an anemometer odometer to monitor the anemometer kilometers...
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Here is an example of what a radial gauge with odometer should look like
You do not have the required permissions to view the files attached to this post.
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Ah! Yes Mark, I for one, reckon that looks pretty slick...
Cheers,
Graeme.
Graeme.
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
OK - windrun implemented - but still with static data - station is still down until 2 April.That would be a potential weather use yes
http://www.wheelocknet.net/cumulus/test_windrun.html?gb
I now need French, Dutch, German, Spanish, and Catalan translations for "Windrun" - anybody?
gw
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Did the odometer make 1.6.5Version 1.6.5 is now available
gw
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Yes, it should be in the cut down library I supply in the zip. Is it not working?
- gwheelo
- Posts: 453
- Joined: Wed 11 Jun 2008 7:36 pm
- Weather Station: WMR-88
- Operating System: Windows 8.1
- Location: L'Estartit, Spain
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
I haven't tried it - there was no mention in the "change" list - so I thought I would ask before I downloaded.Yes, it should be in the cut down library I supply in the zip. Is it not working?
gw
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Well, the odometer works.
I needed a few minutes to realise #windrun was missing from realtimegaugesT.txt but is all good now.
http://weather.gktnet.com/gauges-ss.php
I needed a few minutes to realise #windrun was missing from realtimegaugesT.txt but is all good now.
http://weather.gktnet.com/gauges-ss.php
Cheers,
Graeme.
Graeme.
- mcrossley
- Posts: 12692
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
Well done Graeme, maybe I should add a unit string for the odometer as well.
- GraemeT
- Posts: 312
- Joined: Wed 21 Oct 2009 11:19 am
- Weather Station: La Crosse WS-2355 & WS-2306
- Operating System: Windoze 7, 10, 11
- Location: Bayswater, Australia
- Contact:
Re: HTML5 Canvas based Odometer 'gauge'
I was thinking maybe a "Windrun" label underneath the odometer would be a nice touch.
Cheers,
Graeme.
Graeme.