Steelseries gauges don't work

240 views
Skip to first unread message

Bart Kluivingh

unread,
Jul 14, 2015, 4:15:37 PM7/14/15
to weewx...@googlegroups.com
I have Weewx running on my Raspberry. It is working well and now I want to 'upgrade'  the site with Steelserie Gauges. 

I followed the installation instruction, but after restarting weewx no data was written to the public_html/ss map. To solve this problem I changed the HTML-ROOT to /var/www/weewx/cc. The map is also uploaded to my server (ftp), but I cannot see the gauges. Who can help me out?


Bart

gjr80

unread,
Jul 14, 2015, 10:51:30 PM7/14/15
to weewx...@googlegroups.com
Hi,

I am not sure what you mean by 'the map'. I assume you are using the latest version of the Steelseries gauges that supports weewx? If so, is the file gauge-data.txt being generated? If not a log extract would be helpful, could you set debug=1 in weewx.conf, save weewx.conf, stop weewx then start weewx and post an extract of the log from startup until at least the first report cycle is complete. A copy of the [StdReport] section from weewx.conf (less any sensitive information) would also be helpful.

If gauge-data.txt is being generated it is most likely a setup issue with Steelseries in gauges.js.

Gary

Bart Kluivingh

unread,
Jul 15, 2015, 5:08:33 AM7/15/15
to weewx...@googlegroups.com
Hi Gary, 
thnx for your reaction. What I ment with 'the map' is the location of the html files, the html-root.


The gauge-data.txt is generated.


The debuglist is long :-/


Jul 15 10:49:37 raspberrypi weewx[4449]: engine: Starting up weewx version 3.1.0



Jul 15 10:49:37 raspberrypi weewx[4449]: engine: Station does not support reading the time

Jul 15 10:49:38 raspberrypi weewx[4449]: fousb: get 4 records since 2015-07-15 08:46:48

Jul 15 10:49:38 raspberrypi weewx[4449]: fousb: synchronising to the weather station (quality=1)

Jul 15 10:49:39 raspberrypi weewx[4449]: fousb: status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)

Jul 15 10:49:42 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:49:42 raspberrypi weewx[4449]: fousb: setting sensor clock 6.46712

Jul 15 10:49:42 raspberrypi weewx[4449]: fousb: live synchronised

Jul 15 10:49:42 raspberrypi weewx[4449]: fousb: packet timestamp is 08:49:42

Jul 15 10:50:27 raspberrypi weewx[4449]: fousb: avoid 5.89845585823

Jul 15 10:50:33 raspberrypi weewx[4449]: fousb: unstable read: blocks differ for ptr 0x000140

Jul 15 10:50:33 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:50:33 raspberrypi weewx[4449]: fousb: packet timestamp is 08:50:30

Jul 15 10:51:15 raspberrypi weewx[4449]: fousb: avoid 5.86346387863

Jul 15 10:51:21 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:51:21 raspberrypi weewx[4449]: fousb: packet timestamp is 08:51:18

Jul 15 10:52:03 raspberrypi weewx[4449]: fousb: avoid 5.8633248806

Jul 15 10:52:09 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:52:09 raspberrypi weewx[4449]: fousb: packet timestamp is 08:52:06

Jul 15 10:52:51 raspberrypi weewx[4449]: fousb: avoid 5.86318993568

Jul 15 10:52:57 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:52:57 raspberrypi weewx[4449]: fousb: packet timestamp is 08:52:54

Jul 15 10:53:39 raspberrypi weewx[4449]: fousb: avoid 5.4849588871

Jul 15 10:53:45 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:53:45 raspberrypi weewx[4449]: fousb: packet timestamp is 08:53:42

Jul 15 10:54:27 raspberrypi weewx[4449]: fousb: avoid 5.69113087654

Jul 15 10:54:33 raspberrypi weewx[4449]: fousb: new ptr: 000150 (000140)

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: new ptr: 000150 (000140)

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: setting station clock 34.4522

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: log synchronised

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: packet timestamp is 08:54:34

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: synchronised to 2015-07-15 08:54:34 for ptr 0x0140

Jul 15 10:54:34 raspberrypi weewx[4449]: fousb: avoid 2.89881896973

Jul 15 10:54:37 raspberrypi weewx[4449]: fousb: found 2 archive records

