Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.0.2 build 3052 - 13 September 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Instructions: Installing CumulusMX on Raspberry Pi

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.

Moderator: mcrossley

freddie
Posts: 471
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by freddie » Sun 17 Feb 2019 4:34 pm

Installation just involves downloading the release zip file and extracting its contents into your Cumulus installation location. To be safe, I would make copies of your data folder, your web folder and your Cumulus.ini file first. There's no reason you can't just delete your existing installation and replace with the new - but if you're going to do that, make sure you take copies of the folders and file I just mentioned.
Freddie
Image

User avatar
odintheterrible
Posts: 63
Joined: Wed 16 Jan 2013 8:18 am
Weather Station: Aercus WS3083 Wireless
Operating System: Windows 10 64-bit
Location: Torre-Pacheco, Murcia, Spain

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by odintheterrible » Sun 17 Feb 2019 4:51 pm

Roger that !
Cheers :clap:
"Qui Custodit Ipsos Custodes ? ..."

Duct Tape is like 'The Force' ... it has a 'Light Side' AND a 'Dark Side' and it binds the Universe together !

benjy
Posts: 13
Joined: Mon 04 Feb 2019 5:06 pm
Weather Station: N96GY Maplin Fine Offset
Operating System: Raspbian OS on Pi3b+

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by benjy » Sun 17 Feb 2019 5:37 pm

Would the build still show as b3043 on the Cumulus software running in browser? Tried replacing it twice now and even got some weird data 940mm of rain today and last week was -10c

I just tried deleting the hole Cumulus folder on the pi with filezilla, but it will not completely delete due to the backup file in Cumulus folder. Any way I can force the deletion and just replace the Cumulus.ini file to get rid of the corrupt/inaccurate history data?

freddie
Posts: 471
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by freddie » Sun 17 Feb 2019 5:57 pm

It should show 3047.
The folder should be deletable. Was Cumulus still running at the time?
If you're not fussed about your data then just copy Cumulus.ini somewhere else, blow away your install, then unzip 3047 and copy Cumulus.ini into the new installation.
Freddie
Image

benjy
Posts: 13
Joined: Mon 04 Feb 2019 5:06 pm
Weather Station: N96GY Maplin Fine Offset
Operating System: Raspbian OS on Pi3b+

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by benjy » Sun 17 Feb 2019 6:20 pm

That's what I've done wrong Cumulus was running. Without messing up the auto boot instructions, if there a command to just stop cumulus running so I can replace the software reboot and it automatically start running again? Thanks Freddie.

freddie
Posts: 471
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by freddie » Sun 17 Feb 2019 7:25 pm

How do you start Cumulus? Do you use a start-up script? If so, which one?
Freddie
Image

benjy
Posts: 13
Joined: Mon 04 Feb 2019 5:06 pm
Weather Station: N96GY Maplin Fine Offset
Operating System: Raspbian OS on Pi3b+

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by benjy » Sun 17 Feb 2019 8:22 pm

I use the method in the first post on this thread by ExperiMentor. Which does say how to reboot with Cumulus not running, just I'm not confident in where to apply the text in the command line.

freddie
Posts: 471
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2
Operating System: GNU/Linux (Ubuntu 18.04)
Location: Dorrington, Shropshire
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by freddie » Sun 17 Feb 2019 8:31 pm

Okay so it looks like it is run from Cron on system start. If you edit the Cron table:

sudo crontab -e

and put a # at the start of the line "@reboot..."

Save the crontab and reboot.

When your pi restarts then Cumulus will no longer be running. You can then do your upgrade. Then edit the Cron table again by removing the # and saving. Then reboot and Cumulus will restart.
Freddie
Image

benjy
Posts: 13
Joined: Mon 04 Feb 2019 5:06 pm
Weather Station: N96GY Maplin Fine Offset
Operating System: Raspbian OS on Pi3b+

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by benjy » Sun 17 Feb 2019 11:09 pm

