Page 1 of 2

CMXv4 ExtraSensors Trends

Posted: Sun 24 Mar 2024 10:29 am
by Dador
After some adventures, I'm currently testing the beta version.
I converted the files from the data folder. Initially, twice, because the program did not want to change the files from the current month. Anyway, everything works, the station reads and logs the main and additional sensors. The problem is that CMX selectively draws extra sensors.

For example, the extratemdata.json file is empty, with no numeric values.
Interestingly, some of the data is drawn, some is not.
There are no errors in MXDiags.
Graphs for primary sensors are drawn normally.

Charts:
Extratemp - not drawn;
Extrahum - drawn:
Extradew - not drawn:
Soilmoist - drawn;
Usertemp- not drawn.

The situation concerns the GW1000 gateway, where CMX directly reads additional sensors. Login works normally and correctly.

Re: CMXv4 ExtraSensors Trends

Posted: Sun 24 Mar 2024 10:42 am
by broadstairs
Well not sure where you are looking for the charts but on my dashboard the ones I have display fine, extra temp 1 and 2 and extra humidity 1 and 2. Also my json files have data. This is with an Ecowitt gateway. If you look at the WSView+ app do these sensors show up? Is it an actual GW1000 or one of the other models? If it is one of the other models what can you see looking at the web page for it?

Stuart

Re: CMXv4 ExtraSensors Trends

Posted: Sun 24 Mar 2024 10:52 am
by Dador
No, I'm sure everything works fine.
Just yesterday it was drawing correctly in CMXv3. Additionally, Cutils correctly draws extra sensors, just not CMXv4.
I copied the Cumulus.ini and strings.ini files to the new version without any changes.
Everything works fine, but the program does not draw a few selected charts.

Re: CMXv4 ExtraSensors Trends

Posted: Sun 24 Mar 2024 11:12 am
by HansR
So you are saying the local interface does not plot the Extra Sensors correctly?

[EDIT:] I do not observe this. My extra sensors display correctly everywhere.

[EDIT:] But I do see that (see screenshot below) on the site an Extra Sensor does not plot. Is this a chart default to the standard CMX website?
    Schermafbeelding 2024-03-24 123124.png

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 12:00 pm
    by Dador
    @Hans
    Yes, this applies to this site.
    I just went back to CMXv3. The program downloaded data from yesterday without any problems and draw (as usual) all values ​​correctly. I also ran another clean install of CMXv4, with a new data folder, but I had the same problem there.
    You may have noticed that your Cutils draws well. So the ExtraLog202403.txt file is correct.
    My GW1000 is from Ecowitt. This is one of the first and oldest Internet gateways today.

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 12:12 pm
    by HansR
    Dador wrote: Sun 24 Mar 2024 12:00 pm @Hans
    Yes, this applies to this site.
    I just went back to CMXv3. The program downloaded data from yesterday without any problems and draw (as usual) all values ​​correctly. I also ran another clean install of CMXv4, with a new data folder, but I had the same problem there.
    You may have noticed that your Cutils draws well. So the ExtraLog202403.txt file is correct.
    My GW1000 is from Ecowitt. This is one of the first and oldest Internet gateways today.
    OK. Did you check if the Graph Files are correctly selected (settings=>Internet=>Graph File Settings)? These files are not required for CUtils as CUtils has the UserAskedData mechanism to have those data transferred so that would explain the discrepancy between the display behaviour.

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 6:14 pm
    by Dador
    Yes, all files are created and saved.
    Maybe it's related, maybe not, but it turns out that CMXv4 draws the extra sensor values ​​that are integers. I don't draw those with a decimal place. This is the first association.

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 6:25 pm
    by HansR
    Dador wrote: Sun 24 Mar 2024 6:14 pm Yes, all files are created and saved.
    Maybe it's related, maybe not, but it turns out that CMXv4 draws the extra sensor values ​​that are integers. I don't draw those with a decimal place. This is the first association.
    Mmm... That is something you can try yourself. I believe you can set the nr.of decimals somewhere.

    Otherwise some CMX specialist must look at it.

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 6:40 pm
    by Dador
    The problem is that CMXv4 has nothing to draw from because it has no data :? .
    This is what my json files look like. Blank, without numeric values.

    extratempdata.json

    Code: Select all

    {"WH31 w cieniu - temp":[],"+5 cm - temp":[],"WH31 w Davis7714 - temp":[]}
    extradewdata.json

    Code: Select all

    {"WH31 w cieniu - pktrosy":[],"WH31 w Davis7714 - pktrosy":[]}
    usertempdata.json

    Code: Select all

    {"Temp gruntu (-5 cm)":[]}

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 6:47 pm
    by HansR
    Dador wrote: Sun 24 Mar 2024 6:40 pm The problem is that CMXv4 has nothing to draw from because it has no data :? .
    This is what my json files look like. Blank, without numeric values.

    extratempdata.json

    Code: Select all

    {"WH31 w cieniu - temp":[],"+5 cm - temp":[],"WH31 w Davis7714 - temp":[]}
    extradewdata.json

    Code: Select all

    {"WH31 w cieniu - pktrosy":[],"WH31 w Davis7714 - pktrosy":[]}
    usertempdata.json

    Code: Select all

    {"Temp gruntu (-5 cm)":[]}
    Aha...
    But you can use the conversion tool to convert all you v3 data! And from there seamlessly continue!
    I thought you had done that!

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 7:30 pm
    by Dador
    HansR wrote: Sun 24 Mar 2024 6:47 pm I thought you had done that!
    Thoug all, it's done.
    All old data converted to commas and dots.
    The data is OK.
    Something else doesn't suit cumulus (I think so).

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 7:39 pm
    by HansR
    Ok, wait for a specialist now

    Re: CMXv4 ExtraSensors Trends

    Posted: Sun 24 Mar 2024 8:53 pm
    by Dador
    To make matters worse, I have a memory leak. 500MB of RAM used is a bit much.
    Oh well, I'm back to CMXv3. I will wait for the next version v4.

    Re: CMXv4 ExtraSensors Trends

    Posted: Mon 25 Mar 2024 12:49 pm
    by mcrossley
    Can you zip up and post the v4 MXdiags folder please.

    Re: CMXv4 ExtraSensors Trends

    Posted: Mon 25 Mar 2024 1:18 pm
    by Dador
    mcrossley wrote: Mon 25 Mar 2024 12:49 pm Can you zip up and post the v4 MXdiags folder please.
    Sorry, I deleted the entire folder yesterday. I no longer have any data from CMXv4 :|

    I might add that at startup CMXv4 used about 130MB of RAM, which was strange to me (CMXv3 uses 20-30MB). Then it consumed more resources, up to 0.5GB.

    If I have the same problem in the next version, I will definitely pack it up and post it here.