Jul 15 10:54:37 raspberrypi weewx[4449]: fousb: returning archive record 1436950174

Jul 15 10:54:37 raspberrypi weewx[4449]: manager: added record 2015-07-15 10:49:34 CEST (1436950174) to database '/var/lib/weewx/weewx.sdb'

Jul 15 10:54:37 raspberrypi weewx[4449]: manager: added record 2015-07-15 10:49:34 CEST (1436950174) to daily summary in '/var/lib/weewx/weewx.sdb'

Jul 15 10:54:37 raspberrypi weewx[4449]: fousb: returning archive record 1436950474

Jul 15 10:54:37 raspberrypi weewx[4449]: manager: added record 2015-07-15 10:54:34 CEST (1436950474) to database '/var/lib/weewx/weewx.sdb'

Jul 15 10:54:37 raspberrypi weewx[4449]: manager: added record 2015-07-15 10:54:34 CEST (1436950474) to daily summary in '/var/lib/weewx/weewx.sdb'

Jul 15 10:54:38 raspberrypi weewx[4449]: engine: Starting main packet loop.

Jul 15 10:54:38 raspberrypi weewx[4449]: fousb: station status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)

Jul 15 10:54:42 raspberrypi weewx[4449]: restx: StationRegistry: Published record 2015-07-15 10:49:34 CEST (1436950174)

Jul 15 10:54:42 raspberrypi weewx[4449]: restx: StationRegistry: wait interval (300 < 604800) has not passed for record 2015-07-15 10:54:34 CEST (1436950474)

Jul 15 10:55:39 raspberrypi weewx[4449]: fousb: get 5 records since 2015-07-15 08:57:04

Jul 15 10:55:39 raspberrypi weewx[4449]: fousb: synchronising to the weather station (quality=1)

Jul 15 10:56:03 raspberrypi weewx[4449]: fousb: status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)

Jul 15 10:56:03 raspberrypi weewx[4449]: fousb: avoid 5.87999296188

Jul 15 10:56:09 raspberrypi weewx[4449]: fousb: new data

Jul 15 10:56:09 raspberrypi weewx[4449]: fousb: packet timestamp is 08:56:06

Jul 15 10:56:09 raspberrypi weewx[4449]: fousb: log timestamp is 08:54:35

Jul 15 10:56:09 raspberrypi weewx[4449]: fousb: synchronised to 2015-07-15 08:54:35 for ptr 0x0140

Jul 15 10:56:09 raspberrypi weewx[4449]: fousb: found 0 archive records

Jul 15 10:56:09 raspberrypi weewx[4449]: reportengine: Running reports for latest time in the database.

Jul 15 10:56:09 raspberrypi weewx[4449]: reportengine: Running report StandardReport

Jul 15 10:56:09 raspberrypi weewx[4449]: reportengine: Found configuration file /etc/weewx/skins/Standard/skin.conf for report StandardReport

Jul 15 10:56:19 raspberrypi weewx[4449]: cheetahgenerator: Generated 15 files for report StandardReport in 9.42 seconds

Jul 15 10:56:21 raspberrypi weewx[4449]: genimages: Generated 12 images for StandardReport in 1.97 seconds

Jul 15 10:56:21 raspberrypi weewx[4449]: reportengine: copied 9 files to /var/www/weewx

Jul 15 10:56:21 raspberrypi weewx[4449]: reportengine: Running report SteelSeries

Jul 15 10:56:21 raspberrypi weewx[4449]: reportengine: Found configuration file /etc/weewx/skins/ss/skin.conf for report SteelSeries

Jul 15 10:56:21 raspberrypi weewx[4449]: reportengine: copied 6 files to /var/www/weewx/ss

Jul 15 10:56:23 raspberrypi weewx[4449]: cheetahgenerator: Generated 2 files for report SteelSeries in 1.61 seconds

Jul 15 10:56:25 raspberrypi weewx[4449]: genimages: Generated 11 images for SteelSeries in 1.76 seconds

Jul 15 10:56:25 raspberrypi weewx[4449]: reportengine: Running report FTP

Jul 15 10:56:25 raspberrypi weewx[4449]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP

Jul 15 10:56:25 raspberrypi weewx[4449]: ftpupload: Attempting connection to 192.168.2.150

