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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Instructions: Installing CumulusMX on Raspberry Pi

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Rylands
Posts: 54
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

You haven't really told us enough about your setup. The Davis and CumulusMX running on an RPi on your local network makes sense. But where is 'my webpage' running/hosted? Where is 'my server' running/hosted? And on what machine is the cron job running? I get the impression that at least some of these are remote on the web, rather than all on your RPi or on another local machine.
There doesn't appear to be any problems with the hosting - as the webpage is still up and running (I'm using a meteotemplate).

To try and troubleshoot, I am running Cumulus on a PC to test it out, but I'm guessing that perhaps I have an incorrect setting in my internet settings

When using FileZilla to ftp, I can see that my realtime.txt file is not updating. Directory structure where my web page files are, is public_html/eyesontheweathercom, and in Internet settings, I have a host name of eyesontheweather.com.au, and remote ftp directory public.html/eyesontheweathercom. I know that the username and password are correct, as I am using the same ones in Filezilla.

IF I can get this working, I'm going to reinstall Cumulus on the Pi, but want to make sure all settings are correct before I start.
And on what machine is the cron job running
I'm using a company called easycron to run the cronjob, and it's working perfectly every 60 seconds without fail.

The pi has been rebooted several times (power off, wait 30 seconds, power on)

Any further help appreciated.
User avatar
PaulMy
Posts: 3775
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by PaulMy »

I am not using RP1 but you are still trying on PC so attached is what I have.

The Host name is my IP address for my komokaweather.com hosting at GoDaddy
My root is public_html
My Cumulus FTP is to folder /cumulusmx
My site is http://www.komokaweather.com/cumulusmx
And http://www.komokaweather.com/cumulusmx/index.php


Enjoy,
Paul
FTP login.png
You do not have the required permissions to view the files attached to this post.
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by HansR »

Rylands wrote: Mon 16 Nov 2020 7:22 am I can see that the Pi is connected to my wifi network at address 192.168.1.24.
When I try to access Cumulus using 192.168.1.24:8998, I get a refused connection message.
When I try to login to the PI (using PuTTY or Filezilla) it doesn't connect. File states "FATAL ERROR: Network error: Connection refused", PuTTy says something similar.
Does anybody have suggestions on where to go to from here?
Did you try a cabled connection to connect with PuTTY? If that connects OK then it might be a hardware error in the wifi part.
Do you have a spare RPi?
Did you check the SD-card (how old is it, failing block etc...).
Etc...

(I assume you rebooted all parts involved in the network more than once: router, bridge (if any), PC, RPi)
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Rylands
Posts: 54
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

Putting aside the suggestions from below, and more troubleshooting in the last few hours. These steps are all running on a local version of Cumulus - not the version on my pi.

1. I need to transfer the realtime.txt file, and have this enabled in Cumulus (along with Enable Realtime, and Enable realtime.ftp)
2. My site is hosted at www.eyesontheweather.com.au. When I have this listed as my host name, and I use filezilla, I can see SOME files are being uploaded to my server (eg today.htm, yesterday.htm, index.htm). This is also confirmed when I look at the ftp log file. Hence it appears that ftp is working fine.

So can anybody hint at why the realtime.txt file isn't uploading? I have the following settings...

Web/FTP Settings (boxes checked are...)
Auto Update
Include Standard Files
Include Moon Image File
FTP rename
UTF-8 encoding
FTP logging
Upload interval 10
Enable realtime
Enable realtime FTP
Realtime.txt FTP
Realtimegauges.txt FTP
Realtime interval 30

Thanks for everybody's help and support so far.
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by rogerthn »

Rylands wrote: Sun 22 Nov 2020 11:03 am So can anybody hint at why the realtime.txt file isn't uploading? I have the following settings...
Please note that I've not read all your posts ;)
Do you have Connecting real time FTP in the "CumulusMX window"?
Have you tried to enable FTP logging?
With debug enabled I can see that Realtime is starting

Code: Select all

