Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.3.0 build 3063 - 10 January 2020.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

    Email notification when no update

    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
    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 » Thu 06 Sep 2018 4:46 pm

    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: 213
    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 » Sat 15 Sep 2018 9:28 am

    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: 130
    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 » Mon 24 Sep 2018 7:10 pm

    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