Page 1 of 1

page update limit - zero setting doesnt seem to work.

Posted: Thu 30 Jul 2020 11:25 am
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

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

Posted: Thu 30 Jul 2020 12:07 pm
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.

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

Posted: Thu 30 Jul 2020 1:14 pm
by Vegit8
Hah....
Silly me

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