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.
andrea_iw2ntf
Posts: 3
Joined: Fri Aug 17, 2018 8:11 pm
Weather Station: Davis VP2
Operating System: Raspbian

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

Postby andrea_iw2ntf » Thu Aug 30, 2018 4:01 pm

ok, tnx

this is the result...
You do not have the required permissions to view the files attached to this post.

jank
Posts: 302
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 » Thu Aug 30, 2018 5:15 pm

Hello, looks like pgrep isn't working on your Raspberry (as expected)
can you check:
pgrep -v
pgrep -ia mono
pgrep -ia cron


and also pgrep -v mono did you see many PID's (don'tpaste them here....a simple yes/no would be enough :-)

I assume the command: pidof mono is showing the correct PID ?

If the command pidof mono is showing the correct PID you can simply modify the script at line 155 by changing the line from:
MONOPID=$(pgrep mono && echo)
into
MONOPID=$(pidof mono)
This is less complicated then using pgrep ....not sure, why I used pgrep instead of pidof.

anyways, let me know if you did not feel confortable to change a line in the code of the script, in this cae, I can send you a modified file ?
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

andrea_iw2ntf
Posts: 3
Joined: Fri Aug 17, 2018 8:11 pm
Weather Station: Davis VP2
Operating System: Raspbian

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

Postby andrea_iw2ntf » Thu Aug 30, 2018 7:42 pm

WOW

now it works properly! It was in line n. 188.

PID is displayed correctly

I attach the file

It could be called script V2.5.5.1

tnx! Andrea iw2ntf
You do not have the required permissions to view the files attached to this post.


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 5 guests