[weewx-user] Re: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread Sam
Gary Thank you so much.  I learned a little bit as well. Thanks for that 
too.

On Wednesday, March 15, 2017 at 5:23:49 PM UTC-4, gjr80 wrote:
>
> And there it is, missing comma at the end of line 38.
>
> Gary
>

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread gjr80
And there it is, missing comma at the end of line 38.

Gary

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread Sam
   imgPathURL : ''  //*** Change this to the relative path 
for your 'Trend' graph images

On Wednesday, March 15, 2017 at 4:58:21 PM UTC-4, gjr80 wrote:
>
> How about line 38? What does it contain, please copy it and post exactly 
> as it is.
>
> Gary
>

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread gjr80
How about line 38? What does it contain, please copy it and post exactly as it 
is.

Gary

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread Sam
Gary,
gauges.js is in /var/www/html/weewx/ss/scripts.

The console throws out Uncaught SyntaxError: Unexpected identifier 
  gauges.js:39link address is   
http://192.168.1.125/weewx/ss/scripts/gauges.js
I am assuming that means there is a problem at line 39 in  gauges.js
Line 39 reads  oldGauges  : 'gauges.htm', //*** Change this 
to the relative path for your 'old' gauges page.



On Wednesday, March 15, 2017 at 3:22:29 AM UTC-4, gjr80 wrote:
>
> Ok, interesting. I just did a clean install of 3.7.0 via deb and followed 
> the instructions you listed and everything works fine. Now that I think 
> back not being able to find gauges.js can lead to no gauges being rendered 
> on screen. Can you confirm that gauges.js is in 
> /var/www/html/weewx/ss/scripts ?
>
> If it is we need to see if any javascript errors are being thrown. Can you 
> open the Browser Console in your browser, what this will be called varies I 
> think from browser to browser. I use firefox and it is under Developer, 
> Browser Console. Edge it is under F12 Developer Tools. You will need to 
> find it for your browser. Have a look at the Javascript console, are there 
> any errors there that apprear to relate to gauges.js etc.  Clear the log 
> and refresh your weewx/ss/index.html page in your broswer to see if any 
> errors come up.  If so what do they say?.
>
> Gary
>
>
> On Wednesday, 15 March 2017 14:17:34 UTC+10, Sam wrote:
>>
>>   Line 73 says   realTimeUrlWeewx   : 'gauge-data.txt', 
>>
>> On Tuesday, March 14, 2017 at 10:50:46 PM UTC-4, gjr80 wrote:
>>>
>>> Hi,
>>>
>>> I see nothing obviously wrong there. It's possible that the SteelSeries 
>>> Weather Gauges can't find you data file (gauge-data.txt), what do you 
>>> have against realTimeURL_weewx in gauges.js (it about line 68). This 
>>> tells the Steel Series Weatehr Gauges where to find you gauge-data.txt 
>>> file.
>>>
>>> Gary 
>>>
>>

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-15 Thread gjr80
Ok, interesting. I just did a clean install of 3.7.0 via deb and followed 
the instructions you listed and everything works fine. Now that I think 
back not being able to find gauges.js can lead to no gauges being rendered 
on screen. Can you confirm that gauges.js is in 
/var/www/html/weewx/ss/scripts ?

If it is we need to see if any javascript errors are being thrown. Can you 
open the Browser Console in your browser, what this will be called varies I 
think from browser to browser. I use firefox and it is under Developer, 
Browser Console. Edge it is under F12 Developer Tools. You will need to 
find it for your browser. Have a look at the Javascript console, are there 
any errors there that apprear to relate to gauges.js etc.  Clear the log 
and refresh your weewx/ss/index.html page in your broswer to see if any 
errors come up.  If so what do they say?.

Gary


