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

Rain Error Weatherlink Live

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
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Rain Error Weatherlink Live

Post by grapee »

Hi,

For the last 2 mornings when firing up MX, I have a rainfall error of 50.4mm.

This is added once the catchup from WWL is completed for the overnight shutdown of PC.

I'm not 100% certain but the timing of the rainfall may coincide with me powering down the PC as I don't run it it 24/7 ?
Capture7.PNG
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Rain Error Weatherlink Live

Post by water01 »

Do you stop CumulusMX with a Ctrl+C before you power down the PC?
David
Image
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

No I don't, I just

Capture8.png

Guess I may be doing it wrong ?
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Rain Error Weatherlink Live

Post by water01 »

That will be the problem then because CumulusMX needs to clean close in order to write out the files it has open and because you just close the window it does not get the chance to do so.

You ONLY close CumulusMX with a Ctrl+C with the Window open and wait for it to say program terminating and close the window. Any other way and you risk corrupting the files as is happening in your case.
David
Image
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

water01 wrote: Thu 07 May 2020 9:06 am That will be the problem then because CumulusMX needs to clean close in order to write out the files it has open and because you just close the window it does not get the chance to do so.

You ONLY close CumulusMX with a Ctrl+C with the Window open and wait for it to say program terminating and close the window. Any other way and you risk corrupting the files as is happening in your case.
Cheers David,

I'll do that, although having tried it, I don't get any program terminating message, it just closes the window.

Graeme
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Rain Error Weatherlink Live

Post by water01 »

As long as it closes the CumulusMX command window cleanly that is all you have to worry about. Probably your computer reacted so quickly you didn't get a chance to see the terminated message, mine is slower so I do :D :D
David
Image
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

:D My PC doesn't normally react quickly to anything :(

And the problem hasn't gone away.
I've tried a few CTRL-C's, some of which close it immediately and some it takes a couple to close.

Either way, I now have 75.6mm of rain today (25.2 x 3), so it seems I do have an issue with closing it :cry:
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Rain Error Weatherlink Live

Post by water01 »

In which case you will need Mark Crossley's expertise on Davis Stations.
David
Image
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Rain Error Weatherlink Live

Post by sfws »

I have no knowledge of Davis stations or your specific problem.
But I can try to verify other assertions in this topic about how to close MX cleanly in Windows.
water01 wrote: Thu 07 May 2020 9:06 am That will be the problem then because CumulusMX needs to clean close in order to write out the files it has open and because you just close the window it does not get the chance to do so.

You ONLY close CumulusMX with a Ctrl+C with the Window open and wait for it to say program terminating and close the window. Any other way and you risk corrupting the files as is happening in your case.
This is what I would do, if I need to close MX (a lot recently with my power going off for the rewiring I am having done).
grapee wrote: Thu 07 May 2020 8:42 am No I don't, I just
Capture8.png
Guess I may be doing it wrong ?
I tried what is shown in this screen shot. I got the same messages as with my usual method (as per David). I saw message "Cumulus terminating", then message "Cumulus stopped", then the command window closed. So I conclude both methods are closing MX tidily for me (you learn something new each day). I guess for Windows any method within MX task will do a tidy close, but an external windows process like taskKill or Task Manager will mess up MX. I remember with Cumulus 1, it closed tidily whether you picked exit from File menu or clicked the "X", but if you had a power cut or you used Task Manager, C1 did not either close or restart normally.

I will add, that how long you have to see these messages depends when you try to close MX. If you pick a time when it is doing an upload (real time or standard), the messages will be seen for longer as it will finish that upload before it starts to update the "today.ini" and "Cumulus.ini" files it does as it finally closes.

My knowledge of C# is not sufficient to fully understand how Program.cs works, because it seems to be several processes nested (and Mark has changed some aspects recently), but the top level bit seems to be a loop with waits while check for exit confirmed, then simply stopping process. So I am guessing any action that lets MX finish what it is doing and do its own stop of process will work. It appears that clicking "X" is not a stop, but an instruction to MX to do what it does for leading to a stop.
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

sfws wrote: Thu 07 May 2020 10:51 pm I have no knowledge of Davis stations or your specific problem.
But I can try to verify other assertions in this topic about how to close MX cleanly in Windows.
water01 wrote: Thu 07 May 2020 9:06 am That will be the problem then because CumulusMX needs to clean close in order to write out the files it has open and because you just close the window it does not get the chance to do so.

