Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Ironing out some problems
Moderator: mcrossley
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Ironing out some problems
So i just went through the tutorial, Instructions: Installing CumulusMX on Raspberry Pi and I'm pretty happy with the results.
I'm not sure if I misunderstand the concept so please bear with me. I start Putty and log into the pi, start Cumulus, data is logged, when the pc gets turned off I lose connection. I was under the impression that I use my pc to control the pi and once I started logging data on the pi I could turn the pc off and pi would continue to log data.
I must be missing a step or something. Appreciate your help.
I'm not sure if I misunderstand the concept so please bear with me. I start Putty and log into the pi, start Cumulus, data is logged, when the pc gets turned off I lose connection. I was under the impression that I use my pc to control the pi and once I started logging data on the pi I could turn the pc off and pi would continue to log data.
I must be missing a step or something. Appreciate your help.
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Ironing out some problems
wishmeluck wrote: ↑Sun 01 Mar 2020 1:01 am I could turn the pc off and pi would continue to log data
How do you check that MX isn't running and logging data? Via the dashboard from another pc?
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Re: Ironing out some problems
Either from my phone or when I check on the PC and check the dashboard there'll be a flat line in the data.billy wrote: ↑Sun 01 Mar 2020 2:55 amwishmeluck wrote: ↑Sun 01 Mar 2020 1:01 am I could turn the pc off and pi would continue to log data
How do you check that MX isn't running and logging data? Via the dashboard from another pc?
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Ironing out some problems
Anything in the diag file that indicates why it has stopped?
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
- billy
- Posts: 255
- Joined: Mon 30 Nov 2015 10:54 am
- Weather Station: WLL / Davis VP2+
- Operating System: RPi bullseye
- Location: Gooseberry Hill, Western Australia
Re: Ironing out some problems
In the folder mxdiags.
-
- Posts: 3253
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Ironing out some problems
I assume you are using SSH to log into your PI via Putty.
To leave processes running you have started using SSH you type Ctrl+A then Ctrl+D.
This should detach your screen but leave the processes running.
To leave processes running you have started using SSH you type Ctrl+A then Ctrl+D.
This should detach your screen but leave the processes running.
-
- Posts: 214
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Buster
- Location: Switzerland
Re: Ironing out some problems
Your understanding is correct. But that behaviour assumes you continue with my tutorial to the end and make the RPi automatically run Cumulus in the background. If you start Cumulus as a foreground task (ie, from the command prompt via SSH from Putty), the Cumulus process will stop when you disconnect Putty (either using the exit commend or closing the PC window).wishmeluck wrote: ↑Sun 01 Mar 2020 1:01 am So i just went through the tutorial, Instructions: Installing CumulusMX on Raspberry Pi and I'm pretty happy with the results.
I'm not sure if I misunderstand the concept so please bear with me. I start Putty and log into the pi, start Cumulus, data is logged, when the pc gets turned off I lose connection. I was under the impression that I use my pc to control the pi and once I started logging data on the pi I could turn the pc off and pi would continue to log data.
I must be missing a step or something. Appreciate your help.
water01 has suggested a different method - I have never used that and cannot verify that it will work (though it should - just may be confusing and will mean your setup no longer matches the tutorial)
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Re: Ironing out some problems
Thanks for this, I've just attempted to finish the tutorial to the end. Hopefully I've done it correctly. As a completely new Linux user I have to say I feel quite intimidated that I'm going to do something catastrophically wrong that I won't be able to fix so thanks for the help again.ExperiMentor wrote: ↑Sun 01 Mar 2020 8:29 am Your understanding is correct. But that behaviour assumes you continue with my tutorial to the end and make the RPi automatically run Cumulus in the background. If you start Cumulus as a foreground task (ie, from the command prompt via SSH from Putty), the Cumulus process will stop when you disconnect Putty (either using the exit commend or closing the PC window).
So after completing the tutorial, when I shut down the windows pc that I've been communicating via PuTTy with will keep the pi/WWL/Cumulus Mx connection intact?
Also one thing of interest to note, whenever I use the command
Code: Select all
sudo reboot
-
- Posts: 93
- Joined: Sun 02 Jan 2011 9:38 am
- Weather Station: Davis Vision-Vue
- Operating System: Raspbian Jessie
- Location: Stevenage, Herts, UK
Re: Ironing out some problems
The Pi has shut down/rebooted so has closed the connection, Putty is telling you this in a less than coherent way...wishmeluck wrote: ↑Sun 01 Mar 2020 4:25 pm Also one thing of interest to note, whenever I use the commandI get "PuTTy fatal error" remote side unexpectedly closed network connection". Is this because Pi reboots then I have to log in again via PuTTy to regain connectivity?Code: Select all
sudo reboot
Malcolm
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
North Herts, UK
http://elm30net.ddns.net
CumulusMX on Raspberry Pi4 B+ 2GB, running on Raspbian Buster booting from USB SSD
from a Davis Vantage Vue with VP2 ISS.
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Re: Ironing out some problems
Well I finished if the tutorial and about 4 hours later I list connection again. If anyone could give me the steps to pull the logs for info as to what happened that would be appreciated.
Or if you have a better idea that would be great also.
Or if you have a better idea that would be great also.
-
- Posts: 3253
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Ironing out some problems
If you are talking about the CumulusMx log they can be found in the MXDiags folder. They will be in date and time order so looking at the latest one will give you the info you want.
Did you try logging into the Pi with Putty, starting CumulsMX and then typing Ctrl+A then Ctrl+D to disconnect from the process and leave it running?
Did you try logging into the Pi with Putty, starting CumulsMX and then typing Ctrl+A then Ctrl+D to disconnect from the process and leave it running?
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Re: Ironing out some problems
Haven't tried that yet, I guess I just wanted to stick to the tutorial but maybe I'll give it a try. Thankswater01 wrote: ↑Sun 01 Mar 2020 9:06 pm If you are talking about the CumulusMx log they can be found in the MXDiags folder. They will be in date and time order so looking at the latest one will give you the info you want.
Did you try logging into the Pi with Putty, starting CumulsMX and then typing Ctrl+A then Ctrl+D to disconnect from the process and leave it running?
-
- Posts: 45
- Joined: Wed 26 Feb 2020 2:14 pm
- Weather Station: Davis VP2
- Operating System: Raspberry Pi
- Location: Vancouver Island
Re: Ironing out some problems
Well this didn't work either unfortunately.
Edit: I just realized I wasn't running the latest version of Cumulus. Somehow I installed 3064, is there any way this could be the cause?
- mcrossley
- Posts: 12763
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Ironing out some problems
No, I think the Ctrl-A, Ctrl-D combination is talking about using "Screen" - which is what I use.
You first must install screen - https://raspi.tv/2012/using-screen-with ... sions-open
You start a new screen session, start Cumulus in the normal way, then use Ctrl-A, Ctrl-D to disconnect from the Cumulus session. You can then close your SSH session.
If you want to reconnect, establish a new SSH session, type screen -r and you will Cumulus back on your putty session.
You first must install screen - https://raspi.tv/2012/using-screen-with ... sions-open
You start a new screen session, start Cumulus in the normal way, then use Ctrl-A, Ctrl-D to disconnect from the Cumulus session. You can then close your SSH session.
If you want to reconnect, establish a new SSH session, type screen -r and you will Cumulus back on your putty session.