But at startup (and likely at rollover, I'll see that tonight) I get the erroneous values back, this time only in the charts after a power failure (not recorded by my home system btw so it could also be a spontaneous reboot of the pi). So I fear that at rollover that value will actually propagate through everything again.
The big question is: where does that value (111.9 mm) come in the charts from?
It is not in the log, not in the records and currently I only find it in today.ini and yesterday.ini.
I do find it :
- In today.ini for High24h and HourlyHigh at the moment of the power dip
Code: Select all
[Rain] High=0 HTime=00:00 HourlyHigh=111.90000000000001 HHourlyTime=05:05 High24h=111.90000000000001 High24hTime=05:05 Start=3.3999999999999999 Yesterday=0 LastTip=2024-01-28 05:05 ConsecutiveRainDays=0 ConsecutiveDryDays=1 RG11Today=0 Midnight=3.3999999999999999 Last=3.3999999999999999 - In yesterday.ini for HourlyHigh (Note the 7:15 time of the peak i.s.o. 5:05 we see in today.ini)
Code: Select all
[Rain] High=0 HTime=00:00 HourlyHigh=111.90000000000001 HHourlyTime=07:15 RG11Yesterday=0 High24h=0 High24hTime=07:20
Code: Select all
2024-01-28 05:11:44.382 891 web tags initialised
2024-01-28 05:11:44.392 GetHistoricData: Starting Historic Data Process
2024-01-28 05:11:44.402 API.GetHistoricData: Get Ecowitt Historic Data
2024-01-28 05:11:44.412 API.GetHistoricData: Processing history data from 2024-01-28 05:01 to 2024-01-28 05:16...
2024-01-28 05:11:46.249 Processing data for 28-1-2024 05:05:00
2024-01-28 05:11:46.393 New all-time record: New time = 2024-01-28 05:05, new value = 111,900 "High daily rain" prev time = 2021-06-18 00:00, prev value = 45,600
2024-01-28 05:11:46.437 New monthly record: month = 01: New time = 2024-01-28 00:00, new value = 111,900 "High daily rain" prev time = 2023-01-04 00:00, prev value = 25,200
2024-01-28 05:11:46.502 Windrun: 7,9km/h for 5 minutes = 0,7km
2024-01-28 05:11:46.530 DoLogFile: Writing log entry for 28-1-2024 05:05:00
2024-01-28 05:11:46.559 DoLogFile: log entry for 28-1-2024 05:05:00 written
2024-01-28 05:11:46.562 Writing today.ini, LastUpdateTime = 28-1-2024 05:05:00 raindaystart = 3,40 rain counter = 115,30
2024-01-28 05:11:46.848 New all-time record: New time = 2024-01-28 05:05, new value = 111,900 "High hourly rain" prev time = 2024-01-27 07:15, prev value = 25,000
2024-01-28 05:11:46.876 New monthly record: month = 01: New time = 2024-01-28 05:05, new value = 111,900 "High hourly rain" prev time = 2024-01-27 07:15, prev value = 25,000
2024-01-28 05:11:46.918 API.GetStationList: Get Ecowitt Station List
2024-01-28 05:11:47.584 Starting Ecowitt Local API
2024-01-28 05:11:47.589 Starting Extra Sensors
That is interesting: how to correct that value (note: all values in CMX now seem correct for the moment but I really fear it all comes back at rollover time.
Any suggestion on how to remove that value from Ecowitt? Why does CMX take a record value from Ecowitt if it does through so much trouble keeping track of records. I think if CMX has no control over Ecowitt record values, it should not use them for setting records in CMX.
Anyway... how to deal with this?