Jul 15 10:56:35 raspberrypi weewx[4449]: ftpupload: Connected to 192.168.2.150

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daywind.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/dayuv.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/dayradiation.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/week.html

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/weewx.css

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daywindvec.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daywinddir.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/dayrx.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/year.html

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/dayrain.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/mobile.html

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/mobile.css

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/index.html

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daybarometer.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daytempdew.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/month.html

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daytempchill.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/favicon.ico

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/dayinside.png

Jul 15 10:56:36 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/daypond.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/XML/weewx_pws.xml

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/daywind.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayuv.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayouttemphum.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayradiation.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayinouthum.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayinouttemp.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/daywindvec.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/daywinddir.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayrain.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/index.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/daybarometer.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/gauge-data.txt

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/dayrainrate.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/css/gauges-ss.css

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/scripts/RGraph.common.core.min.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/scripts/gauges.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/scripts/RGraph.rose.min.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/scripts/steelseries_tween.min.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/ss/scripts/language.min.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/NOAA/NOAA-2015.txt

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/NOAA/NOAA-2015-07.txt

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/radar.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/index.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/custom.js

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/rain.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/wind.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/barometer.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/temp_outside.html

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/icons/icon_iphone_x1.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/icons/icon_ipad_x1.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/icons/icon_ipad_x2.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/smartphone/icons/icon_iphone_x2.png

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/backgrounds/band.gif

Jul 15 10:56:37 raspberrypi weewx[4449]: ftpupload: Uploaded file /web/RSS/weewx_rss.xml

Jul 15 10:56:37 raspberrypi weewx[4449]: reportengine: ftp'd 55 files in 12.66 seconds

Jul 15 10:56:37 raspberrypi weewx[4449]: reportengine: Running report RSYNC

Jul 15 10:56:37 raspberrypi weewx[4449]: reportengine: Found configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC



Jul 15 10:56:37 raspberrypi weewx[4449]: reportengine: rsync upload not requested. Skipped.



Last but not least, the weewx.conf part:


[[StandardReport]]



       
# See the customizing guide to change the units, plot types and line

       
# colors, modify the fonts, display additional sensor data, and other

       
# customizations.  Many of those changes can be made here by overriding

       
# parameters, or by modifying templates within the skin itself.

       

       
# The StandardReport uses the 'Standard' skin, which contains the

       
# images, templates and plots for the report.

        skin
= Standard

       
[[[Units]]]

           
[[[[Groups]]]]

                group_altitude
= meter

                group_speed2
= meter_per_second2

                group_pressure
= mbar

                group_rain
= mm

                group_rainrate
= mm_per_hour

                group_temperature
= degree_C

                group_degree_day
= degree_C_day

                group_speed
= meter_per_second




   
[[SteelSeries]]

        skin
= ss

        HTML_ROOT
= /var/www/weewx/ss

   

   
[[FTP]]

       
# FTP'ing the results to a webserver is treated as just another report,

       
# albeit one with an unusual report generator!

        skin
= Ftp

       

       
# If you wish to use FTP, uncomment and fill out the next four lines:

        user
= xxxxxxxxxx

        password
= xxxxxxxxxx

        server
= 192.168.2.150

        path
= /web

       

        # Set to True for a secure FTP (SFTP) connection. Not all servers

        # support this:

        secure_ftp = False

       

        # If you wish to upload files from something other than what HTML_ROOT

        # is set to above, then reset it here:

        #HTML_ROOT = /
var/www/weewx

       

       
# Most FTP servers use port 21, but if yours is different, you can

       
# change it here

        port
= 21

       

       
# Set to 1 to use passive mode, zero for active mode:

        passive
= 1

   

   
[[RSYNC]]

       
# rsync'ing to a webserver is treated as just another report

        skin
= Rsync

       

       
# If you wish to use rsync, you must configure passwordless ssh using

       
# public/private key authentication from the user account that weewx

       
# runs as to the user account on the remote machine where the files

       
# will be copied.

       
#

       
# The following determine where files will be sent:

       
#server = replace with your server name, e.g, www.threefools.org

       
#path = replace with the destination directory (e.g., /weather)

       
#user = replace with your username

       

       
# Rsync can be configured to remove files from the remote server if

       
# they don't exist under HTML_ROOT locally.  USE WITH CAUTION: if you

       
# make a mistake in the remote path, you could could unintentionally

       
# cause unrelated files to be deleted. Set to 1 to enable remote file

       
# deletion, zero to allow files to accumulate remotely.



       
delete = 0





Op woensdag 15 juli 2015 04:51:30 UTC+2 schreef gjr80:

gjr80

unread,
Jul 15, 2015, 5:26:40 AM7/15/15
to weewx...@googlegroups.com
Ok, it seems gauge-data.txt is being generated fine so it will likely be a misconfiguration of your web server, a misconfiguration in the users settings part of gauges.js or the files are just being ftp'd to the wrong place. I see you are generating the weewx Standard skin. Can you actually view the Standard weewx files in your browser? I have tried various incantations of the link in your first post but could not get anything. I gather from the logs/weewx.conf that you are running weewx on one machine and ftp'ing to your web server (192.168.2.150)? The files are ftp'd to /web. Is your web server set to serve files from /web?

Gary

Bart Kluivingh

unread,
Jul 15, 2015, 6:28:25 AM7/15/15
to weewx...@googlegroups.com
Hi Gary,

I noticed my router closed the port80, now it is open again. I recently received a new modem from my provider. 

I can see the standard weewx files. That is working fine. When I open www.kluivingh.nl/ss/ I only see radiobuttons and a main header and feettext.


Bart

Op woensdag 15 juli 2015 11:26:40 UTC+2 schreef gjr80:

Bart Kluivingh

unread,
Jul 15, 2015, 6:30:10 AM7/15/15
to weewx...@googlegroups.com
and here the files uploaded to my Synology server



Op woensdag 15 juli 2015 12:28:25 UTC+2 schreef Bart Kluivingh:

gjr80

unread,
Jul 15, 2015, 6:41:20 AM7/15/15
to weewx...@googlegroups.com
Ok Bart, that is good, I can see gauge-data.txt is thee and it looks ok, the issue will likely be that gauges.js is not set up correctly. Did you edit gauges.js and tell it you are using weewx? You need to set weatherProgram : 6 , the default is 0 which will not work. Line 34 I think.

Gary

Bart Kluivingh

