Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.4 build 3060 - 10 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Steel Gauges wind speed without decimal place

    Discussion specific to Davis weather stations
    Post Reply
    colinpb
    Posts: 86
    Joined: Thu 10 Nov 2011 8:14 pm
    Weather Station: VP2+SHT31+DFars+Solar+AeroCone
    Operating System: Windows 10
    Location: Hemel Hempstead, Hertfordshire, UK

    Steel Gauges wind speed without decimal place

    Post by colinpb » Thu 01 Jun 2017 6:58 am

    I’m running Steel Gauges version 2.5.18 and wondered if it’s possible to change the wind speed to whole numbers without a decimal place.

    Colin

    User avatar
    mcrossley
    Posts: 5807
    Joined: Thu 07 Jan 2010 9:44 pm
    Weather Station: Davis VP2
    Operating System: Stretch Lite rPi
    Location: Wilmslow, Cheshire, UK
    Contact:

    Re: Steel Gauges wind speed without decimal place

    Post by mcrossley » Thu 01 Jun 2017 11:42 am

    Hi Colin, on the gauge itself, or in the pop-up text?

    colinpb
    Posts: 86
    Joined: Thu 10 Nov 2011 8:14 pm
    Weather Station: VP2+SHT31+DFars+Solar+AeroCone
    Operating System: Windows 10
    Location: Hemel Hempstead, Hertfordshire, UK

    Re: Steel Gauges wind speed without decimal place

    Post by colinpb » Thu 01 Jun 2017 5:11 pm

    Hi Mark

    On the gauge itself

    Colin

    User avatar
    mcrossley
    Posts: 5807
    Joined: Thu 07 Jan 2010 9:44 pm
    Weather Station: Davis VP2
    Operating System: Stretch Lite rPi
    Location: Wilmslow, Cheshire, UK
    Contact:

    Re: Steel Gauges wind speed without decimal place

    Post by mcrossley » Sat 03 Jun 2017 9:48 am

    I'm out this weekend at the Tattoo Classic & Sports Car show so I'll pick this up on Sunday evening.

    wi3x
    Posts: 16
    Joined: Sun 09 Jul 2017 12:32 pm
    Weather Station: Vantage Pro2
    Operating System: Windows 10
    Contact:

    Re: Steel Gauges wind speed without decimal place

    Post by wi3x » Mon 10 Jul 2017 7:25 pm

    In the gauges.js file I just changed....
    lcdDecimals : 1, to
    lcdDecimals : 0,

    http://weather.wi3x.com/gauges-ss.htm

    =======================================================================================
    commonParams = {
    // Common parameters for all the SteelSeries gauges
    fullScaleDeflectionTime : 5, //Bigger numbers (seconds) slow the gauge pointer movements more
    gaugeType : gauge.gaugeType,
    minValue : 0,
    niceScale : true,
    ledVisible : false,
    frameDesign : gauge.frameDesign,
    backgroundColor : gauge.background,
    foregroundType : gauge.foreground,
    pointerType : gauge.pointer,
    pointerColor : gauge.pointerColour,
    knobType : gauge.knob,
    knobStyle : gauge.knobStyle,
    lcdColor : gauge.lcdColour,
    lcdDecimals : 0,
    digitalFont : config.digitalFont,
    tickLabelOrientation : gauge.tickLabelOrientation,
    labelNumberFormat : gauge.labelFormat

    Post Reply