Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

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

Rain counter being reset

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Rain counter being reset

Post by stefanbagnato »

My rain counter is being reset to an incorrect value. I have updated it to 26.65 in today.ini, as well as month.ini and confirmed by looking in that database. Per the MXdiags log below, something is resetting the value, but I can't trace where it is coming from...

2018-07-16 23:17:42.384 Midnight rain found in the following entry:
2018-07-16 23:17:42.384 16/07/18,06:00,73.9,85,67.5,0.0,0.0,0,0.00,0.00,29.900,26.65,78.0,50,0.0,73.9,80.4,0.0,0,0.000,0.000,80.4,580,0.0,0,0.00,0.00
2018-07-16 23:17:42.399 Setting raintoday from logfile = 0
2018-07-16 23:17:42.399 Calculating rain counter = 26.65
2018-07-16 23:17:42.399 Midnight rain found = 26.65
2018-07-16 23:17:42.399 Getting rain totals, rain season start = 1
2018-07-16 23:17:42.399 Today = 16/07/18
2018-07-16 23:17:42.524 Rainthismonth from dayfile.txt: 4.42
2018-07-16 23:17:42.524 Rainthisyear from dayfile.txt: 26.65
2018-07-16 23:17:42.524 Station type = Davis
.........................
2018-07-16 23:17:45.187 Loaded archive record for Page=0 Record=1 Timestamp=7/16/2018 11:15:00 PM
2018-07-16 23:17:45.187 Processing archive record for 7/16/2018 11:15:00 PM
2018-07-16 23:17:45.258 Page=0 Record=1 Timestamp=7/16/2018 11:15:00 PM
2018-07-16 23:17:45.274 Writing log entry for 7/16/2018 11:15:00 PM
2018-07-16 23:17:45.287 Written log entry for 7/16/2018 11:15:00 PM
2018-07-16 23:17:45.306 Writing today.ini, LastUpdateTime = 7/16/2018 11:15:00 PM raindaystart = 26.65 rain counter = 26.65
2018-07-16 23:17:45.310 Log file entry written
2018-07-16 23:17:45.328 1 archive entries processed
.........................
2018-07-16 23:17:46.246 End of MySQL archive upload
2018-07-16 23:17:46.827 ****Rain reset? First chance: raindaystart = 26.65, Raincounter = 19.6
2018-07-16 23:17:46.827 Leaving counter at 26.65
2018-07-16 23:17:46.843 ****Rain counter reset confirmed: raindaystart = 26.65, Raincounter = 19.6
2018-07-16 23:17:46.843 Setting raindaystart to 19.6
2018-07-16 23:18:00.637 Writing log entry for 7/16/2018 11:18:00 PM
2018-07-16 23:18:00.637 Written log entry for 7/16/2018 11:18:00 PM
2018-07-16 23:18:00.652 Writing today.ini, LastUpdateTime = 7/16/2018 11:18:00 PM raindaystart = 19.6 rain counter = 19.6
2018-07-16 23:18:00.652 INSERT IGNORE INTO Monthly (LogDateTime,Temp,Humidity,Dewpoint,Windspeed,Windgust,Windbearing,RainRate,TodayRainSoFar,Pressure,Raincounter,InsideTemp,InsideHumidity,LatestWindGust,WindChill,HeatIndex,UVindex,SolarRad,Evapotrans,AnnualEvapTran,ApparentTemp,MaxSolarRad,HrsSunShine,CurrWindBearing,RG11rain,RainSinceMidnight,WindbearingSym,CurrWindBearingSym) Values('18-07-16 23:18',76.3,87,72.1,0.0,0.0,0,0.00,0.00,29.952,19.60,73.6,48,0.0,76.3,76.3,0.0,0,0.000,0.000,85.1,0,0.0,0,0.00,0.00,'N','N')
2018-07-16 23:18:00.719 MySQL: 1 rows were affected.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Rain counter being reset

Post by steve »

Cumulus is resetting it to the actual value supplied by the station. It can only work with the actual value supplied by the station, so if it has been reset by the station for some reason, you will have to accept that and let Cumulus handle it - it does its best to cope when the rain counter changes unexpectedly. Assuming it doesn't change again, you should find that the rain figure is only affected for one day, and then you can amend if necessary subsequently.
Steve
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Rain counter being reset

Post by stefanbagnato »

Ah okay. So since I have a VP2, I could have gone into WeatherLink and fixed it from there. Since the station was disconnected for 26 days, obviously the value was off. I will check it when I get home this evening, and if the 19" value is gone, and only the correct value of 26.65" is there, I will ignore. Thanks!
Locked