Author Topic: SteelSeries Gauges version 2.5.4  (Read 21263 times)

Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
SteelSeries Gauges version 2.5.4
« on: February 10, 2015, 07:27:48 AM »
I upgraded to SteelSeries 2.5.4 today. I had been using 2.4.x and I really like the improvements Mark. Thanks for the new cloudbase gauge for WeatherCat users and all the other improvements.

I have one small problem that really puzzles me. In my temperature gauges, instead of the gauge face displaying "°F" I am getting "?F".

I know that happens if you edit the gauges.js file with something that does not preserve UTF-8 code format or if the host page does not support UTF-8. However, I don't think either of these apply to me. I edited the files with TextWrangler 4.5.12 and I made sure I saved the files in UTF-8. This is the text editor I have always used on the SteelSeries files and have never had a problem. I made no other changes to the hosting page other than to point to the new directory I uploaded containing the upgraded SteelSeries folders and files.

I tried using TextEdit and Jedit and neither of them solved the problem.

I see that Reinhard does not have this issue. Reinhard, what do you edit with?

Mark, is there any other reason I am getting the errant degree sign?

http://timberlakesutah.com/weather/
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #1 on: February 10, 2015, 08:27:38 AM »
Hi Blick,

I am using TextWrangler, too. Indeed a bit strange, that those ° are not shown correct. Maybe Mark can give you an advice for this one. Another thing that I noticed is you can display a Cloud Base Graph when you hover the Cloud Base Gauge: WeatherCat provides it and it is called cloudbase1.jpg - if you want to use it just take care that this simple graph is uploaded!

Cheers,
Reinhard
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #2 on: February 10, 2015, 08:30:11 AM »
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #3 on: February 10, 2015, 08:32:07 AM »
Reinhard:

I am already uploading cloudbase1.jpg but when I hover over the gauge I am getting a pressure graph. Do I need to make a change in one of the files to get clpudbase1.jpg to show up properly?
Blick


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #4 on: February 10, 2015, 08:34:16 AM »
Another thing I found on Mark's Wiki:

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

Is that of help for you?

I already looked at this before I posted. I don't think either one of them applies, but maybe the host page is the problem, although I have not made any changes to it that I know of.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #5 on: February 10, 2015, 08:48:29 AM »
OK. I figured out the cloudbase1.jpg issue. In the gauges.js file, there is an error on line 280. This is where the graph is defined for what pops up when you hover over the cloudbase gauge. It calls for the pressure1.jpg. Replace "pressure1.jpg" with "cloudbase1.jpg" and the proper graph pops up. Thanks for looking at my site Reinhard, I had missed that one.

Now, if I can just figure out why "°F" is being replaced by "?F" I'll be  happy camper.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #6 on: February 10, 2015, 09:04:53 AM »
Sorry Blick for my unclear advice with cloudbase1.jpg - I should have told you where you find it in gauges.js  :-[

Hopefully you get this °F sorted out, if I notice something I will tell you immediately.

Cheers,
Reinhard
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #7 on: February 10, 2015, 09:09:33 AM »
Sorry Blick for my unclear advice with cloudbase1.jpg - I should have told you where you find it in gauges.js  :-[

No worries. After I thought about it for a couple of minutes I had an idea where to look and it was easy to find. You've been a big help. Thanks again.

Now I'm going to bed! 02:00 is late enough for this day's weather hobby.  :)
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #8 on: February 10, 2015, 09:35:14 AM »
Success - I found it:

In the new (2.5.4) gauges.js on line 3707 and line 3719 there is a difference to the (2.4.4) gauges.js - look at the screenshots.
Just replace the '?' to a '°' and you should be done! What I don't know is if we are breaking something in this script by doing this - here on my side it looks ok after changing ? to °  :)

Cheers,
Reinhard
Reinhard


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #9 on: February 10, 2015, 03:34:09 PM »
Reinhard:

How do you keep scoring these brilliant goals? ⚽

I made the changes on lines 3707 and 3719 and it works! As you say, we may have broken something else but it looks like its working to me. We'll have to wait for Mark to tell us if we are making things worse.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 2921
    • EW3808
    • KUTHEBER6
    • Timber Lakes Utah
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP™ Data Logger | iMac (late 2013), 3.5 GHz Intel Core i7, 24 GB RAM, macOS High Sierra | Sharx SCNC2900 Webcam | Supportive Wife
Re: SteelSeries Gauges version 2.5.4
« Reply #10 on: February 10, 2015, 08:02:14 PM »
Mark:

I appreciate the improvements you continue to make to the SteelSeries. Thanks for you efforts.

I have two more questions.
  • I have turned off the optional display of the wind variation on the direction gauge but it continues to display that information anyway. Is there some place other than the line for showWindVariation I need to check?
  • We haven't had much sun, but the LED does not light up when we do. I do have the showSunshineLed set to true. What is the criteria for the LED light turning on to indicate the sun is shining on the solar gauge?
Thanks.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #11 on: February 10, 2015, 08:38:35 PM »
1. Give line 58 a try and set it to 'false' - no need to do something in 'showWindVariation'
2. Read through the lines 101 and 102.

 ;)

Hope this helps.
Reinhard
Reinhard


mcrossley

  • Strong Breeze
  • ***
  • Posts: 230
  • Sorry, I'm not a WeatherCat user!
    • ICHESHIR25
    • Wilmslow Astro Weather
  • Station Details: WH1090
Re: SteelSeries Gauges version 2.5.4
« Reply #12 on: February 10, 2015, 08:40:31 PM »
First, apologies for the ?C & ?F - the file diff tool I was using seems to have mangled the UTF-8, I'll have to see if there is an option to handle it properly - or look for a new tool.

1. I'll look into that now...
2. Lines 101 & 102,
Code: [Select]
sunshineThreshold      : 50,    // the value in W/m² above which we can consider the Sun to be shining, *if* the current value exceeds...
 sunshineThresholdPct   : 75,    // the percentage of theoretical solar irradiance above which we consider the Sun to be shining
Mark

wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #13 on: February 10, 2015, 08:47:14 PM »
By the way, Blick, I admire your windrose gauge - it shows only a few wind directions. Mine shows a chaos - wind arriving from all directions!

Cheers,
Reinhard
Reinhard


wurzelmac

  • Storm
  • *****
  • Posts: 1122
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2,7 GHz Intel Core i7 with 12 GB of RAM | 2x Canon EOS 1100D | macOS 10.13.5 HighSierra
Re: SteelSeries Gauges version 2.5.4
« Reply #14 on: February 10, 2015, 08:49:17 PM »
Sorry Mark,
haven't seen your posting.
Reinhard
Reinhard