2020-11-17 17:53:12.960 FTP[0]: Attempting realtime FTP connect to host 192.168.9.66 on port 21
2020-11-17 17:53:13.658 FTP[0]: Realtime FTP connected
2020-11-17 17:53:13.658 Starting Realtime timer, interval = 10 seconds
Image
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by HansR »

@Rylands:
And please note also the CSS issue.

Code: Select all

12:23:55.507 The stylesheet http://www.eyesontheweather.com.au/weatherstyle.css was not loaded because its MIME type, "text/html", is not "text/css". 
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by HansR »

I don't understand which debug @rogerthn is looking at but if you look at the console you can see:
  1. There are no loads of the realtime.txt file
  2. there are errors on the site
  3. the realtimegauges.txt aren't loaded either with syntax errors in the javascripts somewhere.
I would say: some files have been edited.
Some work to do I assume.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
rogerthn
Posts: 489
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS bullseye aarch64
Location: Trollhättan Sweden
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by rogerthn »

Sorry, my bad.
The realtime start can be seen without debug.
From my last start of CumulusMX in MXdiags/20201027-190137.txt

Code: Select all

2020-10-27 19:01:50.686 FTP[0]: Attempting realtime FTP connect to host n.n.n.n on p
ort 21
2020-10-27 19:01:51.434 FTP[0]: Realtime FTP connected
2020-10-27 19:01:51.435 Starting Realtime timer, interval = 10 seconds
2020-10-27 19:01:51.436 Normal running
2020-10-27 19:01:51.436 Sending reset
2020-10-27 19:01:51.453 Start loop
PS
Start of your last realtime.txt
15/11/20 22:25:17
Image
Rylands
Posts: 54
Joined: Sun 03 May 2020 4:21 am
Weather Station: Davis VP2
Operating System: Windows 10

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Rylands »

Ok - So I'm trying to understand everything written here, and understanding half of it.

Is the best solution to simply reinstall Cumulus and all my web templates and start fresh?
User avatar
HansR
Posts: 5870
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bullseye
Location: Wagenborgen (NL)
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by HansR »

That is always worth a try if you don't mind doing that.

The realtime.txt file on your website has the timestamp of "15/11/20 22:25:17". So apparently something happened a week ago.
If you can, it would be worth to try to reconstruct what happened.
If you can't, yes, reinstall the whole thing may help assuming the problem is on the Cumulus-side (btw did you try to login via a wired connection?).

If you do, please backup the data directory and your ini-file. Also saving changes you made to the standard website or other things are worth saving.
You may want to check your ini file on correctness.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Feek
Posts: 106
Joined: Sun 08 Jan 2012 9:22 pm
Weather Station: GW1003
Operating System: Raspbian
Location: Kirby Cross, Essex, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Feek »

Right, I see there's an updated version of CumulusMX today. As this is the first time there's been an update since I set up my Pi last month, what's the official upgrade process please?
User avatar
Carbonara
Posts: 27
Joined: Mon 16 Nov 2020 10:27 pm
Weather Station: Davis and Ecowitt
Operating System: DietPi 7.5.2 ( debian bullseye)

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Carbonara »

suggestion for developers, add this trick on pre-built Raspberry Pi Image https://github.com/ecdye/zram-config to reduce the writing on the sd card, this helps to increase its life. ;)
User avatar
mcrossley
Posts: 12685
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by mcrossley »

Carbonara wrote: Mon 25 Jan 2021 10:22 pm suggestion for developers, add this trick on pre-built Raspberry Pi Image https://github.com/ecdye/zram-config to reduce the writing on the sd card, this helps to increase its life. ;)
The prebuilt image already has file links for all the temporary files to the temp RAM drive.
User avatar
Harry ITO
Posts: 4
Joined: Fri 05 Feb 2021 5:11 pm
Weather Station: DAVIS Vantage Pro2
Operating System: Raspbian 10.7
Location: Tokyo, Japan
Contact:

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Harry ITO »

