Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

page update limit - zero setting doesnt seem to work.

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
Vegit8
Posts: 84
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Somerset
Contact:

page update limit - zero setting doesnt seem to work.

Post by Vegit8 »

A long time ago my SS gauges used to display permanently, then more recently (a year or so ago) I set the pageUpdateLimit to 30. Having got fed up with that I changed it back to 0 yesterday. See script below.
Oddly my gauges are still timing out.
Does this value get referenced anywhere else before getting used by the gauges page?

http://www.geoffwebber.co.uk/weather/gauges-ss.htm

Code: Select all

scriptVer          : '2.7.3',
            weatherProgram     : 0,                      // Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX, 7=WLCOM
            imgPathURL         : 'images/',              // *** 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   : 15,                     // *** 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     : 3,                      // period of no data change before we declare the station off-line, in minutes (default 3)
            pageUpdateLimit    : 0,                      // period after which the page stops automatically updating, in minutes (default 20),
                                                         // - set to 0 (zero) to disable this feature

User avatar
ConligWX
Posts: 910
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2 Plus +DFARS
Operating System: Ubuntu 20.04.01 LTS
Location: Bangor, NI
Contact:

Re: page update limit - zero setting doesnt seem to work.

Post by ConligWX »

Hi there.

your pagelimit is set to 20.

http://www.geoffwebber.co.uk/weather/li ... /gauges.js

Code: Select all

            // Script configuration parameters you may want to 'tweak'
            scriptVer          : '2.7.3',
            weatherProgram     : 0,                      // Set 0=Cumulus, 1=Weather Display, 2=VWS, 3=WeatherCat, 4=Meteobridge, 5=WView, 6=WeeWX, 7=WLCOM
            imgPathURL         : 'images/',              // *** 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   : 15,                     // *** 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     : 3,                      // 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
try editing the webserver gauages.js and not the cumulusmx end.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • CumulusMX •

Vegit8
Posts: 84
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Somerset
Contact:

Re: page update limit - zero setting doesnt seem to work.

Post by Vegit8 »

Hah....
Silly me

Cheers - I do love a 20 second fix!!!

Post Reply