Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.7.0 (build 3089) - 28 July 2020 (please see important announcement regarding releases since 3.5.0)
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of the NOAA report and Snow Index drop-down menus to 2030)

Use this link to Download the Software (Cumulus MX / Cumulus 1 and other related items). Software

Email notification when no update

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

Post Reply
User avatar
Posts: 70
Joined: Thu 24 Feb 2011 7:45 pm
Weather Station: WS-2350
Operating System: Raspberry Pi 2
Location: Slovenija

Email notification when no update

Post by vpokroglo »

Hello. Is there any script for raspberry pi, which is monitoring if cumulus is working correctly. Many times i get lost signal to weather station or cumulusMX doesn't get data for some other reason. Most often I must restart RPI to get it working back. So if i do not check my website time to time i lost many data, so an email notification when no data from station would be fine.
Now i am curious how are you dealing with this problem? Target files are realtime.txt and CUtags.php.


Posts: 205
Joined: Tue 28 May 2013 1:06 am
Weather Station: Davis VP2
Operating System: Raspian Jessie
Location: Tulsa, OK

Re: Email notification when no update

Post by BigOkie »

The title of the post is for something else (although for you it might also be helpful) but further into the thread I discuss how to handle this. Make sure you read the whole thread before you invest in working it though. Some valuable evolution to the method used for this happens during it.


Posts: 199
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset & Davis Vantage Vue
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Email notification when no update

Post by ExperiMentor »

Instead of just getting an email, this should automatically restore the Pi even if you're not there!

Try the following - just make your Raspberry Pi reboot each day, or amend to make it reboot every few hours depending on what is needed. You should investigate and fix whatever is making it crash though.

To make Cumulus run each time the Pi is rebooted (and force reboot in the early hours each day)
On the Pi, type:

Code: Select all

sudo crontab -e
On first run select the text editor you prefer (defaults to #2, nano)
Then add the following lines at the end of the file:

Code: Select all

# Start Cumulus as background task 30s after reboot (delay to allow WiFi to startup)
@reboot (sleep 30;cd /home/pi/CumulusMX;sudo mono CumulusMX.exe) &

# Reboot each day at 0253
53 02 * * * sudo reboot
If you want to access the Pi without Cumulus running, simply log in, then sudo crontab –e, then add # before @reboot so that that line is ignored ‘commented out’. Then sudo reboot. Remove the # again for normal operation.

Post Reply