Cloud Height Gauge Not Showing

Any idea why my cloud height gauge is not showing? I have set showCloudGauge to true.

Tom

It seems to be working now… is this still an issue?

I can’t see it. . .

It may be set true in gauges.js but is it specified (by row and position in row) in gauges-ss.htm?

As I understand it the position of the gauge is determined by the order in the gauges-ss-basic* file. I believe the script uses the gauges-ss-basic-inc.php file not the htm file. If I run the gauges-ss-basic.htm the cloud height dial is drawn.

Tom

It still does not work on my system.

Tom

I see the cloud-height graphic on your home page. Are you talking about a different page on your site? If so, please specify which page is not showing the expected cloud-height display.

SteelSeries (Live Gauges) page. . . at least, that’s what I’m assuming!

I’ve only ever used gauges-ss.htm (edited from gauges-ssT.htm and renamed to gauges.htm for my web page) and gauges.js, and everything works as expected. But then mine is just a stand-alone page, not included in a template. . .

If it is (as you assume) the http://www.kq5s.com/wd/wxssgauges.php that is not showing a cloud height gauge, then using view-source:http://www.kq5s.com/wd/gauges/gauges-ss-basic-incnew.php instead of view-source:http://www.kq5s.com/wd/gauges/gauges-ss-basic-inc.php would have the

    <div id="tip_11" class="gauge">
      <canvas id="canvas_cloud" class="gaugeSizeStd"></canvas>
    </div>

needed to ‘host’ a cloud height gauge for display.

I remember now. The gauges-ss-basic-incnew.php, which was gauges-ss-basic-inc.php, did not give me any gauges so I used the old gauges-ss-basic-inc.php. I uploaded the newest version of the scripts to a new directory and then renamed it to gauges. I did this to hopefully ensure I had a clean new install. When the new install would not work I copied the gauges-ss-basic-inc.php from the old directory and the gauges worked.

I renamed the gauges-ss-basic-incnew.php to gauges-ss-basic-inc.php and if you look at the page you will see the gauges are not loading.

Suggestions?

Tom

The script is looking for…
http://www.kq5s.com/wd/gauges/customclientraw.txt

But the file is actually here…
http://www.kq5s.com/wd/customclientraw.txt

I can’t seem to get the path correct. Here is what I am using"

realTimeUrlWD : ‘./customclientraw.txt’,

This path works fine with the old gauges-ss-basic-inc.php but apparently not with the 2.7.2 version since the dials are not showing. I would think the dials would show but would have not data?

tom

Your wxssgauges.php is failing to load scripts/language.min.js (gets a 404-Not Found), so JavaScript stops executing when it encounters

<script type="text/javascript">
	   changeLang(LANG.EN);  // change SteelSeries language
</script>

on the page with an ‘undefined’ for the function changeLang() (which is defined in scripts/language.min.js) so none of your gauges display.

The file is there. The wxssgauges.php works fine with the old gauges-ss-basic-inc.php. Everything is the same except for the gauges-ss-basic-inc.php file.

Tom

Got it. I changed the location of the various scripts at the bottom of the gauges-ss-basic-inc.php. Mark’s help was what did he when he mentioned the file could not be found in the script. Still not sure why it worked with the old gauges-ss-basic-inc.php.

I changed the tl to TL in gauges.js and now the indoor temp (garage in my case) popup shows correctly with C or F.

Many thanks for the help Mark.

Tom

I think I understand why the old one worked and not the new one. The old one used a variable to point to the scripts’ location.

<script src="<?php echo $ssgDir; ?>scripts/language.min.js"></script>
  <script src="<?php echo $ssgDir; ?>scripts/gauges.js"></script>

The new version has the location hard coded.

   <script src="scripts/language.min.js"></script>
  <script src="scripts/gauges.js"></script>

Tom