Page 1 of 1

Extra sensors and charts

Posted: Sun 19 Jun 2022 1:40 pm
by sutne
I have an Ecowitt station with an airquality sensor WH41 and I want to have data from it presented in CumulusUtils. CMX presents graph for it.
I have read the wiki and some other posts (even Very Basic Stuff which it not very basic).

The data from WH41 is presented, but not the graph.
In the wiki there are two sentences which I find contradicting:
The user can optionally create the charts himself by setting the parameter UserModificationExtraSensorCharts to false.
UserModificationExtraSensorCharts=false => If true the Extra Sensor charts will not be overwritten in CutilsCharts.def and give the user the possibility to create his own charts
Which is correct?

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 2:54 pm
by philpugh
I have an Ecowitt CO2/AQI sensor (WH45).

I have CumulusMX set to log the extra sensors output and in my cumulusutils.ini file I have the following
[ExtraSensors]
ExtraSensors=true
ParticipatesSensorCommunity=false
ExternalExtraSensors=
UserModificationExtraSensorCharts=false
CleanupExtraSensorslog=false
LightningSensor=true
Regenerate your CUtils website and there should be an ExraSensors TAB appear on the main page and the ExtraSensors page has the current values of the data and a chart with the past however many days you set.

Check my website (in signature below) to see the output

Cheers

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 3:42 pm
by HansR
sutne wrote: Sun 19 Jun 2022 1:40 pm In the wiki there are two sentences which I find contradicting:
The user can optionally create the charts himself by setting the parameter UserModificationExtraSensorCharts to false.
UserModificationExtraSensorCharts=false => If true the Extra Sensor charts will not be overwritten in CutilsCharts.def and give the user the possibility to create his own charts
Which is correct?
The second line is correct, the first one must be
The user can optionally create the charts himself by setting the parameter UserModificationExtraSensorCharts to true.
The idea is that it is false to start with so you generate the extra sensor charts automatically which shows you if everything is defined OK. Then you know the plot variables and you can start combining charts or create your own from scratch.

I corrected the error in the wiki.

[EDIT:] I believe you are the first with a WH41 so let's see what it does ;) No you are not of course: Paul has one in Komoka.

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 3:48 pm
by HansR
philpugh wrote: Sun 19 Jun 2022 2:54 pm I have an Ecowitt CO2/AQI sensor (WH45).

[...]
[ExtraSensors]
UserModificationExtraSensorCharts=false
[...]
Regenerate your CUtils website and there should be an ExraSensors TAB appear on the main page and the ExtraSensors page has the current values of the data and a chart with the past however many days you set.
Correct.
Here the chart is renewed every run which is the easiest way. A combination with other plotvars won't be necessary and the whole sensor is shown in one chart.

NOTE: if it would be just a change in the ExtraSensors then only

Code: Select all

utils/bin/cumulusutils.exe ExtraSensors
would be required for renewal of the ExtraSensors chart. The website command does everything.

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 5:37 pm
by sutne
Had another try to generate graph for the AirQuality.
Failed because of missing meteocam? I have not enabled that.

Maybe someone can spot what I cannot see.

http://rjoandveret.no/utils/index.html
2206191802cumulusutils.log
cumulusutils.ini

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 6:51 pm
by HansR
It surprises me you did not have that error before, did you empty or clean up the whole utils directory at some point?
Anyway, there seems to be an error in the logic of creating that file and not creating the menu.

The easy way out is to create an empty file meteocam.txt in the utils directory (or give it some content to be sure it will get transferred because some clients/servers don't accept empty files).

I will fix this for a next release (without hurry as the workaround is easy enough)

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 8:24 pm
by sutne
Ok, creating that file got rid of the error.
I now have values and an empty chart.

Probably have to re-read the wiki.

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 8:29 pm
by sutne
did you empty or clean up the whole utils directory at some point?
When I install new versions I rename the old one and install the new from the zip-file.
And then I run the … website.
After that I started to look at AirQuality, and it was only then I noticed the error.

Edit: ok, the first installation of 6.9.0 failed with SFTP. Then I renamed directories and went back to 6.8.3, Had a new version and went back to 6.9.0 with an updated .exe-file.
Something could have been mixed up during this.

Re: Extra sensors and charts

Posted: Sun 19 Jun 2022 8:43 pm
by HansR
sutne wrote: Sun 19 Jun 2022 8:24 pm Ok, creating that file got rid of the error.
I now have values and an empty chart.

Probably have to re-read the wiki.
I see values and the chart.
Looks good to me.
Reason it took time is because it takes the interval to create the User data file.

And maybe something got mixed up which exposed the bug.
No problem, things working. If any other questions let me know.

Re: Extra sensors and charts

Posted: Mon 20 Jun 2022 5:15 pm
by sutne
:clap: :clap: :clap: