Page 1 of 1

error in 3122?

Posted: Sun 16 Oct 2022 3:06 am
by BrunswickWeather
It appears that there may be errors in 3122.

At line 2221 in the diag file 20221016-132846_3122.txt

2022-10-16 13:29:53.003 Read logger entry for 2022-10-15 10:55:00 PM address DB48
2022-10-16 13:29:53.174 Data1: 05-32-E5-00-55-88-00-77
2022-10-16 13:29:53.174 Data2: 27-03-11-00-09-A8-06-00
2022-10-16 13:29:53.174 Data3: 00-00-00-00-05-32-E3-00
2022-10-16 13:29:53.174 Data4: 56-88-00-77-27-07-0A-00
2022-10-16 13:29:53.174 Logger Data block: 05-32-E5-00-55-88-00-77-27-03-11-00-09-A8-06-00-00-00-00-00
2022-10-16 13:29:53.174 This logger record interval = 5 mins
2022-10-16 13:29:53.174 Number of history entries = 175
2022-10-16 13:29:53.174 Processing data for 2022-10-15 10:55:00 PM
2022-10-16 13:29:53.209 Windrun: 2.1km/h for 5 minutes = 0.2km
2022-10-16 13:29:53.209 DoLogFile: Writing log entry for 2022-10-15 10:55:00 PM
2022-10-16 13:29:53.209 DoLogFile: max gust: 7.2
2022-10-16 13:29:53.222 DoLogFile: log entry for 2022-10-15 10:55:00 PM written
2022-10-16 13:29:53.222 Writing today.ini, LastUpdateTime = 2022-10-15 10:55:00 PM raindaystart = 511.2 rain counter = 511.2
2022-10-16 13:29:53.222 Latest reading:
2022-10-16 13:29:53.222 DoCustomIntervalLog: mylog - Writing log entry for 2022-10-15 10:55:00 PM
2022-10-16 13:29:53.222 DoCustomIntervalLog: entry: 15-10-22,22:55,13.3,14.0,13.6
2022-10-16 13:29:53.237 DoCustomIntervalLog: mylog - Log entry for 2022-10-15 10:55:00 PM written
2022-10-16 13:29:53.253 Spike removal: Max rainfall rate spike value exceed
2022-10-16 13:29:53.253 Spike removal: Rate value = 6134.40 SpikeMaxRainRate = 100.00
2022-10-16 13:29:53.253 New all-time record: New time = 2022-10-15 22:55, new value = 511.200 "High 24 hour rain" prev time = 2013-06-01 11:34, prev value = 84.900
2022-10-16 13:29:53.269 New monthly record: month = 10: New time = 2022-10-15 22:55, new value = 511.200 "High 24 hour rain" prev time = 2010-10-31 12:04, prev value = 73.500
2022-10-16 13:29:53.269 Writing to Month.ini file
2022-10-16 13:29:53.269 End writing to Month.ini file
2022-10-16 13:29:53.284 Creating WU URL #1

Comparing the same data in 3121
At line 2236 in the diag file 20221016-133210_3121.txt

2022-10-16 13:33:16.200 Read logger entry for 2022-10-15 10:55:00 PM address DB48
2022-10-16 13:33:16.372 Data1: 05-32-E5-00-55-88-00-77
2022-10-16 13:33:16.372 Data2: 27-03-11-00-09-A8-06-00
2022-10-16 13:33:16.372 Data3: 00-00-00-00-05-32-E3-00
2022-10-16 13:33:16.372 Data4: 56-88-00-77-27-07-0A-00
2022-10-16 13:33:16.372 Logger Data block: 05-32-E5-00-55-88-00-77-27-03-11-00-09-A8-06-00-00-00-00-00
2022-10-16 13:33:16.372 This logger record interval = 5 mins
2022-10-16 13:33:16.372 Number of history entries = 176
2022-10-16 13:33:16.372 Processing data for 2022-10-15 10:55:00 PM
2022-10-16 13:33:16.388 Windrun: 2.1km/h for 5 minutes = 0.2km
2022-10-16 13:33:16.388 DoLogFile: Writing log entry for 2022-10-15 10:55:00 PM
2022-10-16 13:33:16.388 DoLogFile: max gust: 7.2
2022-10-16 13:33:16.419 DoLogFile: log entry for 2022-10-15 10:55:00 PM written
2022-10-16 13:33:16.419 Writing today.ini, LastUpdateTime = 2022-10-15 10:55:00 PM raindaystart = 511.2 rain counter = 511.2
2022-10-16 13:33:16.419 Latest reading:
2022-10-16 13:33:16.419 DoCustomIntervalLog: mylog - Writing log entry for 2022-10-15 10:55:00 PM
2022-10-16 13:33:16.419 DoCustomIntervalLog: entry: 15-10-22,22:55,13.3,14.0,13.6
2022-10-16 13:33:16.435 DoCustomIntervalLog: mylog - Log entry for 2022-10-15 10:55:00 PM written
2022-10-16 13:33:16.454 Creating WU URL #1

