Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

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 drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

page update limit - zero setting doesnt seem to work.

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
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: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 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 • PurpleAir •

Image
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
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