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
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
-
- Posts: 219
- Joined: Sun Jan 10, 2010 10:43 am
- Weather Station: WS2350
- Operating System: Raspberry Pi2 - Debian
- Location: Germany
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0
Version 2.5.5.0 is available [11.09.2017]
Sorry for being so late making this script Debian Stretch ready
* Fixing an output problem of the ip address and netmask on Debian Stretch when using the Status page
Instead of the IP Address, the word inet is being displayed in the status page
This also resultet, that the status page is stating that CumuluxMX is NOT Running
This is now fixed and compatible with Debian Jessie and Debian Stretch
(Attention: People who already using a cumulusmxsh.conf and updating from an earlier Version do NOT need to add new parameters or replace their existing cumulusmxsh.conf with the file in this update.
When running the script the first time, new Parameters will be added automatically to cumulusmxsh.conf)
New version is available in the first Post
Sorry for being so late making this script Debian Stretch ready
* Fixing an output problem of the ip address and netmask on Debian Stretch when using the Status page
Instead of the IP Address, the word inet is being displayed in the status page
This also resultet, that the status page is stating that CumuluxMX is NOT Running
This is now fixed and compatible with Debian Jessie and Debian Stretch
(Attention: People who already using a cumulusmxsh.conf and updating from an earlier Version do NOT need to add new parameters or replace their existing cumulusmxsh.conf with the file in this update.
When running the script the first time, new Parameters will be added automatically to cumulusmxsh.conf)
New version is available in the first Post
You do not have the required permissions to view the files attached to this post.
-
- Posts: 276
- Joined: Tue Apr 12, 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Debian Stretch (VMWARE Esxi 6.5)
- Location: Leicester
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Thank you, I was having inet problems with Debian Stretch. I'll be updating when I get a chance and be reporting back to let you know how I get on.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
-
- Posts: 219
- Joined: Sun Jan 10, 2010 10:43 am
- Weather Station: WS2350
- Operating System: Raspberry Pi2 - Debian
- Location: Germany
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Hello Richard
yes, I remember this...but unfortunately at that time I had not the chance to install the new debian...so I could not find a solution.
The main problem was, that the output of the "ifconfig eth0" in older debian verisons was different from the output in the new stretch version.
So my command to get the IP and netmask did not work anymore....but I found a new command which was unknown for me, to get just the ip address without any grep's and cut's which works on Debian Jessie and Stretch. (hostname -I did it)
but let me know if this still does not work for you
yes, I remember this...but unfortunately at that time I had not the chance to install the new debian...so I could not find a solution.
The main problem was, that the output of the "ifconfig eth0" in older debian verisons was different from the output in the new stretch version.
So my command to get the IP and netmask did not work anymore....but I found a new command which was unknown for me, to get just the ip address without any grep's and cut's which works on Debian Jessie and Stretch. (hostname -I did it)
but let me know if this still does not work for you
-
- Posts: 276
- Joined: Tue Apr 12, 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Debian Stretch (VMWARE Esxi 6.5)
- Location: Leicester
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Thank you, I will hopefully be doing it tomorrow.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
-
- Posts: 276
- Joined: Tue Apr 12, 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Debian Stretch (VMWARE Esxi 6.5)
- Location: Leicester
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
All working now mate, cheers.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
-
- Posts: 276
- Joined: Tue Apr 12, 2011 10:23 pm
- Weather Station: Watson W-8186
- Operating System: Debian Stretch (VMWARE Esxi 6.5)
- Location: Leicester
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Would this version work on Debian Buster 10.0 when it's released?
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!
-
- Posts: 298
- 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
Sionce I have not tested it yet, I can not say anything.
But, the problem between Debian Jessie and Stretch was not a problem with the bash script, only the output of one command was different (ifconfig)
And as long they do not change commands, I am sure, everything will work also with the next OS update
But, the problem between Debian Jessie and Stretch was not a problem with the bash script, only the output of one command was different (ifconfig)
And as long they do not change commands, I am sure, everything will work also with the next OS update
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
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767
-
- Posts: 9
- Joined: Thu Mar 28, 2013 5:29 pm
- Weather Station: AW WS-2080
- Operating System: Lubuntu
- Location: Brazil
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.4.0
slashmusic wrote:Version 2.5.5.0 is available [11.09.2017]
Sorry for being so late making this script Debian Stretch ready
* Fixing an output problem of the ip address and netmask on Debian Stretch when using the Status page
Instead of the IP Address, the word inet is being displayed in the status page
This also resultet, that the status page is stating that CumuluxMX is NOT Running
___cumulusmx____.jpg
This is now fixed and compatible with Debian Jessie and Debian Stretch
(Attention: People who already using a cumulusmxsh.conf and updating from an earlier Version do NOT need to add new parameters or replace their existing cumulusmxsh.conf with the file in this update.
When running the script the first time, new Parameters will be added automatically to cumulusmxsh.conf)
New version is available in the first Post
Hi Slash! Thanks for the script, it works like a charm and it very well written! I finally can control my station remotely via a SSH connection!
One thing I noticed is that IPADDRESS=$(hostname -I) was not populating my IP correctly. It was getting all the IPs of the machine (ipv4 [space] ipv6 [space] other ipv6s). This didn't affect the functionalities of the script but gave some error messages.
I fixed it just replacing the "$(hostname -I)" for my machine local fixed IP.
Just wanted to let you know in case this is something needs to be fixed/updated.
I'm running Lubuntu 16.04.3 LTS (Xenial Xerus) - 4.10.0-40 generic
Best regards!
-
- Posts: 219
- Joined: Sun Jan 10, 2010 10:43 am
- Weather Station: WS2350
- Operating System: Raspberry Pi2 - Debian
- Location: Germany
- Contact:
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Hello, Thank you very much for the advice
It looks like every Linxux operating system is displaying it's ip address different then others.
My Debian for example:
hostname --help
-i, --ip-address addresses for the host name
-I, --all-ip-addresses all addresses for the host
when using -i I am getitng 127.0.0.1
when using -I I am getting my IPv4
This is working for me, and I also have an IPv6 address on my Raspberry, but hostname -I is only displaying my IPv4 address.
Lubuntu seem to displaying all IP addresses
I am curious to know if this is working for you?
ip -f inet addr show eth0 | grep -Po 'inet \K[\d.]+'
It looks like every Linxux operating system is displaying it's ip address different then others.
My Debian for example:
hostname --help
-i, --ip-address addresses for the host name
-I, --all-ip-addresses all addresses for the host
when using -i I am getitng 127.0.0.1
when using -I I am getting my IPv4
This is working for me, and I also have an IPv6 address on my Raspberry, but hostname -I is only displaying my IPv4 address.
Lubuntu seem to displaying all IP addresses

I am curious to know if this is working for you?
ip -f inet addr show eth0 | grep -Po 'inet \K[\d.]+'
-
- Posts: 9
- Joined: Thu Mar 28, 2013 5:29 pm
- Weather Station: AW WS-2080
- Operating System: Lubuntu
- Location: Brazil
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
This one works, I just had to change to eno1 (my network adapter):
Best regards
Code: Select all
ip -f inet addr show eno1 | grep -Po 'inet \K[\.]+'
192.168.1.6
Best regards
-
- Posts: 11
- Joined: Sun Jan 15, 2017 10:10 pm
- Weather Station: WH1080
- Operating System: Raspian, Windows 7, Windows 10
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Hej guys...
Today I changed to connect my Pi from a Fritz.Box based on DSL to one based on Cable.
After restarting CumulusMX with the script, it always gives me this line at the start:
and then:
However, everything is working fine. Data are uploaded and there are no issues. I also rebooted the Pi a couple of times.
Does anyone know these things? Obviously, this is just depending on the fact that the Pi is now connect to another router.
Today I changed to connect my Pi from a Fritz.Box based on DSL to one based on Cable.
After restarting CumulusMX with the script, it always gives me this line at the start:
Code: Select all
nc: port number invalid: 2a02:8071:2bba:7f00:2518:70aa:1c3a:67ee
and then:
Code: Select all
CumulusMX is not listening on TCP Port: 8998 (http://192.168.178.124 2a02:8071:2bba:7f00:2518:70aa:1c3a:67ee :8998)
Maybe CumulusMX has not finnished to start yet or running on a different TCP Port then 8998.
Please wait additional 30 seconds and try again, If it still fail, restart CumulusMX to clearly start on TCP Port 8998 <(sudo) ./cumulusmx.sh -r>
However, everything is working fine. Data are uploaded and there are no issues. I also rebooted the Pi a couple of times.
Does anyone know these things? Obviously, this is just depending on the fact that the Pi is now connect to another router.
-
- Posts: 11
- Joined: Sun Jan 15, 2017 10:10 pm
- Weather Station: WH1080
- Operating System: Raspian, Windows 7, Windows 10
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
To answer my last post a bit. I just noticed that my new router is connceted via IPv6 and IPv4 is only set through DS-Lite. This seems to be the reason that the error is thrown up. But everything works fine...
-
- Posts: 2
- Joined: Sat Dec 31, 2016 2:04 am
- Weather Station: WH3081
- Operating System: Win7
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
Just want to say thanks.
This script is awesome.
Cheers
Chris
This script is awesome.
Cheers
Chris
-
- Posts: 9
- Joined: Wed Jan 17, 2018 8:39 pm
- Weather Station: WS3083
- Operating System: Jessie
- Location: Hampshire, UK
Re: CumulusMX - RaspberyPi - Start|Stop|Restart Script V2.5.5.0
FrontBottom wrote:Just want to say thanks.
This script is awesome.
Cheers
Chris
What he said ↑

I added this to my build last night, simplifies reboots considerably, many thanks to the author..
Chris
-
- Posts: 298
- 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
jnstllng wrote:To answer my last post a bit. I just noticed that my new router is connceted via IPv6 and IPv4 is only set through DS-Lite. This seems to be the reason that the error is thrown up. But everything works fine...
I will Look at this this Weekend, if it is possible to surpress IPv6 Output.
I also have a cable Connection with unitymedia but gladly an IPv4 Connection
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
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767
Who is online
Users browsing this forum: No registered users and 7 guests