Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Newbie to Linux Please be gentle! CumulusMX R-Pi Startup?

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
tony_huk
Posts: 2
Joined: Fri 04 Dec 2015 12:38 am
Weather Station: Oregon WMR200A
Operating System: Windows 10, Raspberry Pi 2
Location: Easton, PA, USA

Newbie to Linux Please be gentle! CumulusMX R-Pi Startup?

Post by tony_huk »

My apologies if this has been asked and answered in another post, but I couldn't find one...

I'm a Linux newbie, and wanted to experiment with CMX running on a Raspberry Pi 2 I purchased specifically for this application.

I managed to get it installed and running without issue, but I'm at a loss on how to set it up so that CMX will auto-run upon reboot or startup.

I thought to add the startup command to the /etc/rc.local startup script, but apparently that doesn't work the way I 'expect' it should.

I am fortunate to have a RT Clock on my Pi, so I don't think I have to deal with startup delay scripts, etc.

Can anyone make a recommendation? I'm thinking that I would like to set an ENVIRONMENT variable as well, so the start and stop can happen from any directory, not just being in the actual location (which is currently in /home/pi/CumulusMX)

Thank you!!!!
User avatar
logjam
Posts: 172
Joined: Fri 30 Nov 2012 8:01 pm
Weather Station: Homemade station on Raspberry Pi
Operating System: Raspbian on Raspberry Pi
Location: North Lincolnshire, UK
Contact:

Re: Newbie to Linux Please be gentle! CumulusMX R-Pi Startup

Post by logjam »

I think this thread may point you in the right direction.
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=13767
tony_huk
Posts: 2
Joined: Fri 04 Dec 2015 12:38 am
Weather Station: Oregon WMR200A
Operating System: Windows 10, Raspberry Pi 2
Location: Easton, PA, USA

Re: Newbie to Linux Please be gentle! CumulusMX R-Pi Startup

Post by tony_huk »

Yes, I saw that pop up after I posted my question...

I will try that... And thanks for your reply!
jank
Posts: 239
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: FineOffset WS3080
Operating System: Debian Buster - Raspbian - Raspb
Location: Germany - nearby Kassel

Re: Newbie to Linux Please be gentle! CumulusMX R-Pi Startup

Post by jank »

Without making advertisement to my own scirpt, you have 2 options to do this
Create a new cron Entry

sudo crontab -e
@reboot sudo /usr/bin/mono /home/pi/CumulusMX/CumulusMX.exe -lang en-GB >> /dev/null 2>&1


Never tried it that way, but it should work
Or use the script mentioned in logjam's post. This script is more than just a Start Stop Script.
My main intention some month ago was, to improve my bash skills and having a script which is able to start CumulusMX if not already started and stop it when already started.
Finally more and more functionallity was added......try it out.....call it with option -h (./cumulusmx.sh -h to see the available options)

Btw:
You can of course use this script to start CumulusMX when System starting up
@reboot sudo /CumulusMX/cumulusmx.sh >> /dev/null 2>&1
Have fun
Jan
Do want a Managing Dashboard for CumulusMX on RaspberryPi? cumulusmx.sh
viewtopic.php?f=40&t=17907
Image
Locked