Page 1 of 1

CUtils 6.21.2

Posted: Sat 04 Nov 2023 10:24 pm
by AndyKF650
Hi Hans

The latest update sorted out that issue with the custom log error. I had noticed the issue this morning with a few days of flat line/no data on the charts and was not sure what is was all about especially since the data on the chart self started overnight last night.

The update only required the website cmd to get the custom charts working with all the data points over the past few days showing. :D

One new point is that the custom chart for the dust particles now has a very broad axis up to 450ppm and hence the low values of the concentration at about 5ppm are now restricted to a line with very little definition. Is this fixable?

Re: CUtils 6.21.2

Posted: Sun 05 Nov 2023 11:43 am
by HansR
Hi Andy,
AndyKF650 wrote: Sat 04 Nov 2023 10:24 pm The latest update sorted out that issue with the custom log error. I had noticed the issue this morning with a few days of flat line/no data on the charts and was not sure what is was all about especially since the data on the chart self started overnight last night.
Yes, that was the most important reason to push it out quickly.
Happy you like it ;)
AndyKF650 wrote: Sat 04 Nov 2023 10:24 pm The update only required the website cmd to get the custom charts working with all the data points over the past few days showing. :D
I think the CustomLogs command should do that as well.
AndyKF650 wrote: Sat 04 Nov 2023 10:24 pm One new point is that the custom chart for the dust particles now has a very broad axis up to 450ppm and hence the low values of the concentration at about 5ppm are now restricted to a line with very little definition. Is this fixable?
I think that is wrong: the dust particles must be an AirQuality axis and not a CO2 concentration axis. CO2 is the only sensor with a ppm axis (a gas concentration in parts per million) where the particulate matter densities are given in μg/m3. I am not sure if you changed something here but if not I must have something wrong in the definition of the units and axis. I'll look into it.

NOTE: not impossible there are some errors in units and axis: there are 362 webtags in the CUtils list of allowed webtags and each webtag has its own unit and axis. Those are stored in three separate arrays which require perfect alignment as you can understand.

Re: CUtils 6.21.2

Posted: Sun 05 Nov 2023 11:48 am
by HansR
Can you post the screenshot of the CustomLog definition of the Dust Concentration (I assume RECENT and DAILY are the same)?

Re: CUtils 6.21.2

Posted: Sun 05 Nov 2023 11:55 am
by HansR
Leave that screenshot... not necessary,

I just said it above myself : the four CO2 PM webtags indeed have the ppm axis where it must be μg/m3 so it is a bug.
Will be solved in the next release.

Re: CUtils 6.21.2

Posted: Sun 05 Nov 2023 12:01 pm
by AndyKF650
Hi Hans

I assume this is what you are after, let me know if you need anything else.

Code: Select all

Custom Log Settings
Filename Root: This string is used to create the full log filename. It will be appended with the date, and suffixed with .txt
For example, you enter "MyLog", the interval log filename will be MyLog-yyyyMM.txt, the daily log would just be MyLog.txt

Data Content: This string is used to create the data in the log file, you use webtags to specify the data.
Your data string will be automtically prefixed with the date or date-time in the log file.

For example you could use the string: <#temp>,<#hum>,<#SoilTemp1>
You can also use modifiers in the webtags for further control of the output like this: <#temp rc=y>,<#hum>,<#SoilTemp1 dp=2 rc=y>

Note: It is important to use the same field separator as CMX uses for the other data files.
Your field separator is:- ","

Custom Interval Logs
Enabled	Filename Root	Data Content	Interval	Actions

CustomLogTemp
<#temp>, <#dew>, <#ExtraTemp1>, <#ExtraDP1>, <#feelslike>, <#avgtemp>

15 minutes

CustomLogHum
<#hum>,<#inhum>, <#ExtraHum1>

15 minutes

CustomLogCO2
<#CO2>, <#CO2_24h>

15 minutes

CustomLogDust
<#CO2_pm2p5>, <#CO2_pm2p5_24h>, <#CO2_pm10>, <#CO2_pm10_24h>

15 minutes

CustomLogCpuTemp
<#CPUTemp>, <#temp>, <#intemp>

15 minutes

CustomLogTest
eg. <#temp>,<#hum>,<#SoilTemp1>

1 minute
Save Settings
Custom Daily Logs
Enabled	Filename	Data Content	Actions

DailyCustomLogTemp
<#temp>, <#dew>, <#ExtraTemp1>, <#ExtraDP1>, <#feelslike> <#avgtemp>

DailyCustomLogHum
<#hum>,<#inhum>, <#ExtraHum1>

DailyCustomLogCO2
<#CO2>, <#CO2_24h>

DailyCustomLogDust
<#CO2_pm2p5>, <#CO2_pm2p5_24h>, <#CO2_pm10>, <#CO2_pm10_24h>
Save Settings
Cumulus MX 3.27.0 b3257

Re: CUtils 6.21.2

Posted: Sun 05 Nov 2023 12:06 pm
by HansR
Yes, that's it... but I found it myself :D
New beta version is underway.