Wind rose does not show in Steel Series

340 views
Skip to first unread message

WH3080

unread,
Apr 8, 2015, 2:34:35 AM4/8/15
to weewx...@googlegroups.com
Hi,

I installed the steel series and all but one gauge are working. It should be twelve instruments, right?

http://wiki.sandaysoft.com/a/SteelSeries_Gauges

http://wiki.sandaysoft.com/a/File:Steelseries-sshot-1.jpg

The wind rose is not working.

I believe I followed the instructions and it shows a "true" in the config file(s). What am I doing wrong? Below are my configuration files.

Thanks for a hint...

WH3080

/*!
 * A starter gauges page for Cumulus and Weather Display, based
 * on the JavaScript SteelSeries gauges by Gerrit Grunwald.
 *
 * Created by Mark Crossley, July 2011
 *  see scriptVer below for latest release
 *
 * Released under GNU GENERAL PUBLIC LICENSE, Version 2, June 1991
 * See the enclosed License file
 *
 * File encoding = UTF-8
 *
 */
/*globals steelseries, LANG, changeLang */
/*jshint jquery:true,nomen:false,plusplus:false */

/*! Tiny Pub/Sub - v0.7.0 - 2013-01-29
* https://github.com/cowboy/jquery-tiny-pubsub
* Copyright (c) 2013 "Cowboy" Ben Alman; Licensed MIT */
(function($) {
    'use strict';
    var o = $({});
    $.subscribe = function() {o.on.apply(o, arguments);};
    $.unsubscribe = function() {o.off.apply(o, arguments);};
    $.publish = function() {o.trigger.apply(o, arguments);};
}(jQuery));

