cloudy

Author Topic: SteelSeries - 1.6.x Discussion  (Read 8084 times)

0 Members and 1 Guest are viewing this topic.

Offline SpireWeather

  • Posts: 456
  • Salisbury, UK
  • OS/Browser:
  • iOS 5.1
  • Safari 5.1
    • SpireWeather
Re: SteelSeries - 1.6.x Discussion
« Reply #135 on: March 19, 2012, 07:30:14 PM »
In SteelSeries Announcements, Mark wrote: -

"One fix that you may want to incorporate soon, v1.6.5 downloads the humidity graph every realtime update cycle rather than every 15 minutes (default). The change if you just want to edit your existing file is line 1336, changes from:
Code: [Select]
        if (g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {
to
Code: [Select]
        if (g_refreshGraphs && g_showPopupDataGraphs && g_tipImgs[4][0] !== null) {"

Is this change to gauges.js (which I have done) the only difference from 1.6.5 (plus of course the replacement clientrawlocal.txt file)?

Regards,
Simon, SpireWeather


Offline mcrossley

  • Posts: 372
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 17.0.963.79
    • WilmslowAstro Weather
Re: SteelSeries - 1.6.x Discussion
« Reply #136 on: March 19, 2012, 07:31:46 PM »
Is this change to gauges.js (which I have done) the only difference from 1.6.5 (plus of course the replacement clientrawlocal.txt file)?

Yep.
Mark

Offline SpireWeather

  • Posts: 456
  • Salisbury, UK
  • OS/Browser:
  • iOS 5.1
  • Safari 5.1
    • SpireWeather
Re: SteelSeries - 1.6.x Discussion
« Reply #137 on: March 19, 2012, 07:48:05 PM »
Great, thanks Mark,

Don't think I can face all that customisation again!  #-o

Cheers
Simon, SpireWeather


Offline KB5BFA

  • Posts: 57
  • Kerstan
  • Cleveland, Texas
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 10.0.2
Re: SteelSeries - 1.6.x Discussion
« Reply #138 on: March 19, 2012, 08:40:00 PM »
Mark, is 'rrate' the only tag being used to produce the display of a value in rain rate gauge - if not ,which other tags might be used for that gauge?

Why would the display on my rain rate gauge remain at 10 while the display on the console (from where the amount of rain falling is coming from) was indicating a value greater than 10?

Should changing the value of 'rrate' in the data file (in either 'customclientraw.txt' or 'realtimegauges.txt') to a large value (greater than 10) automatically produce a change in the scale, or is there a delay somewhere, or is there a need for some other tag/variable?

Will check closely today as both snow (from 6 to 10cm) and rain (from 10 to 20mm) are expected later on (Wednesday).

Mark,

We are supposed to start getting a lot of rain tonight and tomorrow, so you may be able to check on the rain rate.

Appreciate all your hard work.
Kerstan

Offline Bergerie

  • EndUser
  • Posts: 164
  • Montauroux, France
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • MontaurouxMeteoLive
Re: SteelSeries - 1.6.x Discussion
« Reply #139 on: May 30, 2012, 03:36:36 PM »
The dewpoint gauge also features, amonst others, "Apparent" and "Humidex". These terms are uncommon in France and thus wish to hide them from the selection options. Concurrently, I wish to default to "Dew Point". Anyone willing to guide me how to change the default from Apparent to Dewpoint.
Rgds
Dick Wismeijer

Offline mcrossley

  • Posts: 372
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 19.0.1084.46
    • WilmslowAstro Weather
Re: SteelSeries - 1.6.x Discussion
« Reply #140 on: May 31, 2012, 01:43:55 PM »
Edit the HTML page and remove the following lines:
Code: [Select]
          <input id="rad_dew2" type="radio" name="rad_dew" value="app" checked onclick="doDew(this);">
          <label id="lab_dew2" for="rad_dew2">Apparent</label>
and
          <input id="rad_dew5" type="radio" name="rad_dew" value="hum" onclick="doDew(this);">
          <label id="lab_dew5" for="rad_dew5">Humidex</label>
Then change:
Code: [Select]
          <input id="rad_dew1" type="radio" name="rad_dew" value="dew" onclick="doDew(this);">
to
          <input id="rad_dew1" type="radio" name="rad_dew" value="dew" checked onclick="doDew(this);">

Edit gauges.js and around line 181 change:
Code: [Select]
    g_dew.selected = 'app';
to
    g_dew.selected = 'dew';

Done.
Mark

Offline Bergerie

  • EndUser
  • Posts: 164
  • Montauroux, France
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 12.0
    • MontaurouxMeteoLive
Re: SteelSeries - 1.6.x Discussion
« Reply #141 on: May 31, 2012, 07:45:57 PM »
Mark,
Thanks a lot for yr expeditious response. All working fine. In order to change the gauge title to Dew Point, I take it that also line g_dew.title = LANG.apptemp_title; had to be changed to g_dew.title = LANG.dew_title;
Again, many thanks.
Dick

Offline mcrossley

  • Posts: 372
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 19.0.1084.46
    • WilmslowAstro Weather
Re: SteelSeries - 1.6.x Discussion
« Reply #142 on: May 31, 2012, 08:12:40 PM »
Ah, yes missed that one! I did it from memory of the code and didn't actually test it out  :?
Mark