Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
jank
Posts: 300
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby jank » Wed Jan 24, 2018 6:56 pm

wwuk wrote:
FrontBottom wrote:Just want to say thanks.

This script is awesome.

Cheers
Chris


....., many thanks to the author..

Chris


Thanks Chris&Chris, your are welcome
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

tait97
Posts: 1
Joined: Sun Mar 11, 2018 5:08 pm
Weather Station: WeatherDuino Pro2 PLUS
Operating System: Raspberry

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby tait97 » Sun Mar 11, 2018 11:11 pm

Just want to say thanks.

This script is awesome. :clap: :clap: :clap: :clap:

malmeida
Posts: 36
Joined: Thu Oct 06, 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby malmeida » Tue Mar 20, 2018 9:58 pm

I have updated Script version but now when I use sudo ./cumulusmx.sh -s, it says:
nc: port number invalid: x,x,x,x
and:
CumulusMX is not listening on TCP Port: 8998

malmeida
Posts: 36
Joined: Thu Oct 06, 2016 7:16 pm
Weather Station: Maplin N96FY
Operating System: Raspbian

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby malmeida » Fri Apr 06, 2018 10:52 am

Anyway, when I access port number:8998 I can see the dashboard. It seems it has no effect.

cdvreede
Posts: 1
Joined: Wed Apr 11, 2018 11:22 am
Weather Station: 1080
Operating System: Pi

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby cdvreede » Thu Apr 19, 2018 10:49 am

need some help here. Finally got "MX" running on a Pi2 hooked up to a 1081 via USB. Of course I had to use Wheezy as OS and one of the last 3.xx versions of Mono to get it going. Running now under a SSH session but while it's without a screen it's not yet really headless and set-and-forget.
I understand that this script will autostart?? If so can someone give me simple instructions on how to get that going?? my setup is standard - user Pi and I run by first going to /cumulusmx and then Sudo Mono CumulusMX.exe. Runs rock stable through SSH but really want this to be an appliance and reserve SSH for any maintenance.

Anyone out there let me know what to do??

thnx

jank
Posts: 300
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby jank » Fri Apr 27, 2018 1:14 pm

cdvreede wrote:Anyone out there let me know what to do??thnx


Hello, at least reading the first post of this topic might help and should be the basics for more questions about this.
In short words: You can use the Linux program called "screen" to start CumulusMX and move it into the background and logout form the PI.
But since this is not so easy, I wrote this bash script which is able to handle all CumulusMX related via simple menu options.
So first you should read the first post and downlaod the cumulusmx.sh Start|Stop Script
Jan
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

ExperiMentor
Posts: 31
Joined: Tue Nov 24, 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby ExperiMentor » Sun May 06, 2018 10:38 pm

Here is a much easier method .... This gives a totally headless Pi (Pi Zero W is best...), accessed only using SSH (PuTTY).
If you need instructions how to set up an SD card so that a headless Pi connects to your WiFi, reply below and I'll add instructions.

Use cron to start CumulusMX.exe as a background task (that's the & at the end of the line)
And I also use cron to do a daily reboot in the early hours (just in case anything went wrong)...

Then when you want to STOP Cumulus, just edit cron to comment out the line which starts Cumulus (ie temporarily put a # at the beginning) and do a sudo reboot

that is:
crontab -e
.... and add the following lines at the end: adjust directory name eg to CumulusMX as needed
# Start Cumulus as background task 30s after reboot (delay to allow WiFi to startup)
@reboot (sleep 30;cd /home/pi/Cumulus;sudo mono CumulusMX.exe) &

# Reboot each day at 0258
58 02 * * * sudo reboot

When you want to stop Cumulus:
crontab -e
.... add the # as shown here in red:
# Start Cumulus as background task 30s after reboot (delay to allow WiFi to startup)
# @reboot (sleep 30;cd /home/pi/Cumulus;sudo mono CumulusMX.exe) &

sudo reboot
.... and the RPi will restart without running Cumulus.

Don't forget to remove that # from crontab or else it will not restart at 0258 tomorrow :)

jank
Posts: 300
Joined: Sat Jun 13, 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby jank » Tue May 15, 2018 2:39 pm

Yes, the above things are similar to the things the Start|Stop Script is doing, but the script offers a lot more more things (./cumulusmx.sh -h).
As far as I remember the "@reboot" does not work anymore in Debian Jessie and above ......
But anyway .....only with CRON entries it is also possible to use CumulusMX on a Raspberry Pi....
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

ExperiMentor
Posts: 31
Joined: Tue Nov 24, 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0

Postby ExperiMentor » Tue May 15, 2018 3:33 pm

jank wrote:As far as I remember the "@reboot" does not work anymore in Debian Jessie and above ......


@reboot works fine on every version of Raspbian that I have ever tried.
It certainly works on the current release, which is RASPBIAN STRETCH based on Debian Stretch.


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 7 guests