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

b4039 Moisture recent charts-a-select without unit

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

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: b4039 Moisture recent charts-a-select without unit

Post by mcrossley »

It should show on the tooltip, does it not?
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: b4039 Moisture recent charts-a-select without unit

Post by Mapantz »

mcrossley wrote: Sun 06 Oct 2024 2:53 pm It should show on the tooltip, does it not?
It shows when I initially go to the page, but if I add another series from the standard data, such as the humidity or wind speed, the 'cb prefix' disappears.
Image
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: b4039 Moisture recent charts-a-select without unit

Post by mcrossley »

Sorry, but I cannot reproduce that. I started with just a soil moisture plot, refreshed the page - units still there, added temperature - units still there.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: b4039 Moisture recent charts-a-select without unit

Post by Mapantz »

mcrossley wrote: Sun 06 Oct 2024 10:11 pm Sorry, but I cannot reproduce that. I started with just a soil moisture plot, refreshed the page - units still there, added temperature - units still there.
What happens when you clear the temperature series?

https://1drv.ms/v/s!AtIGSqP1AT9KgbUC9qx ... g?e=J5fBh2
Image
User avatar
Dador
Posts: 352
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: b4039 Moisture recent charts-a-select without unit

Post by Dador »

This is normal chart behavior. Additional sensors are not stored in the cumulusmx.db file, where the recording is made every 1 minute (that's how I understand it), so the values ​​saved along with the recording interval are displayed (in your case, the recording is every 5 minutes). Hence the discrepancies in the display of data on the chart.
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: b4039 Moisture recent charts-a-select without unit

Post by mcrossley »

Mapantz wrote: Sun 06 Oct 2024 11:04 pm What happens when you clear the temperature series?
OK, that does cause it. At the moment I'm stumped, because looking at the HighCharts data in memory, the soil series still has the suffix in its config, but it stops rendering it for some reason. It appears to be only the soil moisture series that are affected as well.
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: b4039 Moisture recent charts-a-select without unit

Post by Mapantz »

No biggie

I just didn't want people thinking it was a me problem :lol:
Image
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: b4039 Moisture recent charts-a-select without unit

Post by mcrossley »

And even weirder - if you have more than one soil moisture on the graph, then clear a series, only the first moisture plot loses the unit suffix!
User avatar
Dador
Posts: 352
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: b4039 Moisture recent charts-a-select without unit

Post by Dador »

Only now I noticed that in the latest version (b4070) I again have a problem with soil moisture units. Currently, all data has the unit of cb (after Davis sensors) and in fact, the Ecowitt sensor should have the unit of percentage "%". I didn't change anything in my js/cumuluscharts.js file settings on the hosting.

The problem only occurs on the website. On dashboard everything is fine. Units for Davis and Ecowitt display correctly.

Ok, I see that the reason may be in the graphconfig.json file, which contains data for soilmoisture:

Code: Select all

"soilmoisture":{"units":["cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb","cb"]},
I found the reason.
It turned out that I started CMX when the ecowitt soil moisture sensor lost connection with the gateway. Then the machine automatically assigned him the "cb" unit, when the signal returned, it still showed the "cb" unit instead of "%".
It turns out everything works fine. I had a particularly bad time restarting CMX.
You do not have the required permissions to view the files attached to this post.
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: b4039 Moisture recent charts-a-select without unit

Post by mcrossley »

The reason will be that CMX only uploads the graphconfig.json after start-up and then daily at rollover. It would probably fix itself the next day - or if you forced a new FTP upload via Upload Now and ticked include daily graph data files.
Post Reply