How to change appearance of STEEL GAUGES; ie as seen in link here

At the following link, one can choose all the parameters of some steel weather gauges
and see how they look.

http://www.wilmslowastro.com/steelseries/demoRadial.html

That is really cool, and of course I can use it to choose which colors etc I would like to use,
but once I have done that, I do not see any way to IMPLEMENT it in my own steel gauge files,
and that is essentially my question.

At the following link/ page there are some instructions, but they do not apply (or do not seem to)
to the steel gauges from Mark Crossley.

http://wiki.sandaysoft.com/a/SteelSeries_FAQ#Installing_and_Running

This quote (below) from the latter page, shows something called “setFrameDesign function …”
but I do not see any file in our steel gauges folders which have such a function.

[color=blue]--------------------------------------------------------------
setFrameDesign function control “ring” appearance:

Parameter Description
BLACK_METAL Black Metal
METAL Metal
SHINY_METAL Shiny Metal

(etcetera etcetera) …
--------------------------------------------------------------[/color]

Am I not seeing something in the Crossley folders and files which would allow setting these various
gauge colors and parameters like pointer type, metal finish type, etc?

Priscilla

Look in gauges.js for the section headed “gaugeGlobals = {”

Thank you Niko, for that help. This afternoon I have been trying to change the appearance of the gauges
by changing lines like the following in the gauges.js file you pointed me to:

       frameDesign           : steelseries.FrameDesign.CHROME,         // was TILTED_GRAY
       background            : steelseries.BackgroundColor.TURNED,    // was BEIGE
        foreground            : steelseries.ForegroundType.TYPE2,	     // was TYPE1
        pointer               : steelseries.PointerType.TYPE5,                 // was TYPE8

None of these changes show up.
I’m thinking that there might not be a set of options
from which the program can interpret “CHROME” or “TURNED”.
But then I wonder why it “understood” the original “TILTED_GRAY” and “BEIGE” values
that were there originally. Those must be defined and created someplace.

I think I may have found them … in “steelseries.js”
I’ll try making changes there …

Well … making changes to steelgauges.js along with gauges.js just made the gauges disappear,
so I returned to the originals.

After reading again through the wiki file, I see that "normally the scripts in the src folder are not used but for debugging purposes … "

If I want to edit and use the steelseries.js, (to attempt changing background colors and pointer types for example), this file is found in the SRC folder, should I move it up to the main
steelgauges directory when I upload it? - or upload it to the SRC folder online?

The issue is that there are full size .js files and minimized .js files (for speedier page loading), so your page htm code http://priscillanhk.com/0_Weather/STEEL_DREAMS/gauges-ss-basic.htm is linking to the minimized version

http://priscillanhk.com/0_Weather/STEEL_DREAMS/scripts/steelseries_tween.min.js

so need to change that link to the non-minimized version

http://priscillanhk.com/0_Weather/STEEL_DREAMS/scripts/steelseries.js

which you can edit.

Ah, I thought you might come through for me again, Niko!
This very sort of thing occurred to me, but I was not sure where to look for the connections.
I’ll play around with this new information when I get a chance tomorrow!

Have a nice New Years Eve and thanks again for your help!

Priscilla

You shouldn’t have to mess with the base library to change the styling of the gauges - unless you want to modify the actual styles themselves.

You can play with the various available styles here: http://www.wilmslowastro.com/steelseries/demoRadial.html

That is a plain HTML file with the JS embedded so you can see the style coding used. Just use the styles you want in the gauges.js file in the gaugeGlobals section highlighted by Niko.

Thanks Mark :smiley:

Ah, Mr. Crossley, your comment simplified things down to where I got things working better than ever.
I guess I am accustomed to things being much harder. Had I understood that ONLY the gauges.js file needed to be altered to change the appearance of the gauges, I would not have spent a day of my time switching away from all the “tween.min.js” type things and putting in the unminimzed versions of most of them from the src folder.

Now if only I can start modifying page structure (html and css) without messing the gauges up …

Thank you for chiming in! You lifted me out of the vortex of imagined complexity.

Priscilla

I did post a detailed step by step instructions on how to add a new dial, e.g an extra temp sensor
and that only involved changing the gauges.js file (and the .html file)

HELP!
For some reason, the steel gauges page I put together last week is no longer working. I have not changed ANY of the files involved in it. The LED banner says the site stopped working hours ago but the PC CONNECT program, wunderground and Weather-Display program are all getting fresh data right now. So I don’t know what is wrong.
LINK:[color=red] http://priscillanhk.com/0_Weather/STEEL_DREAMS/gauges-ss-basic-C.html[/color]

Does the page need to be set up with a time-out somehow so that it does not keep running when I (or anyone else) has it up in a browser?

Priscilla

I re-booted the computer and re-started Weather-Display and went to the set-up page (again) where
the customclientraw.txt file is and clicked “upload now” or “Start now” - something like that. Checked in my FTP program and it uploaded. Now the gauges are working again, HOWEVER, the last time that file had been uploaded was 10:30 this morning and even before then that gauges had stopped working. So they do stop
working at some point even if the customclientraw.txt file is being uploaded. Not sure why.

Priscilla

check the actual data in the customclientraw file is updating

The data showing up on the gauges and in the wx.html file match what shows on the main screen
of Weather-Display, so I think this is working okay now. I do not know why it was failing most of the day yesterday unless it had “timed out” in some big way beyond just the page LED banner five minutes in some way.

Priscilla