Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.14.0 (build 3159) - 04 December 2021

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

If you are interested in supporting Cumulus then maybe you would like to contribute to the maintenance of the Wiki? This need not take hours of your time - just a half hour here and there can make a big difference, particularly if many people are doing this. Any contributions are very welcome, whether they involve new content or editing of existing content. It will be very helpful to current and future users of Cumulus software if the Wiki is kept well-maintained and current. If you are interested then please contact forum user saratogaWX and ask for a Wiki account.

CumulusMX on Raspberry Pi 4B no data is transmitted

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

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi there,
I have a current CumulusMX installation (3.13.7 (build 3153) - 9 November 2021) on a Raspberry Pi 4B under Raspbian Buster.
Cumulus runs so far and finds my weather station (WH1080). However, no data is transmitted.
Two lines are displayed alternately in the terminal:
"Looking for Fine Offset station"
"Fine Offset station found"
I can't find any error logs even though I switched on logging.

Clould you please help me ?
Greetings, Holger
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

water01
Posts: 2317
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by water01 »

The MX logs are in a folder called MXDiags.

Zip up the latest .txt file and upload it to this Topic and we should be able to help.
David
Image

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi,

the error message is "Stream open failed" ...
But it finds the WH1080 Station.
What can I do ?
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

water01
Posts: 2317
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by water01 »

As per Mark's message in your other Topic viewtopic.php?p=158036#p158036 and my previous Reply you need to post the entire log in MXDiags not tell us what you have found in it because other lines in the log will give us better clues as to what is happening.
David
Image

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi,
I,ll do my very best, but Iam new in CumulusMX
Thanks for supporting me.

Here are all the Logfiles in CumulusMX
I´ll be online again later, have to go to work now.

MXdiags.zip
You do not have the required permissions to view the files attached to this post.
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

User avatar
mcrossley
Posts: 9245
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by mcrossley »

Are you running CumulusMX as a regular user, or under the root account or using sudo?

If a regular user could you try using sudo?...

> sudo mono CumulusMx.exe

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi mcrossley,

I started CumulusMX.exe with sudo. The program connected successfully on the first attempt.
If data were to be transferred now, that would be a surprisingly simple solution to my problem. I'll let this go on until tomorrow.
How did you come up with it ?

Thank you in advance, Holger
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

water01
Posts: 2317
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by water01 »

How did you come up with it ?


The standard instructions to start CumulusMX on a Linux installation say that it must be started by using "sudo" to give it root permissions. On Windows it must started with Administrator permissions.
David
Image

User avatar
mcrossley
Posts: 9245
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by mcrossley »

By default on Linux you must be a privileged user to access USB devices.

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi,
It works ! :D
CumulusMX finds the WH1080 and also saves data on the Raspberry's hard drive.
It is strange that a call with sudo mono/home/cumulusMX/CumulusMX.exe alone is not enough. With my Raspberry, the path must first be set with cd /home/cumulusMX, otherwise there will be problems with the paths. But it's not that bad, I'll write a script, then it should work.
Thank you all !

Can I set the path to the Cumulus directory somewhere in the parameters? Apparently the program remembers the paths.

Greetings, Holger
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

User avatar
mcrossley
Posts: 9245
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Buster Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by mcrossley »

You must set the working path to the CumulusMX folder before starting CMX interactively.

If you run it as a service, then that is done for you.

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hi mcrossley,
yes, OK.
I set the Working Directory with a script:

cd /home/CumulusMX
sudo mono /home/CumulusMX/CumulusMX.exe


Is there any possibility to set it from CumulusXM - Webinterface, or .ini or ...

Best regards Holger
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

freddie
Posts: 1569
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 20.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by freddie »

Easier to install as a service (systemd unit) rather than writing a script.
Freddie
Image

User avatar
inSight-er
Posts: 13
Joined: Tue 09 Nov 2021 3:39 pm
Weather Station: WH1080
Operating System: Raspbian Buster
Location: Nievenheim, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by inSight-er »

Hello, everyone,

so far everything looks very good and works. :D
Sometimes, however, after a restart, the web interface does not display any data, although it is available.
If I restart again, the display is fine again. Does anyone have an idea why this might be ?

Greetings, Holger
"Probleme kann man meist nicht mit derselben Denkweise lösen, durch die sie entstanden sind."

https://www.kollenbroich.com/Dashboard/ ... Weather.js

Gyvate
Posts: 65
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: Ecowitt GW1000/WH2650WiFi/HP2553
Operating System: Windows 7/10/11, Raspbian 11
Location: Saarbrücken, Germany
Contact:

Re: CumulusMX on Raspberry Pi 4B no data is transmitted

Post by Gyvate »

I recommend you enter a line in the crontab file (Linux scheduler) for startup of your RPi:

sudo nano /etc/crontab

in order to edit the crontab file - don't forget to save with CTRL-O 8-)

best to put that line as the first line, at least on top above the table and under the SHELL and PATH entries:
e.g.
# ------------- example of crontab with CumulusMX startup entry ----------------
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

@reboot root mount -t cifs -o username=Gast,password=xxxxxxxx //192.168.1.55/...............
@reboot root mount -t cifs -o username=Gast,password=xxxxxxxx //192.168.1.55/...............

# Start Cumulus as background task 30s after reboot (delay to allow WiFi to start up)
@reboot root (sleep 30;cd /home/pi/CumulusMX;sudo mono CumulusMX.exe) &


# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed
..........
# ------------------- end example -------------------

the path will of course depend on where you have installed CMX:
reading from your earlier post that would be /home/CumulusMX in your case

if your RPi connects to the network via WiFi, the missing delay might be the reason for your admin interface not showing data.

Post Reply