I tried to generate CustomLogs for snow (not really necessary as the CU chartscompiler supports snow charts directly), but I think there is an inconsistency in the naming of the webtags in CMX and CU for #snow24h(r).
- CMX produces a file WebTags.txt during startup and that contains the tag with name snow24hr. Therfore I created the customlog CLogDailySnow in CMX settings as <#snow24hr rc=y nv=0>,<#snowdepth rc=y nv=0>. Also in the CMX Wiki the webtag is called <#snow24hr> with 'r' at the end. https://www.cumuluswiki.org/a/Full_list_of_Webtags
- But the CU chartscompiler uses the plot variable Snow24h.
CU complained during Website/UserAskedData and parsing CutilsCharts.def about the <#snow24hr rc=y nv=0>.
I had to adapt CutilsCharts.def to use CLogDailySnowsnow24h, but also CMX settings for Customlogs to use <#snow24h rc=y nv=0>,<#snowdepth rc=y nv=0> without 'r' at the end.
- Now CU CustomLogs setup is working and I get an empty CLogDailySnow chart, but I assume I will never get values for webtag #snow24h in CMX in the file CLogDailySnow.txt ... (But I have a working chartscompiler based chart with DailySnow).
https://leonas.ddns.net/Wetterstation.S ... =DailySnow
Extract from my CutilsCharts.def:
Code: Select all
; working daily chartscompiler chart
Chart DailySnow Title Daily Snowfall and Snowdepth
Zoom 2
PLOT Daily AverageTemp colour Violet zindex 40
Plot Daily Snow24h As Column colour blue zindex 30
Plot Daily SnowDepth As Area colour lightblue opacity 0.2 zindex 10
Plot Daily DayRain As Column colour green zindex 20 INVISIBLE
EndChart
; CustomLogsCharts
Chart CLogDailySnow Title Trend Chart of CustomLog CLogDailySnow
PLOT ALL CLogDailySnowsnow24h As Column colour blue
PLOT ALL CLogDailySnowsnowdepth As Area Colour lightblue Opacity 0.2
PLOT ALL CLogDailySnowwchill Colour orange
EndChart
Code: Select all
<#snow24h rc=y nv=0>,<#snowdepth rc=y nv=0>,<#wchill rc=y>Code: Select all
...
2025-01-18 14:05:02.121 Information Constructor CustomLogs: handling Custom log CLogDailySnow - Webtag <#snow24hr rc=y nv=0>
2025-01-18 14:05:02.121 Warning Constructor CustomLogs: Not a valid Webtag snow24hr used in Custom log CLogDailySnow
...
2025-01-18 13:58:22.144 Information Parsing User Charts Definitions : Chart CLogDailySnow'
2025-01-18 13:58:22.144 Error Parsing User Charts: No EVAL found for a PLOT statement' for CLogDailySnowsnow24hr when required'
2025-01-18 13:58:22.144 Error Parsing User Charts: Equation is required because Plotvariable does not translate to valid JSON variable
2025-01-18 13:58:22.158 Errors in Charts definition. See logfile, please correct and run again.
2025-01-18 13:58:22.158 Error No new cumuluscharts.txt is generated and the old one remains in place