Your station keeps locking up, and sending odd data. Cumulus is coping the best it can, but with rubbish input you tend to get rubbish output.
On the 18th CMX was started at 19:19, there was no history to read. It started running OK..
Until 19:33, when CMX received bad data that it ignored...
Code: Select all
2021-05-18 19:33:56.835 Ignoring bad data: pressure = 510.5
2021-05-18 19:33:56.835 offset = 22.6
2021-05-18 19:33:56.836 Ignoring bad data: gust = 407.5
2021-05-18 19:33:56.837 Warning: large difference in rain gauge tip count: 46639
After that from 19:34 onwards there was no response from the station until you stopped CMX at 09:09 in the 19th.
BUT, because the station was locked up and no data coming in, the midnight rollover processing for the 18th never happened.
On the 19th, when you started MX at 09:11, the station was reporting a rain counter value of 211.5. The counter value is read from the previous midnight entry in the dayfile. But because the rollover did not happen on the 18th, the only one it could use was the value from the 17th (which was 211.2), so 0.3mm from the 18th was recorded again on the 19th.
As the normal reading of the station stared, the rain counter jumped up 51816 ticks (15544.8 mm), it then stayed at this value, after 6 readings CMX adjusted it's internal counter to this new value until the log ends at 19:09.
What you need to do when you get a lockup is to perform a rollback to either the previous successful midnight backup, or the last time CMX was started. Then the missing rollovers will be completed using historic data from the station logger.
What might help you would be an option to shutdown CMX if it is in a Data Stopped condition for a period. I'll have a think about adding that capability.
However your station is locking up so frequently I think you need to seriously consider replacing it.