On Wednesday, 15 March 2017 14:17:34 UTC+10, Sam wrote:
>
>   Line 73 says   realTimeUrlWeewx   : 'gauge-data.txt', 
>
> On Tuesday, March 14, 2017 at 10:50:46 PM UTC-4, gjr80 wrote:
>>
>> Hi,
>>
>> I see nothing obviously wrong there. It's possible that the SteelSeries 
>> Weather Gauges can't find you data file (gauge-data.txt), what do you 
>> have against realTimeURL_weewx in gauges.js (it about line 68). This 
>> tells the Steel Series Weatehr Gauges where to find you gauge-data.txt 
>> file.
>>
>> Gary 
>>
>

-- 
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: SteelSeries gauges .....No gauges are displayed

2017-03-14 Thread Sam
  Line 73 says   realTimeUrlWeewx   : 'gauge-data.txt', 

On Tuesday, March 14, 2017 at 10:50:46 PM UTC-4, gjr80 wrote:
>
> Hi,
>
> I see nothing obviously wrong there. It's possible that the SteelSeries 
> Weather Gauges can't find you data file (gauge-data.txt), what do you 
> have against realTimeURL_weewx in gauges.js (it about line 68). This 
> tells the Steel Series Weatehr Gauges where to find you gauge-data.txt 
> file.
>
> Gary
>
> On Wednesday, 15 March 2017 12:33:46 UTC+10, Sam wrote:
>>
>> Hi, and thanks to all in advance,
>>
>>
>> I am trying to install SteelSeries gauges  to my weewx raspberry pi. 
>> Weewx was installed  from a DEB package. It is partly working in that I see 
>> a web page at http://192.168.1.125/weewx/ss/  that mentions  at the 
>> bottom...
>>
>>
>> Interval: 5 minutes
>> Station: Simulator
>> Software: WeeWX 3.7.0 
>> Scripts: by Mark Crossley
>> Gauges: SteelSeries  by 
>> Gerrit Grunwald
>>
>>
>> But that is it. No gauges are displayed.  Included are some Log files.
>>
>> Here is what I have done.  
>>
>> copy weather_server/WeeWX/skin.conf WEEWX_SKINS_DIR/ss/
>>
>> copy weather_server/WeeWX/index.html.tmpl WEEWX_SKINS_DIR/ss/
>>
>> copy weather_server/WeeWX/gauge-data.txt.tmpl WEEWX_SKINS_DIR/ss/
>>
>> copy web_server/css folder to WEEWX_SKINS_DIR/ss/
>>
>> copy web_server/scripts folder to WEEWX_SKINS_DIR/ss/
>>
>> edied  WEEWX_SKINS_DIR/ss/scripts/gauges.js
>>
>> weatherProgram : 6
>>
>> imgPathURL : ''
>>
>> stationTimeout : 10 // set to twice archive interval, in minutes
>>
>> showUvGauge : false // false if there is no UV sensor
>>
>> showSolarGauge : false  // false if there is no solar radiation sensor
>>
>> add a SteelSeries section to StdReport in weewx.conf
>>
>> [StdReport]
>>
>> ...
>>
>> [[SteelSeries]]
>>
>> skin = ss
>>
>> HTML_ROOT = /var/www/html/weewx/ss
>>
>>  
>>
>>  
>>
>>  
>>
>>  wee_debug output
>>
>>  
>>
>> pi@raspberrypi:~ $ wee_debug --info
>>
>> Using verbosity=1, displaying most info
>>
>>  
>>
>> wee_debug output will be sent to stdout(console)
>>
>>  
>>
>> Using configuration file /etc/weewx/weewx.conf
>>
>> Using database binding 'wx_binding', which is bound to database 
>> 'archive_sqlite'
>>
>>  
>>
>> System info
>>
>>   CPU implementer:0x41
>>
>>   Features:   half thumb fastmult vfp edsp neon vfpv3 tls 
>> vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
>>
>>   CPU architecture:   7
>>
>>   BogoMIPS:   76.80
>>
>>   Hardware:   BCM2709
>>
>>   CPU revision:   4
>>
>>   CPU part:   0xd03
>>
>>   model name: ARMv7 Processor rev 4 (v7l)
>>
>>   Serial: 0eccebc4
>>
>>   processor:  3
>>
>>   CPU variant:0x0
>>
>>   Revision:   a02082
>>
>>  
>>
>>   Operating system:   debian 8.0
>>
>>   Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 
>> 20 19:18:29 GMT 2017 armv7l
>>
>>   1 minute load average:  0.00
>>
>>   5 minute load average:  0.03
>>
>>   15 minute load average: 0.00
>>
>>  
>>
>> General weewx info
>>
>>   Weewx version 3.7.0 detected.
>>
>>  
>>
>> Station info
>>
>>   Station type: Simulator
>>
>>   Driver:   weewx.drivers.simulator
>>
>>  
>>
>> Driver info
>>
>> [Simulator]
>>
>> # This section is for the weewx weather station simulator
>>
>>  
>>
>> # The time (in seconds) between LOOP packets.
>>
>> loop_interval = 2.5
>>
>>  
>>
>> # The simulator mode can be either 'simulator' or 'generator'.
>>
>> # Real-time simulator. Sleep between each LOOP packet.
>>
>> mode = simulator
>>
>> # Generator.  Emit LOOP packets as fast as possible (useful for 
>> testing).
>>
>> #mode = generator
>>
>>  
>>
>> # The start time. If not specified, the default is to use the present 
>> time.
>>
>> #start = 2011-01-01 00:00
>>
>>  
>>
>> # The driver to use:
>>
>> driver = weewx.drivers.simulator
>>
>>  
>>
>> Currently installed extensions
>>
>> No extensions installed
>>
>>  
>>
>> Archive info
>>
>>   Database name:weewx.sdb
>>
>>   Table name:   archive
>>
>>   Unit system:  1 (US)
>>
>>   First good timestamp: 2017-03-13 22:35:00 EDT (1489458900)
>>
>>   Last good timestamp:  2017-03-14 21:35:00 EDT (1489541700)
>>
>>   Number of records:274
>>
>>   weewx (weewx.conf) is set to use an archive interval of 300 seconds.
>>
>>   The station hardware was not interrogated in determining archive 
>> interval.
>>
>>  
>>
>> Databases configured in weewx.conf
>>
>>   Database name:weewx.sdb
>>
>>   Database driver:  weedb.sqlite
>>
>>  
>>
>>   Database name:weewx
>>
>>   Database driver:  weedb.mysql
>>
>>   Database host:localhost
>>
>>  
>>
>>  
>>
>> Parsed and obfuscated weewx.conf
>>
>> # WEEWX CONFIGURATION FILE
>>
>> #
>>
>> # Copyright (c) 2009-2015 To

