Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.2 build 3052 - 13 September 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

"data stopped" rollover problem

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

Post Reply
freddie
Posts: 495
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

"data stopped" rollover problem

Post by freddie » Thu 10 Oct 2019 11:02 am

Running MX build 3052 on GNU/Linux, attaching to a Davis Vantage Pro2.

Connection to the VP dropped this morning at 08:32 UTC. I didn't notice until 09:30 UTC. On noticing the problem I made sure that the device was present (ls -l /dev/ttyU*) and restarted MX. On checking in the interface it appeared that all was well when looking at the 3-day graphs (temperature, humidity, wind, etc.). However when I looked at the daily temperature and rainfall graphs I noticed that there were two entries for 9th October 2019.

As my rollover is at 09:00 UTC I suspected a problem in dayfile.txt, and sure enough there were two entries for the 9th. The first entry contained data for 09:00 on the 9th until 08:31 on the 10th. The second entry contained data from 08:32 on the 10th until 09:00 on the 10th. I inferred this from the max/min values of temperature and pressure.

Looking in MXDiags files for before the restart I could see that, despite the lack of data coming in, the end-of-day rollover still occurred at 09:00 UTC. Looking in MXDiags files for after the restart there was another end-of-day rollover when the missing data from 08:32 to 09:00 was extracted from the logger and processed. It looks as if this is the reason for the two entries for the 9th in dayfile.txt.

I remedied the situation by stopping MX, copying the backup data files from the daily backup made at 09:00 on the 9th to the data folder, and restarting MX. This gave a very good test of the changes made recently to the serial protocol code, as 25 hours of 1-minute logger data were extracted and processed very quickly and flawlessly. Thanks @mcrossley for these recent changes, as I would've probably lost a day of data from my records otherwise.
Freddie
Image

User avatar
mcrossley
Posts: 5685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: "data stopped" rollover problem

Post by mcrossley » Thu 10 Oct 2019 11:20 am

Go to know the the recovery worked.

The restart on data stopped option is still on Steve's "missing list" I reviewed the other day. This option would probably have avoided the false rollover.

I intend to try and implement some of the features from Cumulus 1 that have never been implemented in CMX, the next release will cross one of them off!

Post Reply