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
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
Interesting MX observation.
Moderator: mcrossley
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Interesting MX observation.
Potentially yes, I haven't looked at what values may trigger this behaviour, but it large values are more likely to than small ones.
A better fix which keeps the 'nice scaling' is to make the change I have now put into the main gauges code...
to...
A better fix which keeps the 'nice scaling' is to make the change I have now put into the main gauges code...
Code: Select all
if (cache.maxValue !== ssGauge.getMaxValue()) {
ssGauge.setValue(0);
ssGauge.setMaxValue(cache.maxValue);
}
Code: Select all
if (cache.maxValue !== ssGauge.getMaxValue()) {
if (ssGauge.getMaxValue() > cache.maxValue) {
// Gauge currently showing more than our max (nice scale effect),
// so reset our max to match
cache.maxValue = ssGauge.getMaxValue();
} else {
// Gauge scale is too low, increase it.
// First set the pointer back to zero so we get a nice animation
ssGauge.setValue(0);
// and redraw the gauge with the new scale
ssGauge.setMaxValue(cache.maxValue);
}
}
- ICP963
- Posts: 54
- Joined: Thu 04 Jul 2013 7:53 am
- Weather Station: Vantage Vue
- Operating System: Raspbian
- Location: Chandler, AZ, USA
Re: Interesting MX observation.
I am assuming that it is in the /home/pi/CumulusMX/interface/steelseries/scripts/gauges.js file?mcrossley wrote:OK, I just took a look at the console - it is a "niceScale thing".
Change line 137 of gauges.js to...fixes it.Code: Select all
niceScale : false,
I have changed the main gauges code base to apply a permanent fix.
I changes the one on line 137 to false from true. There are several other instances of niceScale in that file that are all set to false, is that correct?
I will try that and wait for the next time we get set to BROIL, today was ONLY 112.5F and a Dew Point of 45.4.
Roy Schahrer - N7QYK
Chandler, AZ
WX Station : Davis Vantage Vue with USB Datalogger
WX Computer: Raspberry Pi 3 Model B running Raspbian
Software : CumulusMX Beta 3041
Chandler, AZ
WX Station : Davis Vantage Vue with USB Datalogger
WX Computer: Raspberry Pi 3 Model B running Raspbian
Software : CumulusMX Beta 3041