You ONLY close CumulusMX with a Ctrl+C with the Window open and wait for it to say program terminating and close the window. Any other way and you risk corrupting the files as is happening in your case.
This is what I would do, if I need to close MX (a lot recently with my power going off for the rewiring I am having done).
grapee wrote: Thu 07 May 2020 8:42 am No I don't, I just
Capture8.png
Guess I may be doing it wrong ?
I tried what is shown in this screen shot. I got the same messages as with my usual method (as per David). I saw message "Cumulus terminating", then message "Cumulus stopped", then the command window closed. So I conclude both methods are closing MX tidily for me (you learn something new each day). I guess for Windows any method within MX task will do a tidy close, but an external windows process like taskKill or Task Manager will mess up MX. I remember with Cumulus 1, it closed tidily whether you picked exit from File menu or clicked the "X", but if you had a power cut or you used Task Manager, C1 did not either close or restart normally.

I will add, that how long you have to see these messages depends when you try to close MX. If you pick a time when it is doing an upload (real time or standard), the messages will be seen for longer as it will finish that upload before it starts to update the "today.ini" and "Cumulus.ini" files it does as it finally closes.

My knowledge of C# is not sufficient to fully understand how Program.cs works, because it seems to be several processes nested (and Mark has changed some aspects recently), but the top level bit seems to be a loop with waits while check for exit confirmed, then simply stopping process. So I am guessing any action that lets MX finish what it is doing and do its own stop of process will work. It appears that clicking "X" is not a stop, but an instruction to MX to do what it does for leading to a stop.



That all makes total sense and I remember Cumulus 1 taking a little time to close down.

But I'm still seeing no evidence of anything other than an immediate close or after a second CTRL-C.

This morning I have another 25.2mm recorded at 10:05, at this rate we'll be flooded out in a few days, living 500m from the River Thames ! :D
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Rain Error Weatherlink Live

Post by sfws »

grapee wrote: Fri 08 May 2020 9:47 amThis morning I have another 25.2mm recorded at 10:05, at this rate we'll be flooded out in a few days, living 500m from the River Thames ! :D
My MX is off because I am having my home rewired. Just before I shut MX down when the electrician said he needed power off, I was looking at my monthly logs. They seem to be getting a second line with same time whenever MX is shut down and does catch up when I can run it again.

I don't know if this is affecting my data as without power I can't investigate.

I hope you don't have actual flooding. Many decades ago I was at school beside the Thames and sometimes saw flooding. My pc desktop background had a flooding picture from near where I previously lived and I have replaced that with a picture of flooding near here last February. Local homes and businesses hardly recovered from the flooding when lockdown hit.
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

My MX is off because I am having my home rewired. Just before I shut MX down when the electrician said he needed power off, I was looking at my monthly logs. They seem to be getting a second line with same time whenever MX is shut down and does catch up when I can run it again.
This morning, I have no rain recorded but I suspect it will happen again, when it does, I'll have a look at the log files.
I have a degree of familiarity having had to modify various erroneous values whilst using Cumulus 1 for 10 years.
My old Fine Offset was getting more and more unreliable towards the end, giving me over 300mm of rain rain every day ! :shock:
I hope you don't have actual flooding. Many decades ago I was at school beside the Thames and sometimes saw flooding. My pc desktop background had a flooding picture from near where I previously lived and I have replaced that with a picture of flooding near here last February. Local homes and businesses hardly recovered from the flooding when lockdown hit.
We've lived here in leafy Bucks since 2002 and in the first winter we had the worst flooding for 56 years.
We were cut off in one direction for around 2 weeks but even in the worst flooding recorded, had we lived here then, we would have been totally cut off but not flooded as we would have been on a very small island :shock:
grapee
Posts: 52
Joined: Sat 09 Jan 2010 11:02 am
Weather Station: Davis Vantage Vue
Operating System: Windows 10 Home
Location: Bourne End, Bucks

Re: Rain Error Weatherlink Live

Post by grapee »

grapee wrote: Thu 07 May 2020 11:54 am :D My PC doesn't normally react quickly to anything :(

And the problem hasn't gone away.
I've tried a few CTRL-C's, some of which close it immediately and some it takes a couple to close.

Either way, I now have 75.6mm of rain today (25.2 x 3), so it seems I do have an issue with closing it :cry:
Just a quick update, the CTRL-C thing seems to have been the problem.

Since being made aware, it has been faultless and I am seeing the message, albeit only appearing for less than a second.

Many thanks for the advice.

Graeme
Post Reply