Skip to content

Setting the station timeout

gjr80 edited this page Aug 31, 2017 · 1 revision

The station timeout setting determines how old the gauge-data.txt file may be before the SteelSeries Weather Gauges considers the station to be off line. The default SteelSeries Weather Gauges extension installation uses a value of 10 minutes for the station timeout. This is appropriate for a station with a five minute archive period but is unsuitable for stations with a 10 minute or longer archive period and may be unsuitable for stations with an archive period of less than five minutes. To change the station timeout value:

  • edit $SKIN_ROOT/ss/scripts/gauges.js:

    $ vi $SKIN_ROOT/ss/scripts/gauges.js
    
  • locate the stationTimeout setting and change as required, eg:

    stationTimeout : 20,      // set to twice archive interval, in minutes
    
  • save $SKIN_ROOT/ss/scripts/gauges.js

  • stop then start weeWX:

    $ sudo /etc/init.d/weewx stop
    $ sudo /etc/init.d/weewx start
    

    or

    $ sudo service weewx stop
    $ sudo service weewx start
    
Clone this wiki locally