Lost data after power failures
Posted: Sat 26 Nov 2016 3:14 pm
Firstly, if this has been addressed somewhere in the forum, please point me to the thread.
Running latest MX on a RasPi, getting its data via USB from a WMR200 weather station. All works fine.
Until one day, with a thunderstorm, my town lost power. No issue, as the whole setup is on UPS.
But then the UPS got drained and the RasPi lost power.
It was 14.8mm of rain that day, and although the WMR200 shows the rainfall, Cumulus isn't aware of the rain. Monthly total is missing that precipitation (but not sure about the yearly total).
I can only presume (and please correct me Steve and programming guru's) - the dayfile was still open, the rain data was added to the live/open file, and when the power went, that was not saved to the drive, this got lost.
Any current work around for the problem? Supposedly the catch-up feature should have gotten the data, but I noticed that's still in development. My daft plan was to schedule the CumulusNOW script to restart MX every 5 minutes past the hour, hoping to commit the data to file and loose less data.
And how do I enter the 14.8mm rainfall data of several days ago into the logs?
Appreciate the software, your help and pointers!
Running latest MX on a RasPi, getting its data via USB from a WMR200 weather station. All works fine.
Until one day, with a thunderstorm, my town lost power. No issue, as the whole setup is on UPS.
But then the UPS got drained and the RasPi lost power.
It was 14.8mm of rain that day, and although the WMR200 shows the rainfall, Cumulus isn't aware of the rain. Monthly total is missing that precipitation (but not sure about the yearly total).
I can only presume (and please correct me Steve and programming guru's) - the dayfile was still open, the rain data was added to the live/open file, and when the power went, that was not saved to the drive, this got lost.
Any current work around for the problem? Supposedly the catch-up feature should have gotten the data, but I noticed that's still in development. My daft plan was to schedule the CumulusNOW script to restart MX every 5 minutes past the hour, hoping to commit the data to file and loose less data.
And how do I enter the 14.8mm rainfall data of several days ago into the logs?
Appreciate the software, your help and pointers!