Deleted the CumulusMX directory and sub directory with backup files after stopping Cumulus MX process. Used 'sudo rm -rf Cumulus MX' command and it did the trick.

However after installing the new build and restarting Cumulus in pi, its still showing as build 3043 at the bottom of the browser screen. I have notice the new 'Edit' tab along the top which I presume was something added to the new build version. Tried another browser and still "Cumulus MX 3.0.0 b3043" The only file I have added to the new Cumulus directory is the Cumulus.ini file.

mitch1
Posts: 13
Joined: Mon 10 Dec 2018 11:21 am
Weather Station: Davis Vantage Pro2
Operating System: windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by mitch1 » Tue 05 Mar 2019 2:13 pm

Hi,
I have the latest version of Windows 10 and I am trying to operate Cumulus MX on the Raspberry Pi zero W.
I followed the instructions but when I plug the power into to pi no lights and my router cannot see the pi.
The strange thing is that the two new files SSH and wpa_supplicant.conf that i typed as per instructions are on the SD card on the PC but after putting the card into the pi and plugging in the power if i then look at the SD card again on the PC they have disappeared!?
I have typed my SSID and SSID password in between the quotation marks. Is this correct?

Any help on this would be much appreciated.

Kind regards john

mitch1
Posts: 13
Joined: Mon 10 Dec 2018 11:21 am
Weather Station: Davis Vantage Pro2
Operating System: windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by mitch1 » Fri 08 Mar 2019 7:59 am

My Raspberry pi Zero w was faulty. I purchased another one and everything is now working OK.

ExperiMentor
Posts: 90
Joined: Tue 24 Nov 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 10; Raspbian Buster
Location: Switzerland

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by ExperiMentor » Tue 19 Mar 2019 4:28 pm

mitch1 wrote:
Tue 05 Mar 2019 2:13 pm
The strange thing is that the two new files SSH and wpa_supplicant.conf that i typed as per instructions are on the SD card on the PC but after putting the card into the pi and plugging in the power if i then look at the SD card again on the PC they have disappeared!?
I have typed my SSID and SSID password in between the quotation marks. Is this correct?
Yes, it's correct to put your SSID and password in between the quotation marks.

Yes, it is expected that the two new files SSH and wpa_supplicant.conf disappear as soon as the Pi is booted for the first time. The Pi moves them from the Windows-visible directory to the place they really belong.

Glad you are sorted out (after replacing faulty hardware)

stef942
Posts: 19
Joined: Mon 19 Oct 2009 8:17 pm
Weather Station: WMR200
Operating System: raspi3
Location: France-oise

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by stef942 » Sat 20 Apr 2019 6:31 pm

thanks to this topic and his author, reinstalling cmx to last build was fast and easy.
this topic should be pinned in 1st page
My weather station at Ver sur Launette - France (live) : http://stef942.free.fr/CumulusMX/gauges.htm

prodata
Posts: 205
Joined: Sat 05 Feb 2011 7:13 pm
Weather Station: VP2
Operating System: Windows - all flavours
Location: Littleport, East Cambs, UK

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by prodata » Fri 14 Jun 2019 12:02 pm

Have an SD card that allows CMX to run OK on a Pi3B+. But the same SD card throws mono errors when trying to start CMX on a Pi0W.

I had it in my head that cards should be interchangeable between 3 and 0, but maybe that's not automatically true? Is there anything that I might have done wrong when preparing the SD card or, specifically, when installing mono? Maybe there's some particular aspect of mono configuration that requires mono to be installed on a Pi0 if it's to be used on a Pi0?
John Dann
Prodata Weather Systems
Littleport, East Cambs, UK
http://www.weatherstations.co.uk

water01
Posts: 1549
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by water01 » Fri 14 Jun 2019 12:35 pm

Since they are based on different CPUs I very much doubt the SD cards are interchangeable. I use Kodi on a PI3B and tried to use it on a Zero and had to load different versions of the software, so my guess is there is different support code for the Quad Core Arm Cortex to the Single Core Arm 1176.

Post Reply