Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

CustomLogs as module

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

If I remember well there was an issue with the THXindex webtags but I can't remember what and I can't find.

@Mark: are those tags always valid numbers with any station (with solar)?

@Dador: depending on Marks answer I'll include those two tags. They simply are not in the permitted list currently so you can't use them. The system is working ;)
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

THW index is probably calculated by CMX. My other station, Ecowitt, has this tag working.

THSW index actually only works with Davis, which have solar sensors. However, for other stations, it will return "0".
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

Well, the webtags exist and give values so why not.
I'll push out a fix release today with those two tags included.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

HansR wrote: Sun 12 Nov 2023 9:15 am Well, the webtags exist and give values so why not.
I'll push out a fix release today with those two tags included.
Super.

BTW,
for me, Cutils could handle all tags that are not time or date. After all, we, as users, usually decide what we want to draw anyway.
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

It is not totally as simple as that: there are some 850 webtags and I included only those which actally produce a numerical value and thus can be plotted. I also assigned units and axis to those webtags to facilitate the charts.This means that indeed time and dates are excluded, but also strings and booleans. I may have made errors in that selection process.

So I made a manual selection of - currently 364 - webtags which are plottable in a chart. Indeed to the users decision which to use. Any errors in that selection will be corrected upon detection/request.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

Don't worry about my ignorant talk and do your thing ;) .

The 6.21.4 version solved my problem, thanks.
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

I have introduced a cloud base chart that gives the value in meters (m). The legend and graph are in kilometers - Distance (km). Where can I change it and can I change it at all?
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

Dador wrote: Mon 13 Nov 2023 7:07 pm I have introduced a cloud base chart that gives the value in meters (m). The legend and graph are in kilometers - Distance (km). Where can I change it and can I change it at all?
Well spotted. It is an anomaly for which I currently do not have a solution. It will probably come down to dividing the number by 1000 to actually have km. It is the consequence of having no discrimination to decide whether to display meters or km. The distance unit is originally for the Windrun, that is why it is in km.

As far as I can see it is only the cloud base which has a distance in meters.
Thinking about it.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

Please unblock <#StormRain> tag.
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

Dador wrote: Tue 14 Nov 2023 5:45 pm Please unblock <#StormRain> tag.
Done, next version. Seems I missed the block of those special Davis tags
HansR wrote: Mon 13 Nov 2023 7:39 pm Well spotted. It is an anomaly for which I currently do not have a solution. It will probably come down to dividing the number by 1000 to actually have km. It is the consequence of having no discrimination to decide whether to display meters or km. The distance unit is originally for the Windrun, that is why it is in km.

As far as I can see it is only the cloud base which has a distance in meters.
Thinking about it.
I will probably create a new dimension Height which can be either in meter or in feet. This will be accompanied by a Height Axis type which can be used in the charts. Thinking about it that should have been done a lot earlier: Height may seem a vertical distance (that is how I looked at it) but it plays a different role. And for meteorology the interesting height will never be 300 km which would be pretty normal for a distance (wind run).

If not automatically chosen for the variable - webtag - it can only be an equation (that is the way I calculate the cload base) and the user than has to choose the axis. It requires some testing but this seems to be the solution for the Height.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

HansR wrote: Tue 14 Nov 2023 6:17 pm Done, next version. Seems I missed the block of those special Davis tags
This tag also works for Ecowitt stations. If you feel like it, you can check it out for yourself ;)
HansR wrote: Tue 14 Nov 2023 6:17 pm I will probably create a new dimension Height which can be either in meter or in feet. This will be accompanied by a Height Axis type which can be used in the charts. Thinking about it that should have been done a lot earlier: Height may seem a vertical distance (that is how I looked at it) but it plays a different role. And for meteorology the interesting height will never be 300 km which would be pretty normal for a distance (wind run).

If not automatically chosen for the variable - webtag - it can only be an equation (that is the way I calculate the cload base) and the user than has to choose the axis. It requires some testing but this seems to be the solution for the Height.
Quite a good solution.
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

Dador wrote: Tue 14 Nov 2023 6:47 pm This tag also works for Ecowitt stations. If you feel like it, you can check it out for yourself
You mean StormRain? Yes it does. But apparently the StormRain originates from Davis and that is where it is listed in the Great WebTag List.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

I attach the version which should give you the Height axis (m and ft) for the clousbase. Note that you set the unit in the settings for the Station=>General=>Units. Also the webtag #cloudbasevalue is added - which was not present (I had used #cloudbase which is wrong).

See the preliminary release notes.

Any comment?
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
User avatar
Dador
Posts: 158
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CustomLogs as module

Post by Dador »

<#StormRain> still blocked :lol:

Code: Select all

2023-11-14 22:26:22.360 Information According to Inifile Info => Error: True, Warning: True, Info: True, Verbose: False, 
2023-11-14 22:26:22.366  CUstrings[xx].ini : CUstringsPL.ini looked for.
2023-11-14 22:26:22.378 CumulusUtils version: 6.21.5 
2023-11-14 22:26:22.378  CuSupport constructor : Unit Wind (m/s, mph, km/h, kts): km/hr
2023-11-14 22:26:22.378  CuSupport constructor : Unit Pressure (mb,hPa,inHg): hPa
2023-11-14 22:26:22.378  CuSupport constructor : Unit Rain (mm,in): mm
2023-11-14 22:26:22.379  CuSupport constructor : Unit T (C,F): °C
2023-11-14 22:26:22.379  CuSupport constructor : Unit Distance (m, mi, km, kn): km
2023-11-14 22:26:22.380  CuSupport constructor : Unit Height (m, ft): m
2023-11-14 22:26:22.416 InetSupport: Constructor start
2023-11-14 22:26:22.652 Information InetSupport: FTP Setup (After connect):
2023-11-14 22:26:22.653 InetSupport: Plain Old FTP activated.
2023-11-14 22:26:22.653 Information InetSupport: FTP Server: ProFTPD on Unix
2023-11-14 22:26:22.653 CumulusUtils : ----------------------------
2023-11-14 22:26:22.653 CumulusUtils : Entering Main
2023-11-14 22:26:22.658 HelpTexts Contructor: start
2023-11-14 22:26:22.660 Information HelpTexts Contructor: stop
2023-11-14 22:26:22.716 CommandLineArgs : starting
2023-11-14 22:26:22.716  CommandLineArgs : handling arg: ExtraSensors
2023-11-14 22:26:22.716  CommandLineArgs : handling arg: Top10
2023-11-14 22:26:22.721  CommandLineArgs : handling arg: Graphs
2023-11-14 22:26:22.722  CommandLineArgs : handling arg: CustomLogs
2023-11-14 22:26:22.722 CommandLineArgs : End
2023-11-14 22:26:22.724 Dayfile constructor: Using path: | data/ |; file: | dayfile.txt
2023-11-14 22:26:22.744 Information Dayfile constructor: Working on: data/copy_dayfile.txt
2023-11-14 22:26:22.746 Information CumulusUtils : Creating class dayfile -> Opening dayfile.txt
2023-11-14 22:26:22.919 Information CumulusUtils : Read dayfile.txt succesfully - 4330 records
2023-11-14 22:26:22.937 Information CustomLogs constructor: start
2023-11-14 22:26:22.960 Information CustomLogs WebtagInfo constructor: number of defined Webtag Units: 367, everything OK. 
2023-11-14 22:26:22.962 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#temp>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#hum>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#dew>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#wetbulb>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#wchill>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#heatindex>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#humidex>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#apptemp>
2023-11-14 22:26:22.963 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#feelslike>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#avgtemp>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#THWindex>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#THSWindex>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraTemp1>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraHum1>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraDP1>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraTemp3>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraTemp4>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraHum4>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ExtraDP4>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SoilTemp1>
2023-11-14 22:26:22.964 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SoilTemp2>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SoilTemp3>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SoilTemp4>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SolarRad>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#cloudbasevalue>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#rfall>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#rrate>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#rhour>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#r24hour>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#rmonth>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#ryear>
2023-11-14 22:26:22.965 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#StormRain>
2023-11-14 22:26:22.966 Warning Constructor CustomLogs: Not a valid Webtag StormRain used in Custom log customlog
2023-11-14 22:26:22.966 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#LightningDistance>
2023-11-14 22:26:22.966 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#LightningStrikesToday>
2023-11-14 22:26:22.966 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#AnnualET>
2023-11-14 22:26:22.966 Information Constructor CustomLogs: handling Custom log customlog - Webtag <#SunshineHoursYear>
User avatar
HansR
Posts: 5773
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: CustomLogs as module

Post by HansR »

Yes, typo :bash:
But I assume the axis worked :?:

Try this one:
cumulusutils 6215 beta2.zip
You do not have the required permissions to view the files attached to this post.
Hans

https://meteo-wagenborgen.nl
CMX build 3278 ● Ecowitt GW1100/WS80/WH40 ● RPi 3B+ ● Raspberry OS 6.1.21 ● Mono 6.12.0.200
https://meteo-wagenborgen.nl/CMX4/NET8/ (beta)
CMX build 4003+ ● RPi 4B ● RPi OS 6.1.0-rpi7-rpi-v8 aarch64 ● dotnet 8.0.1
Post Reply