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 4018) - 28 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

MX 3043 Issues

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

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: MX 3043 Issues

Post by rogerthn »

vagos wrote: Done!!!, is there a way to identify if I have successfully managed to create a new screen? If I press Ctrl+A+D there is no notification. It just works.
screen will tell you if it fails to create a new screen

I do agree with Steve, /boot is NOT a good place for any application!
I do use /home/pi/CumulusMX and I start it at boot as below.
The script /home/pi/CumulusMX/start_CumulusMX.sh as below.

Code: Select all

#!/bin/bash
/bin/sleep 69
cd /home/pi/CumulusMX
sudo mono CumulusMX.exe
Do not forget

Code: Select all

chmod +x /home/pi/start_CumulusMX.sh
Then a crontab entry

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/start_CumulusMX.sh
Image
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

If I insert the sd card to win10 environment I can only "see" boot folder.

Nothing else. Is there a way of browsing the other folders inside sd card?
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: MX 3043 Issues

Post by rogerthn »

vagos wrote:If I insert the sd card to win10 environment I can only "see" boot folder.

Nothing else. Is there a way of browsing the other folders inside sd card?
Wintendo can only see the first partition on "removables"

Try ftp software with sftp support, FileZilla used to be my choice while other prefere WinSCP.
Once installed connect to the Raspberry IP using sftp

Edit:
OR
Move all CumulusMX-files from /boot to /home/pi/CumulusMX
Image
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

Thanks again, since during week working days my free time is very limited I have not reported back.

After 2 days of continuous operation I have managed to get this error from 16:00 yesterday.

error reading data from station it may need reseting

Cumulus is normaly reporting but it cannot get data from station.

Since I'm currently away, I have only rebooted Rpi and my girlfriend removed and installed back the usb cable.

With no luck unfortunately. Any way to overcome this issue? Anything I can do with Cumulus Dashboard?
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

I have rebooted the station in total.

Works again.

I have also enabled

"Synchronise Fine Offset reads"

Work around for Fine Offset console USB lockup problem

Question: The clock on the station has anything to do with Cumulus logging time stamp?

I'll revert back with feedback
User avatar
mcrossley
Posts: 12695
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MX 3043 Issues

Post by mcrossley »

vagos wrote:Question: The clock on the station has anything to do with Cumulus logging time stamp?
No.
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

rogerthn wrote:
vagos wrote: Done!!!, is there a way to identify if I have successfully managed to create a new screen? If I press Ctrl+A+D there is no notification. It just works.
screen will tell you if it fails to create a new screen

I do agree with Steve, /boot is NOT a good place for any application!
I do use /home/pi/CumulusMX and I start it at boot as below.
The script /home/pi/CumulusMX/start_CumulusMX.sh as below.

Code: Select all

#!/bin/bash
/bin/sleep 69
cd /home/pi/CumulusMX
sudo mono CumulusMX.exe
Do not forget

Code: Select all

chmod +x /home/pi/start_CumulusMX.sh
Then a crontab entry

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/start_CumulusMX.sh

With some reading and your instructions I have managed to create a script file but the crontab entry doesnt seem to work correctly.

If I call the script it works. Could you please clarify what -fa -d -m means?

I assume -d -m -S creates a new screen in detached mode. What about -fa?

I have noticed that the service runs for a little but then stops. (No active connection to the dashboard)

Thanks again
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: MX 3043 Issues

Post by rogerthn »

From

Code: Select all

man screen
-f, -fn, and -fa turns flow-control on, off, or "automatic switching mode". i.e. -fa automatic switching mode
-d -m Start screen in "detached" mode.

Maybe you could try to reboot, within 1 minute logon and do

Code: Select all

screen -r Cumulus
Image
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

ok thnx,

why if I call the script it runs but when I run it via crontab entry it doesn't?

Is there anything else to do?

Just to note: that I have enabled auto login via raspi-config. Does it do any harm to the crontab?