var gauges = (function () {
    'use strict';
    var strings = LANG.EN,         //Set to your default language. Store all th$
        config = {
            // Script configuration parameters you may want to 'tweak'
            scriptVer         : '2.5.8',
            weatherProgram    : 6,                      //Set 0=Cumulus, 1=Weat$
            imgPathURL        : '',             //*** Change this to the relati$
            oldGauges         : 'gauges.htm',           //*** Change this to th$
            realtimeInterval  : 300,                      //*** Download data i$
            longPoll          : false,                  // if enabled, use long$
            gaugeMobileScaling: 0.85,                   //scaling factor to app$
            graphUpdateTime   : 15,                     //period of pop-up data$
            stationTimeout    : 15,                     //period of no data cha$
            pageUpdateLimit   : 20,                     //period after which th$
                                                        // - set to 0 (zero) to$
            pageUpdatePswd    : 'its-me',               //password to over ride$
            digitalFont       : false,                  //Font control for the $
            digitalForecast   : false,                  //Font control for the $
            showPopupData     : true,                   //Pop-up data displayed
            showPopupGraphs   : true,                   //If pop-up data is dis$
            mobileShowGraphs  : true,                  //If false, on a mobile/$
            showWindVariation : true,                   //Show variation in win$
            showIndoorTempHum : true,                   //Show the indoor tempe$
            showCloudGauge    : true,                   //Display the Cloud Bas$
            showUvGauge       : true,                   //Display the UV Index $
            showSolarGauge    : true,                   //Display the Solar gau$
            showSunshineLed   : true,                   //Show 'sun shining now$
            showRoseGauge     : true,                   //Show the optional Win$
            showRoseGaugeOdo  : true,                   //Show the optional Win$
            showRoseOnDirGauge: true,                   //Show the rose data as$
            showGaugeShadow   : true,                   //Show a drop shadow ou$
                                                        // The realtime files s$
            realTimeURL_LongPoll: 'realtimegauges-longpoll.php',     //*** ALL $
            realTimeURL_Cumulus: 'realtimegauges.txt',     //*** Cumulus Users:$
            realTimeURL_WD     : 'customclientraw.txt',    //*** WD Users: Chan$
            realTimeURL_VWS    : 'steelseriesVWSjson.php',  //*** VWS Users: Ch$
            realTimeURL_WC     : 'realtimegaugesWC.txt',   //*** WeatherCat Use$
            realTimeURL_MB     : 'MBrealtimegauges.txt',   //*** Meteobridge Us$
            realTimeURL_WView  : 'customclientraw.txt',    //*** WView Users: C$
            realTimeURL_weewx  : 'gauge-data.txt',         //*** WeeWX Users: C$
            useCookies        : true,                   //Persistently store us$
            tipImages         : [],
            dashboardMode     : false,                  //Used by Cumulus MX da$
            dewDisplayType    : 'app'                   //Initial 'scale' to di$
                                                        // on the 'dew point' g$
                                                        //                     $
                                                        //                     $
                                                        //                     $
        },


----------------------------------------------------------------------------------------

# $Id: skin.conf 1210 2015-01-01 17:01:08Z mwall $
# configuration file for the steel series gauges skin for weewx
#   created by Matthew Wall
#   based on work by Mark Crossley and others
#
# This skin can be copied, modified, and distributed as long as this notice
# is included in any derivative work.

[Units]
    [[Groups]]
        group_altitude    = meter
        group_degree_day  = degree_C_day
        group_direction   = degree_compass
        group_moisture    = centibar
        group_percent     = percent
        group_pressure    = hPa
        group_radiation   = watt_per_meter_squared
        group_rain        = mm
        group_rainrate    = mm_per_hour
        group_speed       = knots
        group_speed2      = meter_per_second2
        group_temperature = degree_C
        group_uv          = uv_index
        group_volt        = volt

[CopyGenerator]
    copy_once = css/*.css, scripts/*.js

[CheetahGenerator]
    encoding = html_entities
    [[ToDate]]
        [[[index]]]
            template = index.html.tmpl
        [[[data]]]
            template = gauge-data.txt.tmpl

[ImageGenerator]
    image_width = 720
    image_height = 196
    image_background_color = 0xffffff
    chart_background_color = 0xffffff
    chart_gridline_color = 0xeaeaea

    top_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansConden$
    top_label_font_size = 10

    unit_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansConde$
    unit_label_font_size = 10
    unit_label_font_color = 0xaaaaaa

    bottom_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansCon$
    bottom_label_font_size = 10
    bottom_label_font_color = 0xaaaaaa

    axis_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansConde$
    axis_label_font_size = 10
    axis_label_font_color = 0xaaaaaa

    rose_label = N
    rose_label_font_path = /usr/share/fonts/truetype/ttf-dejavu/DejaVuSansConde$
    rose_label_font_size  = 8
    rose_label_font_color = 0x888888
    rose_color = 0xaaaaaa

    chart_line_colors = 0x1e69d2, 0x8b008b, 0xa09e5f, 0x8080f0
    chart_fill_colors = 0x7ec9f2, 0xeb00eb, 0xf0febf, 0xe0e0f0

    line_type = 'solid'
    marker_size = 2
    marker_type ='none'
    plot_type = line
    aggregate_type = none
    width = 1
    yscale = None, None, None
    vector_rotate = 90
    line_gap_fraction = 0.01
    bar_gap_fraction = 0.2
    daynight_day_color = 0xffffff
    daynight_night_color = 0xf8f0f0
    daynight_edge_color = 0xafefef
    bottom_label_format = %x %X
    time_length = 90000

    [[images]]
        x_label_format = %H:%M
        show_daynight = true
        [[[daybarometer]]]
            [[[[barometer]]]]
        [[[dayrain]]]
            yscale = None, None, 0.02
 plot_type = bar
            [[[[rain]]]]
                aggregate_type = sum
                aggregate_interval = 3600
                label = Rain (hourly total)
        [[[dayrainrate]]]
            [[[[rainrate]]]]
        [[[daywind]]]
            [[[[windSpeed]]]]
            [[[[windGust]]]]
        [[[daywinddir]]]
            line_type = None
            marker_type = 'box'
            marker_size = 2
            yscale = 0.0, 360.0, 45.0
            [[[[windDir]]]]
        [[[daywindvec]]]
            [[[[windvec]]]]
                plot_type = vector
            [[[[windgustvec]]]]
                plot_type = vector
                aggregate_type = max
                aggregate_interval = 3600
        [[[dayouttemphum]]]
            [[[[windchill]]]]
            [[[[heatindex]]]]
            [[[[dewpoint]]]]
            [[[[outTemp]]]]
        [[[dayinouttemp]]]
            [[[[outTemp]]]]
            [[[[inTemp]]]]
        [[[dayinouthum]]]
            yscale = 0, 100, 10
            [[[[outHumidity]]]]
            [[[[inHumidity]]]]
        [[[dayradiation]]]
            [[[[radiation]]]]
        [[[dayuv]]]
            [[[[UV]]]]

[Generators]
        generator_list = weewx.reportengine.CopyGenerator, weewx.cheetahgenerat$




gjr80

unread,
Apr 8, 2015, 3:44:43 AM4/8/15
to weewx...@googlegroups.com
Hi,

The issue is that the weewx template (gauge-data.txt.tmpl) provided with the Steel Series gauges does not yet provide any wind rose data; consequently, the default SteelSeries does not display the windrose gauge if you have told SteelSeries you are using weewx (ie weatherProgram: 6). This is irrespective of the setting you mention, as further down in gauges.js (mine is lines317-338 but I am running Steelseries v2.5.1) showRoseGauge is set to false if weatherProgram == 6. Of course if you are using a modified template that does in fact include windrose data you could override the setting at line (about) 323.

Gary
Reply all
Reply to author
Forward
0 new messages