Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

default gauge ranges

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
Areecki
Posts: 60
Joined: Thu 26 Nov 2009 4:01 pm
Weather Station: Viking 02047 (WH 1090)
Operating System: Windows XP SP3
Location: Poland
Contact:

default gauge ranges

Post by Areecki »

I from Polish and poorly know English and writing in Java.
Installed on your web page rates but do not know how to set the minimum and MAXimum values ​​for temperature and rate others.
I tried to change:

Code: Select all

/ / Default gauge ranges - before auto-scaling/ranging
             tempScaleDefMinC: -15,
             tempScaleDefMaxC: 10,
But it does not work, do not know where to change auto-scaling/ranging on/off
Link to my site: http://areecki.ihq.pl/pogoda/gauges-ss.htm
Viking 02047 ( klon WH 1090)
http://areecki.ihq.pl/pogoda/index.htm
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: default gauge ranges

Post by mcrossley »

It is because your lowest dewpoint today is -20.1°C, so the scale auto expands to cover a range that includes today's minimum temperature and your desired maximum.

Also -15 -> +10 will give a rather ugly scale, -20 -> +10 would be better.
Areecki
Posts: 60
Joined: Thu 26 Nov 2009 4:01 pm
Weather Station: Viking 02047 (WH 1090)
Operating System: Windows XP SP3
Location: Poland
Contact:

Re: default gauge ranges

Post by Areecki »

Why is the first rate that displays only the temperature inside and outside takes into account Dewpoint?
dewpoint is display on the second rate
I can not set the -10?
Viking 02047 ( klon WH 1090)
http://areecki.ihq.pl/pogoda/index.htm
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: default gauge ranges

Post by mcrossley »

Just for aesthetic reasons, I think the two adjacent temperature gauges look better if they have the same range, it makes visual comparisons between the two much more effective - and the main reason for gauges is visualisation.
Areecki
Posts: 60
Joined: Thu 26 Nov 2009 4:01 pm
Weather Station: Viking 02047 (WH 1090)
Operating System: Windows XP SP3
Location: Poland
Contact:

Re: default gauge ranges

Post by Areecki »

This looks bad
Instead -25 ° C min , it should be 0 C or 10 C.
Image
Viking 02047 ( klon WH 1090)
http://areecki.ihq.pl/pogoda/index.htm
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: default gauge ranges

Post by mcrossley »

The script does treat the 'indoor' reading differently, but if it can display it in the range currently being used for the outdoor temps, it will not switch ranges. My 'indoor' is actually almost another 'outdoor'.

The whole idea of these scripts though is that they are open and you are free to customize them and make them work how you want for your needs. Everyone wants something slightly different and there are many variations of the base release out there.
Post Reply