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
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: SteelSeries Gauges - version 1.0

Post by gwheelo »

the gauges use fillText()

I may be finding gremlins that don't exist but it is my impression that ctx.fillText writes the text and ctx.strokeStyle assigns a quality (color) to the outline of the characters written by fillText and ctx.fillStyle assigns a quality to fill in the outlined character written by fillText - or its just something else I don't understand yet - is that at all clear? Just starting to actually try to understand Canvas.

If the character written by ctx.fillText is scaled up without a ctx.fillStyle the character will be just an outline. Am I close? Are there some defaults I have missed?

In any case I am having a great time with your Steelseries and muddling my way with Canvas.

GW
Image
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 »

.fillText() draws solid filled characters in the .fillStyle.
.strokeText() draws characters as hollow outlines with the .strokeStyle, and line thickness of .lineWidth

The strokeText() method draws small text noticeably 'bolder' because it has to use a minimum line thickness of 1, and for small text it will 'appear' to be filled, the outline only becomes apparent at larger sizes.

You can use both methods, draw some filled text, then draw outline text over the top. The colours of each draw can be different.
User avatar
FTBoomer
Posts: 29
Joined: Mon 26 Dec 2011 2:14 am
Weather Station: W-1080
Operating System: Win 7
Location: Tampa, FL

Re: SteelSeries Gauges - version 1.0

Post by FTBoomer »

Just got a W-1080 for Christmas today. Got it up and running and broadcasting but I've read nearly every page in the thread and can not find any instructions to install these gauges. Can you please point me in the right direction.

BTW, great work.
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 »

FTBoomer wrote:...can not find any instructions to install these gauges...
You might want to first download the SteelSeries Gauges package version 1.2.2 (look at the first message in this thread), extract that package to a know directory of your choice and have a look at the 'ReadMe.txt' file contained within that package - the 'ReadMe.txt' file can easily be opened/view using Windows basic 'Notepad' utility. ;)

Once you have followed the instructions provided by Mark, then you should have working (displaying) SteelSeries Gauges - if you are encountering some problems, then describe the problem(s) and one of us will try to find a solution with you... :geek:
User avatar
FTBoomer
Posts: 29
Joined: Mon 26 Dec 2011 2:14 am
Weather Station: W-1080
Operating System: Win 7
Location: Tampa, FL

Re: SteelSeries Gauges - version 1.0

Post by FTBoomer »

Thanks Gemini

gemini06720 wrote:
FTBoomer wrote:...can not find any instructions to install these gauges...
You might want to first download the SteelSeries Gauges package version 1.2.2 (look at the first message in this thread), extract that package to a know directory of your choice and have a look at the 'ReadMe.txt' file contained within that package - the 'ReadMe.txt' file can easily be opened/view using Windows basic 'Notepad' utility. ;)

Once you have followed the instructions provided by Mark, then you should have working (displaying) SteelSeries Gauges - if you are encountering some problems, then describe the problem(s) and one of us will try to find a solution with you... :geek:
User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: SteelSeries Gauges - version 1.0

Post by meteotortosa »

mcrossley wrote:Latest additions to the steelseries library. Three new pointer types TYPE11,12,13
pointers11-12-13.jpg
and a new wind direction gauge.
winddir.jpg
All in the next release, sometime soon. ;)
How can I get this new wind direction gauge?
Weather in Tortosa (NE Spain), updated every 15'
Image Image
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 will have version 1.3.0 ready "real soon" this will incorporate the new gauge and the latest version of the library. I just optimising some stuff now...
User avatar
meteotortosa
Posts: 323
Joined: Thu 04 Dec 2008 12:15 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: Windows XP SP3
Location: Tortosa-Baix Ebre- Catalonia
Contact:

Re: SteelSeries Gauges - version 1.0

Post by meteotortosa »

mcrossley wrote:I will have version 1.3.0 ready "real soon" this will incorporate the new gauge and the latest version of the library. I just optimising some stuff now...
Wait for this new release !! :clap:
Weather in Tortosa (NE Spain), updated every 15'
Image Image
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 »

For the next release I wanted to change the realtimegauges.txt to realtimegauges.json. BUT, I just the found the IIS7 instance on my laptop I use for testing needed a MIME type adding for .json before it would serve the files.

So question: Is that change going to cause too many problems? Should I stick to calling the file realtimegauges.txt, but make the contents JSON formatted?
n9mfk
Posts: 845
Joined: Sun 10 May 2009 8:52 pm
Weather Station: davis vp2 Serial datalogger
Operating System: Windows 7 64-bit
Location: Springfield, IL

Re: SteelSeries Gauges - version 1.0

Post by n9mfk »

hi Mark i stay with txt
Beau
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:Should I stick to calling the file realtimegauges.txt, but make the contents JSON formatted?
Indeed Mark, I would suggest that you stay with the 'txt' (or even with the 'tpl' for template) format - I could not find any mention of '.json' in the registry of my Windows 7 (HKEY_CLASSES_ROOT)... :shock:

Just curious - why does the text data file has to be converted into a '.json' format?
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:Just curious - why does the text data file has to be converted into a '.json' format?
It does not 'have' to be converted, but by doing so I can drop a whole is file (parserealtime.is) from the solution, and switch to a browser native JSON.parse().

It also makes the realtime file self documenting, and independent of the order of things within the file.
User avatar
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: SteelSeries Gauges - version 1.0

Post by gwheelo »

It also makes the realtime file self documenting, and independent of the order of things within the file.
Do what ever you feel is in your own best interest! I, for one, will just take that as something new to learn. Since this entire trip has been such an enjoyable learning curve mainly as this board's members are so helpful and understanding, new ideas are always pleasant and rewarding exercises.

March on...............

GW
Image
User avatar
FTBoomer
Posts: 29
Joined: Mon 26 Dec 2011 2:14 am
Weather Station: W-1080
Operating System: Win 7
Location: Tampa, FL

Re: SteelSeries Gauges - version 1.0

Post by FTBoomer »

OK, So I've got everything loaded but nothing is updating. Is there an html i need to edit? Everything is in the standard folder configuration as the instruction.

http://goo.gl/PnOAT link to site

Also, not sure if anyone here can answer this but my sunrise\sunset times are reversed. Any ideas why?

TIA
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 »

Your realtimegauges.txt file contains the raw webtags, have you ticked the 'process' checkbox for that file in Cumulus?
Post Reply