Page 3 of 3

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

Posted: Sun 06 Oct 2024 2:53 pm
by mcrossley
It should show on the tooltip, does it not?

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

Posted: Sun 06 Oct 2024 3:18 pm
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.

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

Posted: Sun 06 Oct 2024 10:11 pm
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.

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

Posted: Sun 06 Oct 2024 11:04 pm
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

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

Posted: Mon 07 Oct 2024 6:06 am
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.

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

Posted: Mon 07 Oct 2024 10:54 am
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.

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

Posted: Mon 07 Oct 2024 10:59 am
by Mapantz
No biggie

I just didn't want people thinking it was a me problem :lol:

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

Posted: Mon 07 Oct 2024 3:13 pm
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!

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

Posted: Thu 16 Jan 2025 10:49 pm
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.

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

Posted: Fri 17 Jan 2025 2:15 pm
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.