Page 2 of 3
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 7:31 pm
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
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 7:36 pm
by mcrossley
The problem is identified, that latest version of the script should fix it.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 7:39 pm
by Dador
It looks like everything is fine now.
Graphs are drawn, there are units.

Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 7:53 pm
by mcrossley
Phew, thanks for testing it.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 8:27 pm
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.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 8:43 pm
by Mapantz
My issues are from the standard interface
Re: b4039 Moisture recent charts-a-select without unit
Posted: Fri 04 Oct 2024 10:43 pm
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.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sat 05 Oct 2024 7:12 am
by Dador
This seems to be working well.
In the CMX and ai2 interface, the charts are drawn and the correct units appear.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sat 05 Oct 2024 7:28 am
by The Dalek Hunter
Working perfectly - many thanks
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sat 05 Oct 2024 9:52 pm
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
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sun 06 Oct 2024 7:40 am
by The Dalek Hunter
Mine seems to be ok
Screenshot 2024-10-06 at 8.38.52 am.png
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sun 06 Oct 2024 9:45 am
by mcrossley
@mapantz, can you clarify, are you seeing this the Dashboard, AI2, or default web site?
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sun 06 Oct 2024 10:08 am
by Mapantz
The dashboard and ai2
It does it on my phone too.
I think it's the zindex parameter
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sun 06 Oct 2024 11:20 am
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.
Re: b4039 Moisture recent charts-a-select without unit
Posted: Sun 06 Oct 2024 11:56 am
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