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 reset problem - yet another :(

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Rain reset problem - yet another :(

Post by mcrossley »

Steve

I replaced the batteries in the FO transmitter earlier, which of course reset the rain counter.

When I restarted Cumulus (1.9.1 -989) the figures for todays rain and rate remained zero. I checked the diag log and Cumulus detected this and reset the counter in today.ini to -9.09 to compensate for the rain so far today.

Code: Select all

09/06/2011 10:27:02.346 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:02.346 : Ignoring reading 1
09/06/2011 10:27:12.360 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:12.360 : Ignoring reading 2
09/06/2011 10:27:22.355 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:22.355 : Ignoring reading 3
09/06/2011 10:27:34.052 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:34.052 : Ignoring reading 4
09/06/2011 10:27:42.363 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:42.363 : Ignoring reading 5
09/06/2011 10:27:52.378 : Warning: large difference in rain gauge tip count: 6409
09/06/2011 10:27:52.378 : Six consecutive readings; accepting value
09/06/2011 10:27:52.378 : 10:27:52 ****Rain counter reset confirmed: raindaystart = 2164.19995117188, raintotal = 0
09/06/2011 10:27:52.378 : Setting raindaystart to -9.09090900421143
I closed Cumuls before checking the diag file (possibly a mistake), but on restarting it has ignored the -9.09 figure in the today.ini and started with zero.

Code: Select all

09/06/2011 10:34:43.108 : Looking for C:\Program Files\Cumulus\data\today.ini
09/06/2011 10:34:43.108 : Today.ini exists
09/06/2011 10:34:43.108 : Read today file: Date = 09/06/2011, LastUpdateTime = 09/06/2011 10:25:51
09/06/2011 10:34:43.108 : Todayfileraindaystart = -9.09090900421143
09/06/2011 10:34:43.108 : Todayfile is for today
09/06/2011 10:34:43.108 : Finding raintoday from logfile C:\Program Files\Cumulus\data\Jun11log.txt
09/06/2011 10:34:43.139 : Setting raintoday from logfile = 3
09/06/2011 10:34:43.139 : Setting uncalibrated raintotal = 0
09/06/2011 10:34:43.139 : Midnight rain found = 2164.19995117188
09/06/2011 10:34:43.139 : Read yesterday file: Date = 09/06/2011 Date now = 09/06/2011
09/06/2011 10:34:43.139 : Yesterday file is valid
09/06/2011 10:34:43.149 : Loading all time records file C:\Program Files\Cumulus\data\alltime.ini
09/06/2011 10:34:43.149 : Set Default Monthly Highs And Lows
09/06/2011 10:34:43.149 : Read month.ini file
09/06/2011 10:34:43.149 : month.ini is for this month
09/06/2011 10:34:43.149 : Set Default Yearly Highs And Lows
09/06/2011 10:34:43.149 : Read Year.ini file
09/06/2011 10:34:43.149 : Year.ini is for this Year
09/06/2011 10:34:43.149 : Getting rain totals, rain season start = 1
09/06/2011 10:34:43.169 : Rainthismonth from dayfile.txt: 8.10000038146973
09/06/2011 10:34:43.169 : Rainthisyear from dayfile.txt: 255.200012207031
...

09/06/2011 10:34:45.712 : EWUSB: No history data to read, starting timers
09/06/2011 10:34:45.712 : 10:34:45 EWUSB: Switch to normal running
09/06/2011 10:34:45.933 : EWUSB: Closing Please Wait form
09/06/2011 10:34:45.933 : PleaseWaitForm.Close executed
09/06/2011 10:34:56.007 : EWUSB: Rain total count from station = 0
09/06/2011 10:34:56.007 :  First rain data, raindaystart = 0
09/06/2011 10:40:00.996 : Writing today.ini, LastUpdateTime = 09/06/2011 10:40:00 raindaystart = 0 rain counter = 0
So Cumulus is still reporting zero rainfall for today, and the today.ini start counter has indeed been reset from -9.09 to 0. Anyway out of this?
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rain reset problem - yet another :(

Post by steve »

It's a bug, really. It uses a negative value for the start of day rain counter as the initial value, so it's confused itself by setting it negative. I think you'll have to wait until tomorrow and correct today's total retrospectively. Or tip the bucket sufficient times to put back the rain that you've effectively deleted by resetting the transmitter. But that has an effect on the rate etc, of course...
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rain reset problem - yet another :(

Post by mcrossley »

Thanks, I'd come to that conclusion myself. I'll correct it tomorrow. My pressure is now all over the place as the 'correction' changes every time I fully power down the console :( I'll have to buy a better station soon - maybe the WMR when Cumulus supports it.
Gina
Posts: 1885
Joined: Sat 21 Feb 2009 12:41 pm
Weather Station: Nothing working ATM - making one
Operating System: OS X, Linux Mint, Win7 & XP
Location: Devon UK

Re: Rain reset problem - yet another :(

Post by Gina »

I hope to have a better station soon as well - when I get round to sorting out and finishing off my own creation. But I shall be continuing to run the FO unit in tandem - running both G-Weather and Cumulus. I've got to sort out my computers - only Linux and Mac machines running ATM.
Gina

Sorry, no banner - weather station out of action. Hoping to be up and running with a new home-made one soon.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rain reset problem - yet another :(

Post by steve »

mcrossley wrote: maybe the WMR when Cumulus supports it.
Don't hold your breath :(
Steve
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Rain reset problem - yet another :(

Post by mcrossley »

steve wrote:Don't hold your breath :(
Oh dear :cry:
Post Reply