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

Gauges

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Gauges

Post by seggins »

4.3.1 (4064) gauges still not working.
Using Instromet on Windows 11.
Back on 4043 which works perfectly.
broadstairs
Posts: 1184
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW2000/GW3000
Operating System: Linux openSUSE LEAP
Location: Broadstairs, Kent, UK
Contact:

Re: Gauges

Post by broadstairs »

Can you explain which way you are trying to view the gauges? CMX dashboard, the alternate dashboard or a website (CMX default or other)?

Can you update your profile as it says Windows 10 currently?

Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Gauges

Post by water01 »

And any chance of an MXDiags log so we can see what is going on, otherwise we are just guessing.
David
Image
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Gauges

Post by SamiS »

I wonder if this is related to the same issue, gauges not functioning on dashboard but website is fine…

viewtopic.php?p=187341#p187341
seggins
Posts: 61
Joined: Sat 12 Jul 2014 4:26 am
Weather Station: Instromet
Operating System: Windows 10 1903
Location: Cullercoats
Contact:

Re: Gauges

Post by seggins »

Gauges do not work on both forms of display.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Gauges

Post by HansR »

seggins wrote: Wed 11 Dec 2024 9:25 am Gauges do not work on both forms of display.
water01 wrote: Tue 10 Dec 2024 9:48 am And any chance of an MXDiags log so we can see what is going on, otherwise we are just guessing.
Seriously, I think water01 has a point here.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
jokerboy
Posts: 20
Joined: Thu 16 Apr 2015 9:05 pm
Weather Station: WeatherFlow Tempest
Operating System: Windows 10/Linux
Location: Chandler, AZ

Re: Gauges

Post by jokerboy »

SamiS wrote: Tue 10 Dec 2024 4:07 pm I wonder if this is related to the same issue, gauges not functioning on dashboard but website is fine…

viewtopic.php?p=187341#p187341
It is the same issue.
jokerboy
Posts: 20
Joined: Thu 16 Apr 2015 9:05 pm
Weather Station: WeatherFlow Tempest
Operating System: Windows 10/Linux
Location: Chandler, AZ

Re: Gauges

Post by jokerboy »

water01 wrote: Tue 10 Dec 2024 9:48 am And any chance of an MXDiags log so we can see what is going on, otherwise we are just guessing.
I don't think there's going to be anything in the logs to help with this.

I believe this is happening only on stations that don't have indoor measurements. (I have a Tempest station which has no indoor temp/humidity)

The problem is an exception being thrown in the javascript on the dashboard page.

For those technically inclined, you can see this error in the web browser javascript console (developer tools, press F12). The exception is occurring in the function 'convertJson', on line 287 of dashboard.js, there's the statement:

Code: Select all

            inhum: inp.IndoorHum.toString()


The value of inp.IndoorHum is NULL, so a reference to the toString() method throws a null pointer exception. I believe the reason this is null goes back to a change made in October which removed the default value (0) for stations that don't ever explicitly set the value for the Indoor Humidity, thus the null propagates to the current data being sent to the browser in the dashboard page.

I sent Mark a PM explaining this and I'm certain he will know the best way to fix the issue.

For those wanting to test my theory and who are technically capable, go to your CumulusMX installation and go inside the 'interface/js' folder and edit the file dashboard.js (please make a backup copy first!!). Simply go to line 287 and comment it out by adding 2 '/' characters to the start of the line like this:

Code: Select all

//            inhum: inp.IndoorHum.toString()


Save the file, clear your browser cache, and then reload the page. The gauges should start working again, they did on mine (the clearing of the browser cache is important).

Please note this is a temporary fix and will be overwritten the next time you update CumulusMX.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Gauges

Post by HansR »

Please note that a similar issue arises with another station and other gauges:
viewtopic.php?t=22802

I have no idea if it is similar but it looks like it. And it may have something to do with the Instromet as @seggins and @Andy02 both use that station and both have a problem with the gauges in the interface.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Gauges

Post by HansR »

I am having an idea: could @seggins please post realtimegauges.txt (I'll ask similar to @Andy02
Does not work for the interface
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
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: Gauges

Post by mcrossley »

I have fixed this for the next build. It does not affect data recording, only the display of data in the gauges on the dashboard.
AndyO2
Posts: 8
Joined: Thu 12 Jan 2023 2:52 pm
Weather Station: Instromet
Operating System: Debian Bookworm

Re: Gauges

Post by AndyO2 »

@mcrossley - is this issue fixed in 4070? the release notes are inconclusive on this point :-)
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: Gauges

Post by mcrossley »

Yes, it should be.
Post Reply