Another note is that I have a clear installation of jessie lite, the CumulusMx is now on Pi folder, with static ip, auto user login, script enabled and given su access.
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: MX 3043 Issues

Post by rogerthn »

Did you try screen -r Cumulus within a minute?
You could try to modify start_CumulusMX.sh as below to check how long it is running

Code: Select all

#!/bin/bash
echo staring $(date) > /home/pi/start_CumulusMX.log
/bin/sleep 69
echo Slept $(date) >> /home/pi/start_CumulusMX.log
cd /home/pi/CumulusMX
echo cd done $(date) >> /home/pi/start_CumulusMX.log
sudo mono CumulusMX.exe
btw, you can also try screen -r Cumulus after more than one minute
The screen should be there
Image
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

Recaping

1)My installed directory is home/pi and then CumulusMX without any folder (made all the proper corrections from your suggested code

2)I have created a cumu.sh file as script file

inside i have pasted

Code: Select all

#!/bin/bash
echo staring $(date) > /home/pi/start_CumulusMX.log
/bin/sleep 20
echo Slept $(date) >> /home/pi/start_CumulusMX.log
cd /home/pi/
echo cd done $(date) >> /home/pi/start_CumulusMX.log
sudo mono CumulusMX.exe
the file start_CumulusMX.log ok, what it logs?

3) By running the script only

Code: Select all

sudo ./cumu.sh 
its working but without logging

4) Getting the entry inside crontab

Code: Select all

sudo nano /etc/rc.local
and then pasting your code before return (0)

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
Results.

After reboot the script doesnt run. Neither

Code: Select all

screen -r Cumulus
returns a screen.

Thats my progress up to now
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: MX 3043 Issues

Post by rogerthn »

vagos wrote:Recaping
.
.
.

Code: Select all

sudo nano /etc/rc.local
and then pasting your code before return (0)

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
Results.

After reboot the script doesnt run. Neither

Code: Select all

screen -r Cumulus
returns a screen.

Thats my progress up to now
aha
Remove

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
from /etc/rc.local
Then as user pi

Code: Select all

crontab -e
and paste

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
/etc/rc.local
Image
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

Deleted the entry from

Code: Select all

sudo nano /etc/rc.local
geting the entry

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
to

Code: Select all

sudo nano /etc/crontab -e
same thing. Nothing happens :groan:, again no screen to recover

Code: Select all

screen -r Cumulus
jlmr731
Posts: 225
Joined: Sat 27 Aug 2016 12:11 am
Weather Station: Davis vantage pro 2
Operating System: Debian
Location: Wickliffe, Ohio
Contact:

Re: MX 3043 Issues

Post by jlmr731 »

vagos wrote:Deleted the entry from

Code: Select all

sudo nano /etc/rc.local
geting the entry

Code: Select all

@reboot /usr/bin/screen -fa -d -m -S Cumulus $HOME/cumu.sh
to

Code: Select all

sudo nano /etc/crontab -e
same thing. Nothing happens :groan:, again no screen to recover

Code: Select all

screen -r Cumulus

crontab is a application.
when you did

Code: Select all

sudo nano /etc/crontab -e
you made a file named "crontab" in the /etc directory or edited it if it was already there

Try as your normal user log in run

Code: Select all

crontab -e
then it will bring you into the crontab editor and then enter your commands you need to run
vagos
Posts: 20
Joined: Thu 19 Jan 2017 3:19 pm
Weather Station: WS3083 Aercus Instruments
Operating System: Win10 + Rasrpian (Rpi1)

Re: MX 3043 Issues

Post by vagos »

Thank you Jeff.

Well

Code: Select all

sudo crontab -e
inside there i got the attached image
Ctrl+O
Ctrl+X

rebooting and nothing again.

PS: Small correction the path is $HOME/pi/cumu.sh

corrected on the crotab -e but still doesnt work
You do not have the required permissions to view the files attached to this post.
Locked