[weewx-user] Re: WeeWx-WD SS gauges config
Ok, I what has happened now. The wxssgauges.php page is distributed with the WD plugin for the Saratoga templates, wxssgauges.php has a variable that is set to refer to the location of the SteelSeries Weather Gauages scripts. When I donwloaded and installed the gauges some time ago (v2.4.4 - pre-GitHub version) the included gauges-ss-basic-inc.php was slightly different, it used $ssgDir: http://code.jquery.com/jquery-1.11.1.min.js";> whereas the version on GitHub now does not make use of $ssgDir in gauges-ss-basic-inc.php. So what to do? I think you have 3 choices: 1. Get rid of the web-server directory (move its contents, both files and folders, to st/ssg). This shoul dresult in the scripts being found and the page loading 2. Change the "src=scripts/..." entries in gauges-ss-basic-inc.php to "src=scripts/...". You now have an orphan file, though it is unlikely to chnage too much in the future. 3. Get hold of the old gauges-ss-basic-inc.php and use it. probably best to go with the latest version though. I would be doing 1. Gary On Saturday, 14 January 2017 07:27:26 UTC+10, Dan'l B wrote: > > Attached. I am assuming you meant the contents of gauges-ss-basic-inc.php, > which is what I have attached. > > On Friday, January 13, 2017 at 4:03:56 PM UTC-5, gjr80 wrote: >> >> Ok, the setup seems OK as far as I can tell; I can see all your scripts >> just where you say they are. However, there is a path issue. If you do a >> view source when you have wxssgauges.php open in your browser you will >> see the following lines (circa line 570): >> >> > src="http://code.jquery.com/jquery-1.11.1.min.js";> >> > src="scripts/steelseries_tween.min.js">> src="scripts/language.min.js"> > src="scripts/gauges.js"> >> > src="scripts/RGraph.rose.min.js"> >> changeLang(LANG.EN); // change SteelSeries language >> >> >> The problem is the value of $ssgDir should have been prepended to all or >> the src strings for each of the scripts. (eg I have $ssg=./ssg/ and my src >> settings are src="./ssg/scripts/gauges.js" etc). So the bottom line is >> the browser cannot find the sripts so no gauges are drawn. All I can think >> is that something is going astray in the php code. Can you post the >> contents of your st/wxssgauges.php and >> st/ssg/web_server/gauges-ss-basic.php files, I can't see the php source. >> Google groups might not let you post php files, either just rename as .txt >> files or post the contents >> >> Gary >> >> >> On Saturday, 14 January 2017 02:20:44 UTC+10, Dan'l B wrote: >>> >>> With the Saratoga templates in /st, the ss gauges dir is /st/ssg. >>> $ssgDir is set to '/ssg/web_server/' >>> $ssgDir = './ssg/web_server/'; >>> >>> >>> All the files generated by WeeWx-WD are uploaded to /st >>> And the path to the ccr file in gauges.js is: >>> realTimeUrlWD : '../../../../customclientraw.txt', >>> >>> gauges-ss-basic.inc and gauges-ss-basic.htm are in the web_server >>> directory. >>> >>> On Thursday, January 12, 2017 at 11:00:34 PM UTC-5, gjr80 wrote: No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, the above question relates to weewx-WD where you are mimicing WD (and using customclientraw.txt). The issue is almost certainly an issue of incorrect paths. Your saratoga php pages seem to be in the st directory on your web server, where do the SteelSeries files sit in respect to the st directory? You should have a directory that contains gauges-ss-basic-inc.php, gauges-ss-basic.htm etc. What is the name of this directory and where does it sit on the server? In wxssgauges.php what is $ssgDir set to in the following line (circa line 44) $ssgDir = './ssg/'; // set to relative directory location of the SteelSeries gauge directory Gary On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: > > Shouldn't it be set to 6 for weewx?? > > > > On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: > >> I seem to be almost there on getting the SS gauges working in the >> Saratoga Templates but not quite: >> >> http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php >> >> Can someone point me to what I am missing here? >> >> in gauges.js: >> Weather Program is set to 1 >> >>> weatherProgram : 1, //Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX >>> >>> imgPathURL : ''',//*** Change this to the relative path for your 'Trend' graph images >>> >>> oldGauges : '', >>> >>> >> and the path to the customclientraw.txt is correct: >> >>>
[weewx-user] Re: WeeWx-WD SS gauges config
Attached. I am assuming you meant the contents of gauges-ss-basic-inc.php, which is what I have attached. On Friday, January 13, 2017 at 4:03:56 PM UTC-5, gjr80 wrote: > > Ok, the setup seems OK as far as I can tell; I can see all your scripts > just where you say they are. However, there is a path issue. If you do a > view source when you have wxssgauges.php open in your browser you will > see the following lines (circa line 570): > >src="http://code.jquery.com/jquery-1.11.1.min.js";> >src="scripts/steelseries_tween.min.js"> src="scripts/language.min.js"> src="scripts/gauges.js"> >src="scripts/RGraph.rose.min.js"> > changeLang(LANG.EN); // change SteelSeries language > > > The problem is the value of $ssgDir should have been prepended to all or > the src strings for each of the scripts. (eg I have $ssg=./ssg/ and my src > settings are src="./ssg/scripts/gauges.js" etc). So the bottom line is > the browser cannot find the sripts so no gauges are drawn. All I can think > is that something is going astray in the php code. Can you post the > contents of your st/wxssgauges.php and > st/ssg/web_server/gauges-ss-basic.php files, I can't see the php source. > Google groups might not let you post php files, either just rename as .txt > files or post the contents > > Gary > > > On Saturday, 14 January 2017 02:20:44 UTC+10, Dan'l B wrote: >> >> With the Saratoga templates in /st, the ss gauges dir is /st/ssg. >> >>> $ssgDir is set to '/ssg/web_server/' >>> >> $ssgDir = './ssg/web_server/'; >> >> >> All the files generated by WeeWx-WD are uploaded to /st >> And the path to the ccr file in gauges.js is: >> >>> realTimeUrlWD : '../../../../customclientraw.txt', >>> >> >> gauges-ss-basic.inc and gauges-ss-basic.htm are in the web_server >> directory. >> >> On Thursday, January 12, 2017 at 11:00:34 PM UTC-5, gjr80 wrote: >>> >>> No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, >>> the above question relates to weewx-WD where you are mimicing WD (and using >>> customclientraw.txt). >>> >>> The issue is almost certainly an issue of incorrect paths. Your saratoga >>> php pages seem to be in the st directory on your web server, where do >>> the SteelSeries files sit in respect to the st directory? You should >>> have a directory that contains gauges-ss-basic-inc.php, >>> gauges-ss-basic.htm etc. What is the name of this directory and where >>> does it sit on the server? In wxssgauges.php what is $ssgDir set to in >>> the following line (circa line 44) >>> >>> $ssgDir = './ssg/'; // set to relative directory location of the >>> SteelSeries gauge directory >>> >>> Gary >>> >>> On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: Shouldn't it be set to 6 for weewx?? On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: > I seem to be almost there on getting the SS gauges working in the > Saratoga Templates but not quite: > > http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php > > Can someone point me to what I am missing here? > > in gauges.js: > Weather Program is set to 1 > >> weatherProgram : 1, //Set 0=Cumulus, >>> 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX >> >> imgPathURL : ''',//*** Change this to >>> the relative path for your 'Trend' graph images >> >> oldGauges : '', >> >> > and the path to the customclientraw.txt is correct: > >> realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** >> WD Users: Change to your location of the ccr file *** > > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. >>This pages requires JavaScript enabling in your browser.<<>>Please enable scripting it to enjoy this site at its best.<< Outside Inside Dew Point Apparent Wind Chill Heat Index Humidex Outside Inside Temperature: °C °F Rainfall: mm Inch Pressure: hPa
[weewx-user] Re: WeeWx-WD SS gauges config
Ok, the setup seems OK as far as I can tell; I can see all your scripts just where you say they are. However, there is a path issue. If you do a view source when you have wxssgauges.php open in your browser you will see the following lines (circa line 570): http://code.jquery.com/jquery-1.11.1.min.js";> changeLang(LANG.EN); // change SteelSeries language The problem is the value of $ssgDir should have been prepended to all or the src strings for each of the scripts. (eg I have $ssg=./ssg/ and my src settings are src="./ssg/scripts/gauges.js" etc). So the bottom line is the browser cannot find the sripts so no gauges are drawn. All I can think is that something is going astray in the php code. Can you post the contents of your st/wxssgauges.php and st/ssg/web_server/gauges-ss-basic.php files, I can't see the php source. Google groups might not let you post php files, either just rename as .txt files or post the contents Gary On Saturday, 14 January 2017 02:20:44 UTC+10, Dan'l B wrote: > > With the Saratoga templates in /st, the ss gauges dir is /st/ssg. > >> $ssgDir is set to '/ssg/web_server/' >> > $ssgDir = './ssg/web_server/'; > > > All the files generated by WeeWx-WD are uploaded to /st > And the path to the ccr file in gauges.js is: > >> realTimeUrlWD : '../../../../customclientraw.txt', >> > > gauges-ss-basic.inc and gauges-ss-basic.htm are in the web_server > directory. > > On Thursday, January 12, 2017 at 11:00:34 PM UTC-5, gjr80 wrote: >> >> No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, >> the above question relates to weewx-WD where you are mimicing WD (and using >> customclientraw.txt). >> >> The issue is almost certainly an issue of incorrect paths. Your saratoga >> php pages seem to be in the st directory on your web server, where do >> the SteelSeries files sit in respect to the st directory? You should >> have a directory that contains gauges-ss-basic-inc.php, >> gauges-ss-basic.htm etc. What is the name of this directory and where >> does it sit on the server? In wxssgauges.php what is $ssgDir set to in >> the following line (circa line 44) >> >> $ssgDir = './ssg/'; // set to relative directory location of the >> SteelSeries gauge directory >> >> Gary >> >> On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: >>> >>> Shouldn't it be set to 6 for weewx?? >>> >>> >>> >>> On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: >>> I seem to be almost there on getting the SS gauges working in the Saratoga Templates but not quite: http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php Can someone point me to what I am missing here? in gauges.js: Weather Program is set to 1 > weatherProgram : 1, //Set 0=Cumulus, >> 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX > > imgPathURL : ''',//*** Change this to >> the relative path for your 'Trend' graph images > > oldGauges : '', > > and the path to the customclientraw.txt is correct: > realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** WD > Users: Change to your location of the ccr file *** >>> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: WeeWx-WD SS gauges config
With the Saratoga templates in /st, the ss gauges dir is /st/ssg. > $ssgDir is set to '/ssg/web_server/' > $ssgDir = './ssg/web_server/'; All the files generated by WeeWx-WD are uploaded to /st And the path to the ccr file in gauges.js is: > realTimeUrlWD : '../../../../customclientraw.txt', > gauges-ss-basic.inc and gauges-ss-basic.htm are in the web_server directory. On Thursday, January 12, 2017 at 11:00:34 PM UTC-5, gjr80 wrote: > > No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, > the above question relates to weewx-WD where you are mimicing WD (and using > customclientraw.txt). > > The issue is almost certainly an issue of incorrect paths. Your saratoga > php pages seem to be in the st directory on your web server, where do the > SteelSeries files sit in respect to the st directory? You should have a > directory that contains gauges-ss-basic-inc.php, gauges-ss-basic.htm etc. > What is the name of this directory and where does it sit on the server? In > wxssgauges.php what is $ssgDir set to in the following line (circa line > 44) > > $ssgDir = './ssg/'; // set to relative directory location of the > SteelSeries gauge directory > > Gary > > On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: >> >> Shouldn't it be set to 6 for weewx?? >> >> >> >> On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: >> >>> I seem to be almost there on getting the SS gauges working in the >>> Saratoga Templates but not quite: >>> >>> http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php >>> >>> Can someone point me to what I am missing here? >>> >>> in gauges.js: >>> Weather Program is set to 1 >>> weatherProgram : 1, //Set 0=Cumulus, > 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX imgPathURL : ''',//*** Change this to > the relative path for your 'Trend' graph images oldGauges : '', >>> and the path to the customclientraw.txt is correct: >>> realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** WD Users: Change to your location of the ccr file *** >>> >>> >>> >>> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: WeeWx-WD SS gauges config
My mistake Gary!! On Friday, 13 January 2017 06:00:34 UTC+2, gjr80 wrote: > > No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, > the above question relates to weewx-WD where you are mimicing WD (and using > customclientraw.txt). > > The issue is almost certainly an issue of incorrect paths. Your saratoga > php pages seem to be in the st directory on your web server, where do the > SteelSeries files sit in respect to the st directory? You should have a > directory that contains gauges-ss-basic-inc.php, gauges-ss-basic.htm etc. > What is the name of this directory and where does it sit on the server? In > wxssgauges.php what is $ssgDir set to in the following line (circa line > 44) > > $ssgDir = './ssg/'; // set to relative directory location of the > SteelSeries gauge directory > > Gary > > On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: >> >> Shouldn't it be set to 6 for weewx?? >> >> >> >> On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: >> >>> I seem to be almost there on getting the SS gauges working in the >>> Saratoga Templates but not quite: >>> >>> http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php >>> >>> Can someone point me to what I am missing here? >>> >>> in gauges.js: >>> Weather Program is set to 1 >>> weatherProgram : 1, //Set 0=Cumulus, > 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX imgPathURL : ''',//*** Change this to > the relative path for your 'Trend' graph images oldGauges : '', >>> and the path to the customclientraw.txt is correct: >>> realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** WD Users: Change to your location of the ccr file *** >>> >>> >>> >>> >> -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: WeeWx-WD SS gauges config
No Andrew, 6 is for when you are using SteelSeries with gauge-data.txt, the above question relates to weewx-WD where you are mimicing WD (and using customclientraw.txt). The issue is almost certainly an issue of incorrect paths. Your saratoga php pages seem to be in the st directory on your web server, where do the SteelSeries files sit in respect to the st directory? You should have a directory that contains gauges-ss-basic-inc.php, gauges-ss-basic.htm etc. What is the name of this directory and where does it sit on the server? In wxssgauges.php what is $ssgDir set to in the following line (circa line 44) $ssgDir = './ssg/'; // set to relative directory location of the SteelSeries gauge directory Gary On Friday, 13 January 2017 13:37:03 UTC+10, Andrew Milner wrote: > > Shouldn't it be set to 6 for weewx?? > > > > On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: > >> I seem to be almost there on getting the SS gauges working in the >> Saratoga Templates but not quite: >> >> http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php >> >> Can someone point me to what I am missing here? >> >> in gauges.js: >> Weather Program is set to 1 >> >>> weatherProgram : 1, //Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX >>> >>> imgPathURL : ''',//*** Change this to the relative path for your 'Trend' graph images >>> >>> oldGauges : '', >>> >>> >> and the path to the customclientraw.txt is correct: >> >>> realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** WD >>> Users: Change to your location of the ccr file *** >> >> >> >> > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: WeeWx-WD SS gauges config
Shouldn't it be set to 6 for weewx?? On Friday, 13 January 2017 05:15:20 UTC+2, Dan'l B wrote: > I seem to be almost there on getting the SS gauges working in the Saratoga > Templates but not quite: > > http://suiattle.net/DinkinsBayouWeather/st/wxssgauges.php > > Can someone point me to what I am missing here? > > in gauges.js: > Weather Program is set to 1 > >> weatherProgram : 1, //Set 0=Cumulus, 1=Weather >>> Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX >> >> imgPathURL : ''',//*** Change this to the >>> relative path for your 'Trend' graph images >> >> oldGauges : '', >> >> > and the path to the customclientraw.txt is correct: > >> realTimeUrlWD : '../../../../WD/customclientraw.txt',//*** WD >> Users: Change to your location of the ccr file *** > > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.