Page 1 of 1

When the Rain Fell

Posted: Mon 01 Jul 2024 7:25 pm
by Herbaldew
This is an old problem that didn't just start with v4. It doesn't happen often, but just happened last night/today so I thought I would post a query about it.

My logging interval is 15 minutes on my WifiLogger, CMx and WL PC version. Along with earlier rain, .01" fell between 2345 and 0000. Another .01" fell at 0359.

According to CMx running on a RPi, the first .01" is showing as falling yesterday as it should and the second .01" is showing as falling this morning as it should. I shutdown CMx on said RPi and updated both CMx and Weatherlink on my PC. Weatherlink shows the first .01" as falling yesterday and the second .01" as falling today as it should and today's rain shows as .01" as it should. However, CMx shows both as falling today for a today's rain total of .02".

I don't know if this happens on any day that rain falls during the last log period or just when it is the last day of the month as I have only noticed it on the last day of a month.

Is there a setting that would cause this that I have missed forever or is this just the way it is?

Just to clarify...this does not happen when CMx is connected to the WFL, only when downloading historical data.


Thanks

Re: When the Rain Fell

Posted: Fri 12 Jul 2024 4:38 pm
by Herbaldew
Herbaldew wrote: Mon 01 Jul 2024 7:25 pm I don't know if this happens on any day that rain falls during the last log period or just when it is the last day of the month as I have only noticed it on the last day of a month.
Now I do know - it happens on any day. .02 inches of rain fell between 2345 - 0000 yesterday (the last archive interval of the day). That .02" is being counted by Cmx in today's rainfall total and not yesterday's.

It was counted correctly while Cmx was running on my RPi. Then I restored the data from Thursday so Cmx would download the data from the logger and that is when it counts the .02" as today's rain instead of yesterday's.

Weatherlink after downloading from logger = correct. Cmx while running = correct. Cmx after downloading from logger = last archive interval of yesterday being counted as today's event. I don't know if this is rain only.

Re: When the Rain Fell

Posted: Wed 17 Jul 2024 9:40 pm
by mcrossley
Yes, this is an issue, there is even a note in the source code that it needs to be fixed!

I'll take a look at fixing this.

Re: When the Rain Fell

Posted: Sun 02 Feb 2025 3:37 pm
by Herbaldew
Did you make any changes regarding this?

The last couple of times I have had this situaion arise, the results have been different than posted above.

eg I had .01 inch of rain Jan 31 between 2345 - 0000. Rather than just being listed as falling on Feb 1 instead ofJan 31 it is listed as falling on both days throwing the monthly and yearly totals off as well.

Again, all is fine in real time, this only happens when downloading historical data.

Re: When the Rain Fell

Posted: Sun 02 Feb 2025 5:37 pm
by mcrossley
I agree, I just looked at the code, and the 00:00 (or 09:00) record is being counted on both days now! So, I managed half a fix! :bash:

Now fixed (again) for the next release. Sorry about that.

Re: When the Rain Fell

Posted: Sun 02 Feb 2025 7:41 pm
by Herbaldew
Thanks!