Page 4 of 4
Re: Change Requests
Posted: Fri 14 Oct 2022 7:22 pm
by HansR
@sutne: I'll see what can be done in the new menu system. The menu needs to be finalized, did not look specifically at this.
I can't find the WH41 on either of your sites, but if switch to manual when defining the ExtraSensor charts (after you did define them automatically first) you define an output in the charts definitions, you then get a separated charts file with just that chart and you can hang it in the User Defined Menu. You can also define a user menu entry with just only that chart (no dropdown). Please note that the user menu has changed in technique. See the wiki for the changes.
@Anybody: If anybody wants to ask, yes Custom Logs will get its place in CUtils, but I am still thinking about how to deal with this.
Re: Change Requests
Posted: Sat 15 Oct 2022 5:13 am
by sutne
HansR wrote: ↑Fri 14 Oct 2022 7:22 pm
I can't find the WH41 on either of your sites
The Kronstad site is not up yet. I have now installed a RPI 4 at Rjoanddalen and converted it to use norwegian locale (not as difficult as expected, Linux commands like ‘sed’ can perform magic). Then I will bring the RPI 3 to Kronstad and use it there with my WS90 and WH41.
As you know I had a test running CumulusMX and CumulusUtils on my MacBook Air.
Re: Change Requests
Posted: Sat 15 Oct 2022 7:06 am
by HansR
sutne wrote: ↑Sat 15 Oct 2022 5:13 am
HansR wrote: ↑Fri 14 Oct 2022 7:22 pm
I can't find the WH41 on either of your sites
The Kronstad site is not up yet. I have now installed a RPI 4 at Rjoanddalen and converted it to use norwegian locale (not as difficult as expected, Linux commands like ‘sed’ can perform magic). Then I will bring the RPI 3 to Kronstad and use it there with my WS90 and WH41.
OK. Hope the menu thing is clear, should be fairly easy.
sutne wrote: ↑Sat 15 Oct 2022 5:13 am
As you know I had a test running CumulusMX and CumulusUtils on my MacBook Air.

yes I remember... Nice test btw because now Cutils is really 'Mac prepared'
Re: Change Requests
Posted: Sat 15 Oct 2022 9:36 am
by HansR
@Steinar:
If we go further with the menu, we first have to see if it is picked up by the system anyway. I looked a bit further and CUtils has no special precautions for the WH41 anyway and I think neither has CMX. So, is it accepted by CMX itself? And if so... where do you see it in external sensors? If it is not picked up, then you'll have to configure it as External Extra Sensors. That may require some additional work on my side.
Re: Change Requests
Posted: Sat 15 Oct 2022 5:43 pm
by sutne
It is picked up by CumulusMX, but only displayed as graph.
I had the Wh41 in Rjoanddalen for a while, but the air is quite clean up here, it was intended for Kronstad.
It was displayed as a chart in CMX, and I managed to have a chart in CumulusUtils as well, but I think I had to run UserAsked data or something regurarly, so I just postboned it until I had the new site up running. This will happen duringthe week.
Re: Change Requests
Posted: Sat 15 Oct 2022 6:06 pm
by HansR
Ok, get it up and running (as an Extra Sensor) and then we'll continue and aee how it can be done.
Re: Change Requests
Posted: Fri 28 Jul 2023 1:45 pm
by AndyKF650
Hi Hans
As you know I have had extra sensors measuring CO2 and dust particles running for quite a few months now. Currently the charts only show recent history, is there any way that I can start to show long term history in chart form?
I currently have monthly ExtraLogs from February to date and it would be good to be able to use this data in a more visible way.
Re: Change Requests
Posted: Fri 28 Jul 2023 4:22 pm
by HansR
AndyKF650 wrote: ↑Fri 28 Jul 2023 1:45 pm
Hi Hans
As you know I have had extra sensors measuring CO2 and dust particles running for quite a few months now. Currently the charts only show recent history, is there any way that I can start to show long term history in chart form?
I currently have monthly ExtraLogs from February to date and it would be good to be able to use this data in a more visible way.
Hi Andy,
Given the way CMX stores these data according to a frequency in your setting (1 or 5, 10 etc... minutes) and that gives a lot of data. Other than the data for which daily values are calculated (the dayfile), daily data does not exist for extra sensors in CMX. Displaying historical data would mean all data in the logs would need to be read and transferred to the server. That is too much and will not be done.
Calculating daily values from the logs is not something CUtils will do, it goes beyond it's display function. Calculating derivatives and storing those values in e.g. ExtraDailyValues.txt is not something CUtils will do. Showing all data (meaning the data in all monthly logs) would seriously stress the system for longer series. With the data in the text files as is, no historical logging and/or display of the extra files will take place.
Not by CMX (unless Mark decides otherwise) nor by CUtils.
Sorry, not what you asked but that is how it is.
Regards,
Re: Change Requests
Posted: Fri 28 Jul 2023 6:12 pm
by AndyKF650
Hi Hans
Thanks for your full and detailed reply. I will not ask for that again.
So it is off to the drawing board to find a solution from MySQL data base which contains the same data.
Re: Change Requests
Posted: Fri 28 Jul 2023 6:22 pm
by HansR
AndyKF650 wrote: ↑Fri 28 Jul 2023 6:12 pm
So it is off to the drawing board to find a solution from MySQL data base which contains the same data.
Andy,
That might give a solution. However, I experimented with that and getting the full series and do some calculations on it has quite a performance penalty on it as I saw from my experiments wit a MySQL database. I never completed those tests so maybe you find otherwise.
Whatever you do, the data needs to go in some json format to the server to feed the charts.
Regards,
Re: Change Requests
Posted: Sun 30 Jul 2023 9:24 am
by mcrossley
For daily data like that I add additional daily tables to my database and calculate the value for each day as a post insert trigger on my main daily data table. It is still a bit time consuming but only once a day and far less than producing the data every time it is requested. I do the same for some monthly values as well.