Attached both diag files and monthly files for Oct from both versions
Started both versions of Cumulus Mx from last night at 10:50pm
I have started trying the new log files that started in 3121

Re: error in 3122?

Posted: Sun 16 Oct 2022 5:08 am
by BeaumarisWX
Hi Same issue,
Reverted back to 3211.
2022-10-16 15:09:00.855 GetArchiveData: Response: 01 00 02 00 10 D6
2022-10-16 15:09:00.855 GetArchiveData: Reading data: 1 pages , offset = 2
2022-10-16 15:09:00.855 GetArchiveData: Reading archive page 0
2022-10-16 15:09:00.856 GetArchiveData: Waiting for response
2022-10-16 15:09:01.005 GetArchiveData: Reading response
2022-10-16 15:09:01.005 GetArchiveData: Response data - 00-50-2D-E1-05-3D-02-3E-02-3C-02-00-00-00-00-6F-75-B2-03-17-00-B3-02-3A-42-05-09-03-03-2C-00-B2-03-2C-2C-FF-FF-FF-FF-92-00-FF-FF-00-FF-FF-FF-FF-FF-5C-00-FF-FF-50-2D-E2-05-3E-02-3E-02-3D-02-00-00-00-00-6F-75-93-01-16-00-B3-02-3A-40-06-09-03-04-2B-00-93-01-2B-2C-FF-FF-FF-FF-92-00-FF-FF-00-FF-FF-FF-FF-FF-5C-00-FF-FF-50-2D-E3-05-3B-02-3D-02-3A-02-00-00-00-00-6F-75-7C-01-16-00-B3-02-3A-40-05-07-04-02-2A-00-7C-01-2A-2C-FF-FF-FF-FF-92-00-FF-FF-00-FF-FF-FF-FF-FF-5C-00-FF-FF-50-2D-E4-05-38-02-39-02-38-02-00-00-00-00-6F-75-A6-01-17-00-B4-02-3A-42-04-07-04-04-2C-00-A6-01-2C-2C-FF-FF-FF-FF-92-00-FF-FF-00-FF-FF-FF-FF-FF-5C-00-FF-FF-50-2D-E5-05-37-02-38-02-36-02-00-00-00-00-6F-75-A6-01-16-00-B4-02-3A-40-04-06-02-02-30-00-A6-01-30-2C-FF-FF-FF-FF-92-00-FF-FF-00-FF-FF-FF-FF-FF-5C-00-FF-FF-FF-FF-FF-FF-81-22
2022-10-16 15:09:01.006 GetArchiveData: Loaded archive record for Page=0 Record=2 Timestamp=16/10/2022 3:07:00 PM
2022-10-16 15:09:01.006 GetArchiveData: Processing archive record for 16/10/2022 3:07:00 PM
2022-10-16 15:09:01.039 GetArchiveData: Page=0 Record=2 Timestamp=16/10/2022 3:07:00 PM
2022-10-16 15:09:01.043 DoLogFile: Writing log entry for 16/10/2022 3:07:00 PM
2022-10-16 15:09:01.043 DoLogFile: max gust: 14.5
2022-10-16 15:09:01.057 DoLogFile: log entry for 16/10/2022 3:07:00 PM written
2022-10-16 15:09:01.060 Writing today.ini, LastUpdateTime = 16/10/2022 3:07:00 PM raindaystart = 626.8 rain counter = 629
2022-10-16 15:09:01.062 GetArchiveData: Log file entry written
2022-10-16 15:09:01.071 DoExtraLogFile: Writing log entry for 16/10/2022 3:07:00 PM
2022-10-16 15:09:01.076 DoExtraLogFile: Log entry for 16/10/2022 3:07:00 PM written
2022-10-16 15:09:01.100 New all-time record: New time = 2022-10-16 15:07, new value = 629.000 "High 24 hour rain" prev time = 2020-12-22 19:39, prev value = 91.200
2022-10-16 15:09:01.123 New monthly record: month = 10: New time = 2022-10-16 15:07, new value = 629.000 "High 24 hour rain" prev time = 2020-10-09 01:12, prev value = 74.800
2022-10-16 15:09:01.132 Writing to Month.ini file
2022-10-16 15:09:01.134 End writing to Month.ini file
2022-10-16 15:09:01.169 Creating WU URL #1
2022-10-16 15:09:01.169 http://weatherstation.wunderground.com/ ... =updateraw
20221016-150846.zip
Kind Regards,

