Page 1 of 1

Rain reset

Posted: Thu 17 Mar 2016 8:15 am
by ninendal
Hi,

For some reason today's rain is resetting a couple of times a day and messing up my daily rain.

2016-03-17 09:03:17.571 ****Rain reset? First chance: raindaystart = 198,8, Raincounter = 0
2016-03-17 09:03:17.572 Leaving counter at 198,8

2016-03-17 09:06:39.293 ****Rain reset? First chance: raindaystart = 198,8, Raincounter = 0
2016-03-17 09:06:39.294 Leaving counter at 198,8

2016-03-17 09:10:00.973 Writing today.ini, LastUpdateTime = 17-3-2016 09:10:00 raindaystart = 198,8 rain counter = 198,8

Question is why does it reset and why is it always 198.8?

Re: Rain reset

Posted: Thu 17 Mar 2016 9:29 am
by steve
It's 198.8 because that's the current value (it's the annual total from the console). Your station apparently occasionally supplies zero for that figure. Or perhaps there's a problem with reading the data. You would need to turn on debug logging and data logging and look at the diags file at the time this happens.

Cumulus is attempting to handle it (by ignoring the reading) - is that not working?

Re: Rain reset

Posted: Thu 17 Mar 2016 9:58 am
by ninendal
steve wrote:It's 198.8 because that's the current value (it's the annual total from the console). Your station apparently occasionally supplies zero for that figure. Or perhaps there's a problem with reading the data. You would need to turn on debug logging and data logging and look at the diags file at the time this happens.

Cumulus is attempting to handle it (by ignoring the reading) - is that not working?

Cumulus isn't ignoring it. It puts the value 198.8 in label #rfall which shows on my site. After closing cumulus the value in today.ini shows 0. So my question is how to change it so it doesn't show. Debugging is on ATM.

Re: Rain reset

Posted: Thu 17 Mar 2016 11:14 am
by steve
I'll have to look at the code to see why it doesn't ignore it, when I get back from my holiday.

Re: Rain reset

Posted: Thu 17 Mar 2016 11:18 am
by ninendal
steve wrote:I'll have to look at the code to see why it doesn't ignore it, when I get back from my holiday.
Take you time and have a nice holiday 8-)

Seems to go wrong here;

2016-03-17 17:11:17.859 ****Rain reset? First chance: raindaystart = 198,8, Raincounter = 0
2016-03-17 17:11:17.859 Leaving counter at 198,8
2016-03-17 17:11:23.872 ****Rain counter reset confirmed: raindaystart = 198,8, Raincounter = 0
2016-03-17 17:11:23.872 ****Rain counter reset confirmed: raindaystart = 198,8, Raincounter = 0
2016-03-17 17:11:23.872 Setting raindaystart to 0
2016-03-17 17:11:32.877 invalid LOOP packet
2016-03-17 17:11:35.878 Discarding bytes from pipeline: 498
2016-03-17 17:11:35.885 Sending command: LPS 2 1 , attempt 1
2016-03-17 17:11:36.885 Wait for ACK
2016-03-17 17:11:36.890 Received ACK
2016-03-17 17:11:36.890 Loop2: 4C-4F-4F-EC-01-FF-7F-72-76-9B-02-1A-FB-01-03-FF-0B-00-2E-00-25-00-0A-00-14-00-FF-7F-FF-7F-26-00-FF-3F-FF-32-00-31-00-32-00-00-00-00-CC-00-00-00-FF-FF-00-00-00-00-00-00-59-00-00-00-02-00-00-DC-FF-6B-76-6B-76-73-76-FF-05-14-14-08-04-17-14-23-00-06-06-FF-7F-FF-7F-FF-7F-FF-7F-FF-7F-FF-7F-0A-0D-2B-C0
2016-03-17 17:11:36.894 10-min gust from loop2: 16,1
2016-03-17 17:11:36.894 Sending command: LOOP 50 , attempt 1
2016-03-17 17:11:37.895 Wait for ACK
2016-03-17 17:11:37.895 Sending command: LOOP 50 , attempt 2
2016-03-17 17:11:38.895 Wait for ACK
2016-03-17 17:11:38.896 Sending command: LOOP 50 , attempt 3
2016-03-17 17:11:39.896 Wait for ACK
2016-03-17 17:11:39.897 Received ACK
2016-03-17 17:11:39.908 New monthly record, month = 3: 2016-03-17 17:11 198,800 "High daily rain" 2016-03-17 11:36 0,000
2016-03-17 17:11:39.989 New monthly record, month = 3: 2016-03-17 17:11 224,500 "Highest monthly rainfall" 2016-03-17 00:00 25,700
2016-03-17 17:11:43.831 invalid LOOP packet
2016-03-17 17:11:46.831 Discarding bytes from pipeline: 200

Re: Rain reset

Posted: Mon 04 Apr 2016 8:44 am
by ConligWX
I too am having issues with Rain. I have a Davis Vantage Vue running on an Intel NUC with Debain 8 (Jessie)

CumuluxMX running ok, yet RAIN over 24hr period is 343.2mm!!!

I cannot see how CumulusMX is getting this value and all efforts to rest the value seem to re-appear within minutes. is there anyway I can reset CumulusMX to stop this 343.2mm appearing again in the Rain Editor?

I had posted a new thread but it is still awaiting approval.

Re: Rain reset

Posted: Wed 06 Apr 2016 4:28 pm
by mcrossley
You may have to wait for a day rollover to sort itself out. Has that happened yet?
Once done you shouldn't have to do it again.