unread,
Jul 15, 2015, 7:03:21 AM7/15/15
to weewx...@googlegroups.com
I realy appreciate your effort to help me! :-D

        config = {
           
// Script configuration parameters you may want to 'tweak'
            scriptVer        
: '2.5.9',
            weatherProgram    
: 6,                      //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        
: 'gauges.htm',           //*** Change this to the relative path for your 'old' gauges page.
            realtimeInterval  
: 5,                      //*** Download data interval, set to your realtime data update interval in seconds
            longPoll          
: false,                  // if enabled, use long polling and PHP generated data !!only enable if you understand how this is implemented!!
            gaugeMobileScaling
: 0.85,                   //scaling factor to apply when displaying the gauges mobile devices, set to 1 to disable (default 0.85)
            graphUpdateTime  
: 15,                     //period of pop-up data graph refresh, in minutes (default 15)
            stationTimeout    
: 10,                     //period of no data change before we declare the station off-line, in minutes (default 3)
            pageUpdateLimit  
: 20,                     //period after which the page stops automatically updating, in minutes (default 20),
                                                       
// - set to 0 (zero) to disable this feature
            pageUpdatePswd    
: 'its-me',               //password to over ride the page updates time-out, do not set to blank even if you do not use a password - http://<URL>&pageUpdate=its-me
            digitalFont      
: false,                  //Font control for the gauges & timer
            digitalForecast  
: false,                  //Font control for the status display, set this to false for languages that use accented characters in the forecasts
            showPopupData    
: true,                   //Pop-up data displayed
            showPopupGraphs  
: true,                   //If pop-up data is displayed, show the graphs?
            mobileShowGraphs  
: false,                  //If false, on a mobile/narrow display, always disable the graphs
            showWindVariation
: true,                   //Show variation in wind direction over the last 10 minutes on the direction gauge
            showIndoorTempHum
: true,                   //Show the indoor temperature/humidity options
            showCloudGauge    
: true,                   //Display the Cloud Base gauge
            showUvGauge      
: false                   //Display the UV Index gauge
            showSolarGauge    
: false                   //Display the Solar gauge
            showSunshineLed  
: true,                   //Show 'sun shining now' LED on solar gauge
            showRoseGauge    
: true,                   //Show the optional Wind Rose gauge
            showRoseGaugeOdo  
: true,                   //Show the optional Wind Rose gauge wind run Odometer
            showRoseOnDirGauge
: true,                   //Show the rose data as sectors on the direction gauge
            showGaugeShadow  
: true,                   //Show a drop shadow outside the gauges
                                                       
// The realtime files should be absolute paths, "/xxx.txt" refers to the public root of your web server
            realTimeURL_LongPoll
: 'realtimegauges-longpoll.php',     //*** ALL Users: If using long polling, change to your location of the PHP long poll realtime file ***
            realTimeURL_Cumulus
: 'realtimegauges.txt',     //*** Cumulus Users: Change to your location of the realtime file ***
            realTimeURL_WD    
: 'customclientraw.txt',    //*** WD Users: Change to your location of the ccr file ***
            realTimeURL_VWS    
: 'steelseriesVWSjson.php',  //*** VWS Users: Change to your location of the JSON script generator ***
            realTimeURL_WC    
: 'realtimegaugesWC.txt',   //*** WeatherCat Users: Change to your location of the JSON script generator ***
            realTimeURL_MB    
: 'MBrealtimegauges.txt',   //*** Meteobridge Users: Change to the location of the JSON file
            realTimeURL_WView  
: 'customclientraw.txt',    //*** WView Users: Change to your location of the customclientraw.txt file ***
            realTimeURL_weewx  
: 'gauge-data.txt',         //*** WeeWX Users: Change to your location of the gauge data file ***
            useCookies        
: true,                   //Persistently store user preferences in a cookie?
            tipImages        
: [],
            dashboardMode    
: false,                  //Used by Cumulus MX dashboard - SET TO FALSE OTHERWISE
            dewDisplayType    
: 'app'                   //Initial 'scale' to display  'dew' - Dewpoint
                                                       
// on the 'dew point' gauge.  'app' - Apparent temperature
                                                       
//                            'wnd' - Wind Chill
                                                       
//                            'hea' - Heat Index
                                                       
//                            'hum' - Humidex
       
},

This is what I changed in gauges.js. And ofcourse I did eddit weewx.conf.

Bart

Op woensdag 15 juli 2015 12:41:20 UTC+2 schreef gjr80:

gjr80

unread,
Jul 15, 2015, 7:17:54 AM7/15/15
to weewx...@googlegroups.com
Looks ok. One thing that did come to mind looking back at your logs if that the contents of the css and scripts folders were uploaded to ss during the ftp session. These files need only reside on your web server not your weewx machine. The risk you run is you will edit the right file on the wrong machine or changes will be overwritten. Are they being ftp'd every report cycle? Following on from this is there any chance you are editing gauges.js on the web server and then it is being overwritten by ftp'd from weewx?

gjr80

unread,
Jul 15, 2015, 8:25:07 AM7/15/15
to weewx...@googlegroups.com
Ok Bart, I think we have it now, it looks like when you edited gauges.js you deleted a couple of commas off the end of some lines:


            showUvGauge       : false                   //Display the UV Index gauge
            showSolarGauge    
: false                   //Display the Solar gauge

there should be a comma after each false ie

            showUvGauge       : false,                   //Display the UV Index gauge
            showSolarGauge    
: false,                   //Display the Solar gauge

Gary

Bart Kluivingh

unread,
Jul 15, 2015, 8:42:06 AM7/15/15
to weewx...@googlegroups.com
Wow... it is all in a ,

I've some quality time with one of my kids right now. First thing to do tonight. I let you know asap!
Thanks

Bart Kluivingh

unread,
Jul 15, 2015, 10:48:52 AM7/15/15
to weewx...@googlegroups.com
Hi Gary,

That was the problem. It works now. I've changed /etc/weewx/skins/ss/scripts/gauges.js but in first place that did not solve the problem. In de skin.conf is a command what says that de script map has to be copied once
 
so I have changed the text in de html_root as wel.

http://www.kluivingh.nl/ss/ works! Now try to give it my own layout.

Thanks for helping me out! 

Op woensdag 15 juli 2015 14:25:07 UTC+2 schreef gjr80:
Reply all
Reply to author
Forward
0 new messages