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 4019) - 03 April 2024

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

Lost data after power outage

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
User avatar
GlueGuy2
Posts: 49
Joined: Fri 16 Jan 2015 5:39 pm
Weather Station: Davis Vantage Pro2
Operating System: Linux Buster
Location: US - California

Lost data after power outage

Post by GlueGuy2 »

We had a power outage today, and I noticed that we lose accumulated rain for the day when that happens. We run MX on a raspberry pi, and that seems to work just fine. It's on a battery backup, so it keeps running. Likewise, our Davis Vantage Pro2 has a battery that allows it to keep running. Unfortunately, the network in between does not run when the power is out. The problem is that we lose the rain data (at least) that accumulated before the outage. Is there a setting or something in the .ini that allows MX to retrieve whatever data may or may not exist prior to the restart?

Attached PNG shows what I'm talking about regardless of the inelegance of my words.
Cumulus_data_reset_after_power_cycle-edit.png
You do not have the required permissions to view the files attached to this post.
bp
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Lost data after power outage

Post by steve »

MX currently doesn't handle the connection between it and the station going down very well - there is a very recent thread about this, as it happens. Until such time as I am able to write the code to handle it, your best approach would be to detect the data flow stopping and closing MX - someone else has written a script to do this or something very similar, there is a thread somewhere in the MX section about this.
Steve
glennpm
Posts: 55
Joined: Sat 17 Dec 2016 1:31 pm
Weather Station: Davis Vantage Vue
Operating System: Windows 10
Location: Wiscasset, Maine USA

Re: Lost data after power outage

Post by glennpm »

Hi,

I'm having the same lost power problem and found this thread which I just posted to:

https://cumulus.hosiene.co.uk/viewtopic.p ... 84#p122384
glennpm wrote:Hi Vildan,

I am having a similar problem with power outages. Once power is out, MX will not restart. When I restart it manually, the historical, archive data is not being read correctly or piecemeal. An example was yesterday morning when power was lost after midnight. I restarted MX, it said that the archive was being read, but the low temperature for the day which occurred two hours earlier, was not recorded. The Today and Yesterday readings are now wrong.

I am running Meteobridge. It picks up the Davis Vantage Vue data and wirelessly transmits it to the weather sites. When I connect MX it is also a wireless connection through Meteobridge. Weatherlink 6.3 read the archive data and displayed the low temperature correctly by the way.

I would like to try your script. Could you please post here the version you are now using? Are you running the bat file as a scheduled task In Windows 7 or how please?

Glenn
Locked