Re: error in 3122?

Posted: Sun 16 Oct 2022 9:35 am
by mcrossley
Oh dear it looks like fixing the rain rate has had an unintended consequence. I'll take a look later today. Meanwhile yes please revert.

Re: error in 3122?

Posted: Sun 16 Oct 2022 12:03 pm
by Simowrc
good morning

also to me with a fine offset - PCE FWS-20

I have the rain rate that remains stuck at 99 mm/h after upgrading to this release;
I have never had a problem before for this data, at the moment to allow the correct operation I had to downgrade to the previous release.

Re: error in 3122?

Posted: Sun 16 Oct 2022 3:24 pm
by sfws
mcrossley wrote: Sun 16 Oct 2022 9:35 am I'll take a look later today. Meanwhile yes please revert.
My strong suspicion is that the coding to deal with rain rate is now storing the value in "rainCounter" as the max 24-hour rain, I noticed that every minute an updated rogue extreme is stored everywhere (all-time.ini, monthly-all-time.ini, thisyear.ini, this month.ini, today.ini). That explains why each person who has reported the bug is seeing a different rogue figure.

The code should be using "rainCounter" now, minus the "rainCounter" in the recent history for (approximately) 24 hours earlier to derive the 24-hour rain, and track highest of that.

Anybody who does follow advice to move to earlier release should note that I had to edit "today.ini" while Cumulus was stopped to remove the incorrect max 24-hour rainfall. If a rollover has happened between installing 3.22.1 and going back to earlier release, it is also necessary to edit the most recent line of dayfile.txt and reload that file into RAM using the utility. Only then can you use the inbuilt editors to correct all the extremes, and I suggest clicking on the dayfile value and time-stamp in each editor to copy correct figures into extreme record tracking files.

Re: error in 3122?

Posted: Sun 16 Oct 2022 3:48 pm
by mcrossley
v3.22.2 now released to fix this bug.

Re: error in 3122?

Posted: Sun 16 Oct 2022 4:16 pm
by AndyKF650
Is it me or is there an issue with the v3.22.2 not showing up in the usual place?

Re: error in 3122?

Posted: Sun 16 Oct 2022 6:04 pm
by SamiS
Seems to me that forum banner and wiki are not updated, but the release announcement is published and the download is available from github.

viewtopic.php?p=166928#p166928

https://github.com/cumulusmx/CumulusMX/releases/

Re: error in 3122?

Posted: Sun 16 Oct 2022 7:24 pm
by freddie
Forum banner now updated - apologies for my tardiness :D

Re: error in 3122?

Posted: Sun 16 Oct 2022 8:43 pm
by water01
Corrected the link in the Wiki.

Re: error in 3122?

Posted: Sun 16 Oct 2022 9:08 pm
by mcrossley
Thanks David, I forgot this time.

Re: error in 3122?

Posted: Mon 17 Oct 2022 6:30 am
by BeaumarisWX
Hi Mark,
3213 Installed, thus far no noticed issues.
Thankyou for the great work.
Kindest Regards,

Re: error in 3122?

Posted: Mon 17 Oct 2022 6:43 am
by AndyKF650
Yes
All working just fine in Jersey.
Keep up the great work.