I installed Cumulus MX v3.9.7 build 3107, 31-Jan-2021 into my Pi3B+.
After configured Cumulus web settings, I couldn't access to configuration web.

- Wrote RPi image file to my SD card
- Installed successfully, I could reach to http://<IP Address>:8998
- After I submitted my configuration; like as Station, Internet settings then I couldn't reach http://<IP Address>:8998
- Submission of setting was completed successfully, but after that I couldn't access to there

- I tried DNS, Fixed IP address and Wifi, wired ethernet as well
- Ping and SSH session to Pi ware no problem
- I flashed image file to new SD card a couple of time, but it caused same result
- CumulusMX service is Active
- Rebooted CumulusMX service, but couldn't fix it

pi@cumulusmx:~ $ sudo systemctl status cumulusmx
● cumulusmx.service - CumulusMX service
Loaded: loaded (/etc/systemd/system/cumulusmx.service; enabled; vendor preset: enab
Active: active (running) since Sat 2021-02-06 01:42:55 JST; 27s ago
Docs: https://cumuluswiki.org/a/Main_Page
Process: 389 ExecStart=/usr/bin/mono-service -d:/opt/CumulusMX CumulusMX.exe -servic
Main PID: 397 (mono)
Tasks: 10 (limit: 2062)
CGroup: /system.slice/cumulusmx.service
└─397 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -d:/opt/CumulusMX Cu
Cortmalaw
Posts: 92
Joined: Sat 26 Dec 2020 2:21 pm
Weather Station: Davis
Operating System: Raspbian
Location: Near Glasgow, Scotland, UK

Re: Instructions: Installing CumulusMX on Raspberry Pi

Post by Cortmalaw »

So, the response to

Code: Select all

sudo systemctl status cumulusmx
shows that CumnulusMX is running, because it contains the line:

Code: Select all

Active: active (running) since Sat 2021-02-06 01:42:55 JST; 27s ago
So the problem is that you cannot find the web interface.
Next clue is that that line also says CumulusMX has been running for 27 seconds, on Saturday 06 Feb at 01:42 [tomorrow morning]
But your post here is timed at 17:43 on Friday 05 Feb [today].

So either you have a TimeZone set wrongly (it says JST - are you in Japan??) , or else your RPi is not finding your WiFi at all (it need internet access to get the time - not sure what it does if doesn't find it, but may just take a guess?). If needed you can fix the TimeZone using

Code: Select all

sudo raspi-config
We now need to find out what IP address the RPi has, if it is connected to your WiFi at all

How did you enter the command

Code: Select all

sudo systemctl status cumulusmx
?
Either you have SSH (which means it is connected to your WiFi and you must know it's IP address?) or else you are using a keyboard/monitor and transcribed it manually? Which?

But either way, next thing to check is what IP address the RPi actually has. It must have changed - maybe your router has been resolving a conflict? You could ask your router, or use a utility like "Fing" or "Angry IP scanner" on your PC, but as you have access to the BASH prompt on the RPi, simplest will be to go there and tell us the output from these 2 commands:

Code: Select all

hostname -I
This should just print the IP address (and you can test it, adding the :8998 suffix). Then

Code: Select all

ifconfig
will give us more information if there's something wrong.

My suspicion is that something has caused the RPi to be given a different IP address to the one you expect, and even that isn't working properly.

Also worth trying might be to re-do the installation step where you edit (using your PC) the SD card file 'wpa_supplicant.conf'. You can go back and do that step again, making sure to make no typing errors. That file is the one that tells the RPi how to connect to your network. It needs 4 spaces (not a tab character) in each of the indented lines, and make sure that after 'network' and at the end you have used braces (curly brackets) { } and not parentheses ( ) or square brackets [ ].

Also, you haven't just moved the RPi away from your router so that it now has a bad connection? I suppose that could be a cause. Move it closer for now, but long term we can try forcing it to use the longer range 2.4GHz WiFi instead of 5GHz - that involves adding an extra line into 'wpa_supplicant.conf'

Anyway, there are some next steps
Post Reply