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

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 »

Same thing happens on mine.

It's actually quite buggy. If I enable multiple extra sensors, the "Undefined" disappears, but there's no suffix at all.

If I enable any of the standard data, ie temperature, only the temperature tooltip shows. It may be related to the zindex, as the line sits on top of everything else.
Screenshot 2024-10-04 202952.png
Screenshot 2024-10-04 203110.png
You do not have the required permissions to view the files attached to this post.
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 »

The problem is identified, that latest version of the script should fix it.
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 »

It looks like everything is fine now.

Graphs are drawn, there are units.

:clap:
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 »

Phew, thanks for testing it.
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 »

The soil moisture code for files could also be improved in a future release of CMX

interface/js/charstcomapre.js
interfface/js/chartsperiod.js

because there are also the same problems as in cumuluscharts.js.
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 »

My issues are from the standard interface
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 »

OK, it's late, but I think this zip covers everything. I'll pick this up again tomorrow if people could confirm they work please.
You do not have the required permissions to view the files attached to this post.
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 seems to be working well.
In the CMX and ai2 interface, the charts are drawn and the correct units appear.
User avatar
The Dalek Hunter
Posts: 342
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

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

Post by The Dalek Hunter »

Working perfectly - many thanks
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 »

It's still bugging out for me.
With the new js file in place, I have 4 extra sensors selected (including soil moisture) and outdoor temperature, but I only get a tooltip for the outdoor temperature.

If I disable the temperature, the tooltip works fine. Adding any series that isn't an extra sensor causes it too.
Screenshot 2024-10-05 225053.png
You do not have the required permissions to view the files attached to this post.
Image
User avatar
The Dalek Hunter
Posts: 342
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Vantage Pro 2, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

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

Post by The Dalek Hunter »

Mine seems to be ok
Screenshot 2024-10-06 at 8.38.52 am.png
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 »

@mapantz, can you clarify, are you seeing this the Dashboard, AI2, or default web site?
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 »

The dashboard and ai2
It does it on my phone too.
I think it's the zindex parameter
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 »

The only thing I can reproduce, is when you have a primary sensor and an extra sensor. The primary sensor shows a value in the tooltip for data points that do not exist for the extra sensors and so they do not show. Move your cursor across to an interval where all values are present and all of them show in the tooltip. These graphs have always been like that.

The graph plots the primary sensors at one-minute intervals (during live running anyway), the extra sensors at whatever your logging interval is. The extra sensor data is coming from the logs files, the "recent" primary data is held in a database.
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 »

I see what you mean, but it's difficult to get all data to show

https://1drv.ms/v/s!AtIGSqP1AT9KgbUBvDj ... A?e=e53zPy

I also notice that 'cb' is missing again, when it does show up
Image
Post Reply