Page 1 of 3

CumulusMX gets no connection to Wh1080

Posted: Tue 08 Aug 2017 6:12 pm
by maddinthebrain
Hello,
I installed the latest Mono 5.0.1.1 with the latest CumulusMX v3.0.0 build 3043 on a Raspbian Jessie on a Raspi 1

lsusb says:

Code: Select all

lsusb
Bus 001 Device 009: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 001 Device 004: ID 046d:c502 Logitech, Inc. Cordless Mouse & iTouch Keys
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. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Starting Cumulus with

sudo mono CumulusMX.exe -lang de-DE

results in:

Code: Select all

Current culture: German (Germany)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2017-08-08T20:03:43
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) [0x0070c] in <9bc402929dff445999ba28b84751d284>: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 <9bc402929dff445999ba28b84751d284>: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
08.08.2017 20:03:49
Type Ctrl-C to terminate
Now my question: Why there is no connection? What does

Code: Select all

System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
mean?

Thanks for help!

Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Tue 08 Aug 2017 8:41 pm
by steve
It could be that you don't have a full installation of Mono (as installed by package mono-complete). Or perhaps they have changed something in Mono 5 which means it is not compatible with the libraries which MX uses.

Re: CumulusMX gets no connection to Wh1080

Posted: Wed 09 Aug 2017 7:18 am
by maddinthebrain
Hi Steve,
It could be that you don't have a full installation of Mono (as installed by package mono-complete)
I made complete install. Maybe there are changes in the libraries of mono.

From where can I get the version 4.0.2.5 mentioned in that topic https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=14222?

I would try this.

Thx Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Wed 09 Aug 2017 2:23 pm
by philpugh
I'm running mono v 5.0.1.1 under Debian Jessie on BananaPi Pro. I am using GB locale so decimal points (not commas).

To download older version go to http://www.mono-project.com/download/ and check towards the bottom about older versions

Re: CumulusMX gets no connection to Wh1080

Posted: Thu 10 Aug 2017 1:51 pm
by maddinthebrain
Well it's not that easy. In the archieve there are only versions for Windows or MacOS, but none for Linux/Raspian. Has anyone tried the Mono v5.0.1.1 with success?

Greetings Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Thu 10 Aug 2017 2:22 pm
by steve
maddinthebrain wrote:Well it's not that easy. In the archieve there are only versions for Windows or MacOS, but none for Linux/Raspian.
The instructions there for Linux don't work, then? You completely removed the current Mono before trying to install an older version?

Re: CumulusMX gets no connection to Wh1080

Posted: Sun 13 Aug 2017 12:29 pm
by maddinthebrain
Hi,
my problem is, that I am not really familiar with Linux. I just want to get Cumulus MX run on rasbian to save my PC. My somebody help with a step by step to install mono 4.0.2.5. The older howtos do not help as mono is now on newer Versions.

Please can someone help me out. The other solutions like Weewx or so don't work either. Cumulus Runs on Windows prefectly, so I want to on Raspian the same way. But there are to many traps.

Thanks for support!!

Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Sun 13 Aug 2017 1:21 pm
by Herbaldew
Here is how I install Mono:

Code: Select all

sudo apt-get install mono-complete
That is what I found when I searched how to install it when I got my rPi. It installs v3.2.8. I assumed it was installing the latest until I read this thread. At any rate - CmX runs flawlessly with it.

Re: CumulusMX gets no connection to Wh1080

Posted: Sun 13 Aug 2017 3:54 pm
by maddinthebrain
Yapp. This would be the 3.2.8. But this doesn't work for me, because of some language issues. So I want to try the 4.0.2.5. How to install this one? I assume I have to change something in the repository, right? And something with a key…?

Thx.

Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Mon 14 Aug 2017 6:54 pm
by maddinthebrain
Anyone? Please! It sucks, as it doesn't work.

Thx Martin

Re: CumulusMX gets no connection to Wh1080

Posted: Fri 18 Aug 2017 11:14 am
by maddinthebrain
Hello Guys,

now installed Mono 4 it works now for 3 day perfectly.

Have a nice day!

Re: CumulusMX gets no connection to Wh1080

Posted: Sun 20 Aug 2017 7:08 am
by richard_newberry
Hi Martin,

how did you go about installing Mono 4?

when I tried to install mono 4 it installed mono 5.

Re: CumulusMX gets no connection to Wh1080

Posted: Mon 21 Aug 2017 6:54 am
by ConligWX
you need to manually force the install
richard_newberry wrote:Hi Martin,

how did you go about installing Mono 4?

when I tried to install mono 4 it installed mono 5.
what Linux Distro are you using?

You'll most likely need to edit the /etc/apt/sources.list.d/mono-xamarin.list and remove the release listed there and add the repo you require.

google is your friend.

example: https://stackoverflow.com/questions/301 ... -to-3-12-0

Re: CumulusMX gets no connection to Wh1080

Posted: Wed 23 Aug 2017 8:33 am
by maddinthebrain
Hi Richard,
I had the same problem! I found the solution as I followed https://cumulus.hosiene.co.uk/viewtopic.p ... 22#p110376.
But Attention at point 4: You have to check your Debian/Raspbian version!! The post of Jan assumes that you have weezy. If you have jessie add

Code: Select all

deb http://plugwash.raspbian.org/mono4 jessie-mono4 main
instead of

Code: Select all

deb http://plugwash.raspbian.org/mono4 wheezy-mono4 main
!!!![/color][/b]
Hi
I did the installation of Mono 4 on my old RaspberryPi B
Please stop CumulusMX first

1.)
sudo apt-get update
sudo apt-get upgrade

2) Check installed Verison.
sudo mono -V
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)

3) uninstall old Mono
sudo apt-get remove mono-complete
sudo apt-get autoremove

4) Edit source list
sudo nano /etc/apt/sources.list.d/raspi.list or sudo nano /etc/apt/sources.list
insert in a new line
deb http://plugwash.raspbian.org/mono4 wheezy-mono4 main [maddthebrain: For Debian/Raspbian wheezy]
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main [maddthebrain: For Debian/Raspbian jessie]

5) Install new Version of Mono
sudo apt-get install mono-complete

6) Check if new Version was successfully installed
sudo mono -V
Mono JIT compiler version 4.0.2 (Debian 4.0.2.5+dfsg-2~rpi1)

I started CumulusMX -> sudo mono CumulusMX.exe -lang de-DE
At least no errors in the console and I was able to connect with Webbrowser on Port 8998.
Weatherstation is still plugged in my other System, but I assume everything is running as expected......at least no negative influence with new Mono at a first glance
Checked Records Page which contain old entries from last month, when I started with this Raspberry Pi and it is dispalying values Comma Seperated

High temperature 10,6 °C Freitag, 3. April 2015 16:00

Jan

Re: CumulusMX gets no connection to Wh1080

Posted: Wed 23 Aug 2017 9:58 pm
by richard_newberry
Hi,

I'm using Debian Stretch 9.0 I've tried all of that and still installs mono version 5.

3.2.8 is getting old now. nearly be on antique road show how old it is lol.