[weewx-user] Re: SteelSeries gauges .....No gauges are displayed

2017-03-14 Thread gjr80
Hi,

I see nothing obviously wrong there. It's possible that the SteelSeries 
Weather Gauges can't find you data file (gauge-data.txt), what do you have 
against realTimeURL_weewx in gauges.js (it about line 68). This tells the 
Steel Series Weatehr Gauges where to find you gauge-data.txt file.

Gary

On Wednesday, 15 March 2017 12:33:46 UTC+10, Sam wrote:
>
> Hi, and thanks to all in advance,
>
>
> I am trying to install SteelSeries gauges  to my weewx raspberry pi. Weewx 
> was installed  from a DEB package. It is partly working in that I see a web 
> page at http://192.168.1.125/weewx/ss/  that mentions  at the 
> bottom...
>
>
> Interval: 5 minutes
> Station: Simulator
> Software: WeeWX 3.7.0 
> Scripts: by Mark Crossley
> Gauges: SteelSeries  by 
> Gerrit Grunwald
>
>
> But that is it. No gauges are displayed.  Included are some Log files.
>
> Here is what I have done.  
>
> copy weather_server/WeeWX/skin.conf WEEWX_SKINS_DIR/ss/
>
> copy weather_server/WeeWX/index.html.tmpl WEEWX_SKINS_DIR/ss/
>
> copy weather_server/WeeWX/gauge-data.txt.tmpl WEEWX_SKINS_DIR/ss/
>
> copy web_server/css folder to WEEWX_SKINS_DIR/ss/
>
> copy web_server/scripts folder to WEEWX_SKINS_DIR/ss/
>
> edied  WEEWX_SKINS_DIR/ss/scripts/gauges.js
>
> weatherProgram : 6
>
> imgPathURL : ''
>
> stationTimeout : 10 // set to twice archive interval, in minutes
>
> showUvGauge : false // false if there is no UV sensor
>
> showSolarGauge : false  // false if there is no solar radiation sensor
>
> add a SteelSeries section to StdReport in weewx.conf
>
> [StdReport]
>
> ...
>
> [[SteelSeries]]
>
> skin = ss
>
> HTML_ROOT = /var/www/html/weewx/ss
>
>  
>
>  
>
>  
>
>  wee_debug output
>
>  
>
> pi@raspberrypi:~ $ wee_debug --info
>
> Using verbosity=1, displaying most info
>
>  
>
> wee_debug output will be sent to stdout(console)
>
>  
>
> Using configuration file /etc/weewx/weewx.conf
>
> Using database binding 'wx_binding', which is bound to database 
> 'archive_sqlite'
>
>  
>
> System info
>
>   CPU implementer:0x41
>
>   Features:   half thumb fastmult vfp edsp neon vfpv3 tls 
> vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
>
>   CPU architecture:   7
>
>   BogoMIPS:   76.80
>
>   Hardware:   BCM2709
>
>   CPU revision:   4
>
>   CPU part:   0xd03
>
>   model name: ARMv7 Processor rev 4 (v7l)
>
>   Serial: 0eccebc4
>
>   processor:  3
>
>   CPU variant:0x0
>
>   Revision:   a02082
>
>  
>
>   Operating system:   debian 8.0
>
>   Linux raspberrypi 4.4.50-v7+ #970 SMP Mon Feb 20 
> 19:18:29 GMT 2017 armv7l
>
>   1 minute load average:  0.00
>
>   5 minute load average:  0.03
>
>   15 minute load average: 0.00
>
>  
>
> General weewx info
>
>   Weewx version 3.7.0 detected.
>
>  
>
> Station info
>
>   Station type: Simulator
>
>   Driver:   weewx.drivers.simulator
>
>  
>
> Driver info
>
> [Simulator]
>
> # This section is for the weewx weather station simulator
>
>  
>
> # The time (in seconds) between LOOP packets.
>
> loop_interval = 2.5
>
>  
>
> # The simulator mode can be either 'simulator' or 'generator'.
>
> # Real-time simulator. Sleep between each LOOP packet.
>
> mode = simulator
>
> # Generator.  Emit LOOP packets as fast as possible (useful for 
> testing).
>
> #mode = generator
>
>  
>
> # The start time. If not specified, the default is to use the present 
> time.
>
> #start = 2011-01-01 00:00
>
>  
>
> # The driver to use:
>
> driver = weewx.drivers.simulator
>
>  
>
> Currently installed extensions
>
> No extensions installed
>
>  
>
> Archive info
>
>   Database name:weewx.sdb
>
>   Table name:   archive
>
>   Unit system:  1 (US)
>
>   First good timestamp: 2017-03-13 22:35:00 EDT (1489458900)
>
>   Last good timestamp:  2017-03-14 21:35:00 EDT (1489541700)
>
>   Number of records:274
>
>   weewx (weewx.conf) is set to use an archive interval of 300 seconds.
>
>   The station hardware was not interrogated in determining archive 
> interval.
>
>  
>
> Databases configured in weewx.conf
>
>   Database name:weewx.sdb
>
>   Database driver:  weedb.sqlite
>
>  
>
>   Database name:weewx
>
>   Database driver:  weedb.mysql
>
>   Database host:localhost
>
>  
>
>  
>
> Parsed and obfuscated weewx.conf
>
> # WEEWX CONFIGURATION FILE
>
> #
>
> # Copyright (c) 2009-2015 Tom Keffer >
>
> # See the file LICENSE.txt for your rights.
>
>  
>
>
> ##
>
>  
>
> # This section is for general configuration information.
>
>  
>
> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>
> debug = 1
>
>  
>
> # Root directory of the weewx data file hierarchy for thi