Trouble setting up Steelseries Gauges

I’m trying to set up the Steelseries Gauges on my Saratoga template website and just can’t get it working. The page will load but with no gauges.

http://www.weathercat.net/wxssgauges.php

Can anyone help point out what a need to do to get this working?

Hi,
have you uploaded all the necessary javascript files to your host?
Many scripts are being reported as 404 not found from your host, including

scripts/steelseries_tween.min.js
scripts/language.min.js
scripts/gauges.js
scripts/RGraph.common.core.min.js
scripts/RGraph.rose.min.js

Hi

I have the scripts in the directory ssg as specified in the wxssgauges.php file.

$ssgDir = ‘./ssg/’; // set to relative directory location of the SteelSeries gauge directory

Ah ok,
you probably need to change all paths in the wxssgauges.php code below e.g. scripts/language.min.js should be ./ssg/scripts/language.min.js etc etc

<!-- Combined steelseries.js & tween.js -->
  <script src="scripts/steelseries_tween.min.js"></script>

  <!-- Once you have customised this scripts to your requirements you should minimise
       and concatenate them into a single file in the same order  as below -->
  <script src="scripts/language.min.js"></script>
  <script src="scripts/gauges.js"></script>

  <!--Optional Wind Rose scripts -->
  <script src="scripts/RGraph.common.core.min.js"></script>
  <script src="scripts/RGraph.rose.min.js"></script>

I just tried that and no change, it looks like the bath is already set correctly using:

$ssgDir = ‘./ssg/’; // set to relative directory location of the SteelSeries gauge directory

  <!-- Combined steelseries.js & tween.js -->
  <script src="'.$ssgDir.'scripts/steelseries_tween.min.js"></script>

  <!-- Once you have customised this scripts to your requirements you should minimise
       and concatenate them into a single file in the same order  as below -->
  <script src="'.$ssgDir.'scripts/language.min.js"></script>
  <script src="'.$ssgDir.'scripts/gauges.js"></script>

  <!--Optional Wind Rose scripts -->

  <script src="'.$ssgDir.'scripts/windrose.js"></script>
  <script src="'.$ssgDir.'scripts/RGraph.common.core.min.js"></script>
  <script src="'.$ssgDir.'scripts/RGraph.radar.min.js"></script>

Just checked http://www.weathercat.net/wxssgauges.php and can see no change as yet

etc

where is the ssgDir path set?

I have the following in the wxssgauges.php file.

The ‘.$ssgDir.’ should be adding in the ./ssg/

This is in the wxssgauges.php file so set the path.
$ssgDir = ‘./ssg/’; // set to relative directory location of the SteelSeries gauge directory

Hmm yes it should be.

Maybe it will work if you change all of them to have a direct path, i.e

to

etc
etc

You are missing a few lines of code, actually about 7 lines in the beginning of the gauges-ss-basic.htm, when you moved the code those lines didn’t paste to wxssgauges.php.

I tried making the path direct like the below and it did not work.

My gauges-ss-basic.htm starts with:

<!DOCTYPE html>
<!-- gauges-ss-basic.htm

I found the problem.

I changed:
$ssgDir = ‘./ssg/’; // set to relative directory location of the SteelSeries gauge directory

To:
$ssgDir = ‘/ssg/’; // set to relative directory location of the SteelSeries gauge directory

You still have errors in the images paths, it is looking for:

http://www.weathercat.net/images/......php?1441493817846

Im not sure where that path is specified, but it is not correct.

Most of the gauges are working for me, but there’s something strange with windchill being 84.3 when the temp is only 80.6 :?

It seems I got the gauges to show but they do not update and plus other things are not working like the graphs.

Which graphs are you going to use? I think the saratoga normally uses the jpgraph wxgraphs*, do you have those installed and working?

http://discourse.weather-watch.com/t/28585

That is why the graphs don’t work, I don’t have that installed. The link for the graph files is not working in the link you left.

Anyone know why the gauges are not updating.

Google is amazing http://jpgraph.net/download/ - I fixed the link too.

The download link for the wxgraphs works for me.

Thanks for the link. :slight_smile:

I got the gauges to update by disabling the broken rose gauge.

Your customclientraw.txt appears to have the windrose data :dontknow: