Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Build 3221 Custom daily logs doesn't work

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
LSchenk
Posts: 7
Joined: Sun 10 Oct 2021 3:07 pm
Weather Station: Froggit HP 1000SE
Operating System: Win 10

Build 3221 Custom daily logs doesn't work

Post by LSchenk »

Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
Dayfile named "MyLog" was enabled at ~ 10 pm and nothing came. At exact midnight a first file was written, but with a strange timestamp:
10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0


No time is seen and since then, the file wasn't updatet until now.
My settings in pic below.

May someone have suggestions on it?

Regards Lutz
CMX_Cust_Log_Set.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Build 3221 Custom daily logs doesn't work

Post by HansR »

LSchenk wrote: Wed 11 Jan 2023 3:12 pm Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
Dayfile named "MyLog" was enabled at ~ 10 pm and nothing came. At exact midnight a first file was written, but with a strange timestamp:
10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0


No time is seen and since then, the file wasn't updatet until now.
My settings in pic below.

May someone have suggestions on it?

Regards Lutz

CMX_Cust_Log_Set.JPG
As it is a daily log you will only get a date and no time. Because it is a daily frequency you will only get one line per day at rollover time.
So, from what I see I would say it is OK (assuming the date format is correct).

If you say
LSchenk wrote: Wed 11 Jan 2023 3:12 pm the file wasn't updatet until now
what time is the now?
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LSchenk
Posts: 7
Joined: Sun 10 Oct 2021 3:07 pm
Weather Station: Froggit HP 1000SE
Operating System: Win 10

Re: Build 3221 Custom daily logs doesn't work

Post by LSchenk »

Hello Hans, time now was as i posted the message at 4:12 pm CET.
For the file i got the information from a german forum, that the dayfile would record each dataset per interval.
This info seems to be wrong.

Thank you for the correction.
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Build 3221 Custom daily logs doesn't work

Post by PaulMy »

Hi,
I don't do Daily so can't check on that. For my Interval logging it is shows in the MXdiags

Code: Select all

2023-01-11 10:20:00.051 DoExtraLogFile: Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.051 DoExtraLogFile: Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.051 DoAirLinkLogFile: Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.052 DoAirLinkLogFile: Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.052 DoCustomIntervalLog: CustomLog-1 - Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.054 DoCustomIntervalLog: entry: 11/01/23,10:20,Temp: -0.4, Hum: 85, SL Press: 1015.3, W-Speed: 6.4, W-Gust: 30.0, Beaufort: F2, Cloudbase: 1477 ft, UV: 0.0, Solar Rad: 179, Forecast: Fairly fine, showery later, Curr Cond: Sunny
2023-01-11 10:20:00.054 DoCustomIntervalLog: CustomLog-1 - Log entry for 11/01/23 10:20:00 AM written
2023-01-11 10:20:00.054 DoCustomIntervalLog: CustomLog-2 - Writing log entry for 11/01/23 10:20:00 AM
2023-01-11 10:20:00.056 DoCustomIntervalLog: entry: 11/01/23,10:20,Raining: 0, Rain Rate: 0.0, Rain-Today: 0.0, Rain-1Hour: 0.0, Rain-24H: 0.0, Rain-Last: 2023-01-06 05:41, Minutes Since Last: 7479, Rain-Month: 21.2, Rain-Year: 21.2, ConsecRain Days: 0, ConsecDry Days: 4
2023-01-11 10:20:00.056 DoCustomIntervalLog: CustomLog-2 - Log entry for 11/01/23 10:20:00 AM written
Is there anything in your MXdiags at the time it is expected to process?

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Build 3221 Custom daily logs doesn't work

Post by HansR »

LSchenk wrote: Wed 11 Jan 2023 3:54 pm Hello Hans, time now was as i posted the message at 4:12 pm CET.
OK, but the file date/time must be the rollover time it can't be updated at 4:12
Can you confirm?

Edit: @PaulMy: I have a daily custom log and that logs OK one line per day at rollover time.
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LSchenk
Posts: 7
Joined: Sun 10 Oct 2021 3:07 pm
Weather Station: Froggit HP 1000SE
Operating System: Win 10

Re: Build 3221 Custom daily logs doesn't work

Post by LSchenk »

Yes there is an entry at 00:00:

Code: Select all

2023-01-11 00:00:00.143 DoCustomDailyLog: MyLog - Writing log entry
2023-01-11 00:00:00.143 DoCustomDailyLog: entry: 10.01.23;4,1;90;8,4;24;164;2,0;1015,7;19,4;50;0,0;0;0,8;4,2;4,1;4,2;37,0;91;87;0;0
2023-01-11 00:00:00.143 DoCustomDailyLog: MyLog - Log entry written
Thank you both, so i have to use the monthly file for file monitoring from WsWin.

Regards
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Build 3221 Custom daily logs doesn't work

Post by PaulMy »

Hi,
Hello, yesterday i tried to get custom logs work. Monthly file is working properly.
I presume with Monthly file you mean the saving of the Custom Interval Logs is in a monthly form, so a new file each month - i.e. yourfilename-yyyymm?

As @HansR confirms the Custom Daily Log is saved once a day with whatever tags have entered and perhaps he can confirm if that is a continuous file like the standard dayfile.txt, or if in a monthly or annual file.
so i have to use the monthly file for file monitoring from WsWin.
I am not familiar with WsWin but a search shows a 2011 program by that name, and also currently WsWin in WeatherCloud. Would the normal Weathercloud update by CumulusMX (in the Third Party Uploads settings) not be sufficient?

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
HansR
Posts: 6926
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Build 3221 Custom daily logs doesn't work

Post by HansR »

PaulMy wrote: Wed 11 Jan 2023 4:55 pm As @HansR confirms the Custom Daily Log is saved once a day with whatever tags have entered and perhaps he can confirm if that is a continuous file like the standard dayfile.txt, or if in a monthly or annual file.
The Daily custom log is a continuous file like the dayfile.txt
Hans

https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
LSchenk
Posts: 7
Joined: Sun 10 Oct 2021 3:07 pm
Weather Station: Froggit HP 1000SE
Operating System: Win 10

Re: Build 3221 Custom daily logs doesn't work

Post by LSchenk »

Hi Paul,
I am not familiar with WsWin but a search shows a 2011 program by that name, and also currently WsWin in WeatherCloud. Would the normal Weathercloud update by CumulusMX (in the Third Party Uploads settings) not be sufficient?
WsWin is a german program, which is in steadily in update-progress. My problem is to have an instance, what receives the console-data from my hp1000se pro (Ecowitt-Clone), because WsWin have no direct access to theese data. Therefore i have to use file-monitoring. I'm not providing data to weather-services like AWEKAS, W-U etc. I use it just for my personal homepage.

Before the custom logs were available, i had to use a special .exe to merge the dayfile+extradayfiles into one .csv.

Now, with the costom logs, this is obsolete, and i can reduce the size of the monitored file to more than 80% less.

Just the the filenames with changing part of the date e.g. MyLog-yyyyMM.txt is a little problem because the monitored file should have no changing name. This i will fix with a Xcopy the file to another with unchanged name. Xcopy will run per interval by the CMX External Program settings. Testing it just now, looks fine.

Lutz
Post Reply