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.

Mono 4.0.2.5 packages now available for Raspbian

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

Moderator: mcrossley

jank
Posts: 319
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by jank » Sat 10 Oct 2015 7:32 pm

OKay, I am starting tio check my script on a "real" Debain Jessie.
I just updated my Debian wheezy to Debian jessy......maybe there is a difference.
I have no Idea, why the netcat command did not work, but maybe you can help me to solve the problem and findout why.

Please restart the Script manually that CumulusMX is really running.

1. insert this ommand and show me the output
nc -vz 127.0.0.1 8998 and nc -vz IP_ADDRESS 8998 (IP_ADDRESS is the real IP address of your Raspüberry Pi)

2. Did you have a WLAN Adapter plugged in or is it a LAN connection ?

So tomorrow, I wil lcheck a plain Debian jessie with my script.....and let you know
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

cirdan52
Posts: 24
Joined: Mon 02 Feb 2015 7:42 pm
Weather Station: Vantage Pro2
Operating System: Raspbian (jessie)
Location: Ohio
Contact:

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by cirdan52 » Sat 10 Oct 2015 7:40 pm

jank wrote:OKay, I am starting tio check my script on a "real" Debain Jessie.
I just updated my Debian wheezy to Debian jessy......maybe there is a difference.
I have no Idea, why the netcat command did not work, but maybe you can help me to solve the problem and findout why.

Please restart the Script manually that CumulusMX is really running.

1. insert this ommand and show me the output
nc -vz 127.0.0.1 8998 and nc -vz IP_ADDRESS 8998 (IP_ADDRESS is the real IP address of your Raspüberry Pi)

2. Did you have a WLAN Adapter plugged in or is it a LAN connection ?

So tomorrow, I wil lcheck a plain Debian jessie with my script.....and let you know

Thanks!
I'm running wireless wlan0
pi@raspberrypi ~ $ nc -vz 127.0.0.1 8998
Connection to 127.0.0.1 8998 port [tcp/*] succeeded!
pi@raspberrypi ~ $ nc -vz 192.168.1.141 8998
Connection to 192.168.1.141 8998 port [tcp/*] succeeded!

I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???

jank
Posts: 319
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by jank » Sat 10 Oct 2015 7:53 pm

cirdan52 wrote: Thanks!
I'm running wireless wlan0
pi@raspberrypi ~ $ nc -vz 127.0.0.1 8998
Connection to 127.0.0.1 8998 port [tcp/*] succeeded!
pi@raspberrypi ~ $ nc -vz 192.168.1.141 8998
Connection to 192.168.1.141 8998 port [tcp/*] succeeded!

I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???

Ahhh

okay, here is the reason why you are seeing these errors:
The script is trying to find out, the IP Address of the Raspberry Pi by using this command:
ETH0=$(ifconfig eth0 | grep 'inet ' | cut -d: -f2 | awk '{ print $1}')

As you can see, I am trying to get the IP from eth0 only. your wireles Adapter is using wlan0
I am usinfg the IP Address in the netcat command, to find out, if the Port configured in the head of the script is used:

CHECKPORT=$(nc -z $ETH0 $PORT;echo $?)

Since ETH0 = "ifconfig eth0" but your are using wlan0 . the IP address is never being retrieved and the netcat command will fail because the IP address is missing.

So I am currently working on the Script Version 2.2.6 and it would be a good Idea, to add a function to my script which is finding out, if eth0 or wlan0 is being used.
so please wait until 2.2.6 is being released which will fix this error
Once I started creating this Start/Stop Script I never thought that someone is using WLAN :geek:

But thanks, for the Bugreport
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

jank
Posts: 319
Joined: Sat 13 Jun 2015 5:57 pm
Weather Station: weatherstation
Operating System: Debian Wheezy
Location: Germany

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by jank » Sun 11 Oct 2015 11:00 am

cirdan52 wrote:I've got it running on port 8998 after numerous retrys so I don't know what is or isn't the problem...timing issues???
Hello Cirdan
I have a question: Since this Problem doesn't have anything to do with mono (this Forum Post) , but with my CumulusMX Start|Stop Script, I want to ask you, if we can move the further discussion of this Problem into the correct forum topic: http://sandaysoft.com/forum/viewtopic.p ... &start=120 and continue there?
I have some additional questions which may help me to fix a possible problem if users are using WLAN Module and starting CumulusMX when system starts ?
Unfortunately I don't have a Pi with WLAN Interface so I can not do tests and I would highly appreciate if you are available to make a test for me with htis Script?
Jan
Want to see your Station values on SSH? Cumulusnow http://sandaysoft.com/forum/viewtopic.php?f=27&t=14062
Want a Start|Stop|Restart Script for CumulusMX on RaspberryPi? cumulusmx.sh http://sandaysoft.com/forum/viewtopic.php?f=27&t=13767

JMGSE
Posts: 12
Joined: Sat 05 Aug 2017 8:45 am
Weather Station: WH1008
Operating System: Rasberian
Location: Odensvi Sverige
Contact:

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by JMGSE » Sat 14 Oct 2017 8:32 am

Hello

After a time, I was not at home I´m trying now get weatherstation work. I have a Fine Offset plugged in at a Raspberry PI 3 B with newest Raspberian.
Installation some is wrote above of mono and Cumulus MX downloaded yesterday.
I got now the following message
Current culture: German (Germany)
Serial: 038C5CA12919774262BFCE887D6597D4
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-10-14T10:23:30
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x008a0] in <8f2c484307284b51944a1a13a14c0266>:0
at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.String& release, System.String& machine) [0x00047] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.Version& release, System.String& machine) [0x00004] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00002] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
Not supported
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
14.10.2017 10:23:31
Type Ctrl-C to terminate
pi@vaexthus:~ $ lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=smsc95xx, 480M
|__ Port 2: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 10, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 3: Dev 11, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 1: Dev 9, If 0, Class=Mass Storage, Driver=usb-storage, 480M
|__ Port 4: Dev 12, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 5: Dev 6, If 0, Class=Vendor Specific Class, Driver=usbtouchscreen, 1.5M
If I look what is connected I see this
pi@vaexthus:~ $ lsusb
Bus 001 Device 006: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 008: ID 0e8f:00a5 GreenAsia Inc.
Bus 001 Device 012: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 011: ID 152d:2509 JMicron Technology Corp. / JMicron USA Technology Corp. JMS539 SuperSpeed SATA II 3.0G Bridge
Bus 001 Device 009: ID abcd:1234 Unknown
Bus 001 Device 007: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 004: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The weatherstation is known on the Raspberry

Wonder whats the error.

WBR
Jörg

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

Re: Mono 4.0.2.5 packages now available for Raspbian

Post by ExperiMentor » Fri 30 Aug 2019 7:59 pm

2 years on and I bet you didn't expect a response. Did you ever get it working?

I suggest you check:
Go to the Cumulus web interface / Settings /Station Settings
Make sure that station type is set to Fine Offset
Make sure that Serial port is set to /dev/ttyUSB0

If that doesn't work, I suggest you disconnect all the unrelated devices from your RPi until you work out what is wrong. You can surely do without the USB hub, serial adapters, SATA adapter, ethernet adapter and touchscreen?

My outputs with nothing connected except the Fine Offset weather station are much cleaner:

Code: Select all

pi@Cumulus:~ $ lsusb
Bus 001 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and

Code: Select all

pi@Cumulus:~ $ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M

Post Reply