Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.9.1 (build 3096) - 31 October 2020 (please see announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this Wiki link to Download the Software (Cumulus MX / Cumulus 1 and other related items).

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: 16
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: 2278
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2+ Cumulus1 / CummulusMX
Operating System: Windows8 / 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.

User avatar
HansR
Posts: 1535
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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)
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

Rylands
Posts: 16
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: 311
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
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: 1535
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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". 
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
HansR
Posts: 1535
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

User avatar
rogerthn
Posts: 311
Joined: Thu 11 Apr 2013 6:31 pm
Weather Station: Ecowitt GW1000/GW1003
Operating System: Raspberry Pi OS Lite Buster
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: 16
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: 1535
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: Davis Vantage Pro 2+
Operating System: Raspbian GNU/Linux 10 (Buster)
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.
https://meteo-wagenborgen.nl / Cumulus 3.9.1 (build: 3096)
Davis Vantage Pro 2+ / Raspberry Pi 3 Model B Plus Rev 1.3
Raspbian Buster / 5.4.51-v7+ armv7l
Mono JIT compiler version 6.12.0.90 (tarball Fri Sep 4 14:21:54 UTC 2020)

Post Reply