Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

WMR200 station not found!

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

Moderator: mcrossley

Daveph
Posts: 4
Joined: Sun 13 Dec 2015 11:12 pm
Weather Station: WMR200
Operating System: Debian
Location: Italia

WMR200 station not found!

Post by Daveph » Tue 15 Dec 2015 10:55 pm

Hi.

(Fist of all sorry for my English)

I tried installing CumulusMX (build 3036) on my Raspberry Pi 1 B+ (Raspbian Jessie)
No problems/errors during installation of the mono-complete package (Mono JIT compiler version 4.0.2 (Debian 4.0.2.5+dfsg-2~rpi1), i also installed libudev0

I have started Cumulus with root user: mono CumulusMX.exe and at this point Cumulus starts without any problem.
After setting the settings (type of station, etc.) I have restarted Cumulus.

Now, as you can see in the screenshot, Cumulus can't find the station:
Immagine.png

lsusb:
lsusb.png
P.s. everything works with another weather software on the same machine.

Some help or advice?
Thank you.

Davide
You do not have the required permissions to view the files attached to this post.

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: WMR200 station not found!

Post by steve » Wed 16 Dec 2015 8:05 am

Some others are having problems with USB stations not being detected by the HID component, and the common factor seems to be Jessie. I don't know what the problem is at the moment. When I get chance, I will create a Jessie installation myself and give it a try. Was Mono 4.0.2 the default version that was installed using the Jessie repositories?

Could you please try a test? Unzip the attached file into a directory, change to that directory and then run:

sudo mono HidSharp.Test.exe

and then paste the output from that here.
You do not have the required permissions to view the files attached to this post.
Steve

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: WMR200 station not found!

Post by steve » Wed 16 Dec 2015 6:54 pm

I've just taken a new Jessie image and installed it, and then installed mono-complete - it gave me 3.2.8. I didn't need to install libudev0 as it was already installed. I plugged in my WMR200, and Cumulus finds it. So the problem is apparently with the version of Mono that you've installed.
Steve

Daveph
Posts: 4
Joined: Sun 13 Dec 2015 11:12 pm
Weather Station: WMR200
Operating System: Debian
Location: Italia

Re: WMR200 station not found!

Post by Daveph » Wed 16 Dec 2015 6:56 pm

Hi Steve. Thankyou for your reply.

Output by running HidSharp.Test.exe

Code: Select all

~/bin# mono HidSharp.Test.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
sysname=Linux release=4.3.0 machine=armv6l
Complete device list (took 2295 ms to get 0 devices):

Opening Fine Offset station
Fine Offset station not found
Opening Oregon Scientific station
Oregon Scientific station not found
Press a key to exit...
After many tests, I found a solution that worked for me.

I tried many times to turn off the system, change the USB port and turn on the system again, but it was not working yet.

So I tried:
- Turn on the system
- Start Cumulus
- It returns the error: "WMR200 station not found!"
- Stop Cumulus with Ctrl + c
- Wait a few seconds
- Disconnect the USB station
- Wait a few seconds again
- Reconnect the USB station (I have connected to another USB port, I did not try to reconnect to the same port)
- Restart Cumulus
work.png
Now Cumulus works like a charm! :)

(The USB must be disconnected and reconnected with the system started.)

P.s. Yes, the version of Mono from official repository in Jessie is 4.0.2
You do not have the required permissions to view the files attached to this post.
Last edited by Daveph on Wed 16 Dec 2015 7:00 pm, edited 1 time in total.

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: WMR200 station not found!

Post by steve » Wed 16 Dec 2015 6:58 pm

Daveph wrote:P.s. Yes, the version of Mono from official repository in Jessie is 4.0.2
See my previous post - the version I got was 3.2.8. But anyway, you've now proven that 4.0.2 is OK anyway, so that doesn't matter.
Steve

Daveph
Posts: 4
Joined: Sun 13 Dec 2015 11:12 pm
Weather Station: WMR200
Operating System: Debian
Location: Italia

Re: WMR200 station not found!

Post by Daveph » Wed 16 Dec 2015 7:04 pm

I was wrong. Sorry. :roll:

In the sources.list i have added
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main

willyweather
Posts: 63
Joined: Tue 15 May 2012 8:50 pm
Weather Station: WH 1080
Operating System: Windows 8.1 and Raspbian
Location: Assling

Re: WMR200 station not found!

Post by willyweather » Mon 28 Dec 2015 6:53 pm

:?: Hi there,

I'm fighting the same problem now ... I am using Jessie for the first time and try to get mono 4.0.x downloaded ...

I have edited the file /etc/apt/sources.list and added the line as stated in this post, so it looks like this:

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://plugwash.raspian.org/mono4 jessie-mono4 main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
# deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi

However, it doesn't work for me !! :?: :cry:

When entering sudo apt-get update I get the following reaction:

http://mirrordirector.raspbian.org jessie InRelease
http://archive.raspberrypi.org jessie InRelease
Holen: 1 http://mirrordirector.raspbian.org jessie/main armhf Packages [8.962 kB]
Holen: 2 http://archive.raspberrypi.org jessie/main armhf Packages [101 kB]
Holen: 3 http://plugwash.raspian.org jessie-mono4 InRelease
22% [3 InRelease gpgv 20,7 kB] [1 Packages 1.881 kB/8.962 kB 21%] [2 Packages 90,1 kB/101 kB 89%]Splitting up /var/lib/apt/lists/partial/plugwaIgn http://plugwash.raspian.org jessie-mono4 InRelease
E: GPG-Fehler: http://plugwash.raspian.org jessie-mono4 InRelease: Durch Clearsign signierte Datei ist nicht gültig, »NODATA« erhalten (erfordert das Netzwerk eine Authentifizierung?)

I understand, that some GPG Key is not valid ?!? The file which is signed by Clearsign is not valid ...

Sorry, I have only veeery limited knowledge of Linux and all that stuff ... has anybody an explanation for that ?

Wilfried

Matt2E0MDJ
Posts: 5
Joined: Thu 02 Apr 2015 1:34 am
Weather Station: Watson W-8681
Operating System: Linux and Windows
Location: Cheltenham

Re: WMR200 station not found!

Post by Matt2E0MDJ » Tue 29 Dec 2015 10:06 pm

im running Raspbian Jessie 8.0 on my Raspberry Pi 2

Mono is version 4.2.1 from Jessie Repository

Cumulus MX will not find my Fine Offset station even tho lsusb shows it


Any Ideas?

Thanks

Matt

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: WMR200 station not found!

Post by steve » Tue 29 Dec 2015 10:38 pm

You'll have to use a different version of Mono, 4.2.x won't work with MX with USB stations, see elsewhere on the forum, including the FAQ/known issues post. Reasons as yet unknown.
Steve

Matt2E0MDJ
Posts: 5
Joined: Thu 02 Apr 2015 1:34 am
Weather Station: Watson W-8681
Operating System: Linux and Windows
Location: Cheltenham

Re: WMR200 station not found!

Post by Matt2E0MDJ » Wed 30 Dec 2015 12:34 am

for those having the problem here is a fix that worked for me in the latest Jessie image from Raspberry Pi

Remove the Current Mono version (4.2.1)
sudo apt-get remove mono-complete


sudo apt-get autoremove


Then change the mono repos to a previous version (i used 4.0.5 as 4.0.2 isnt in their snapshot repos)

echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list

mine errored but i ignored the error

sudo apt-get install mono-complete

then check the version
matt@CumulusMX:~/CumulusMX $ mono -V
Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

Started up CumulusMX

Current culture: English (United Kingdom)
Serial: blanked for security
Cumulus MX v.3.0.0 build 3036
Today.ini = data/today.ini
Last update=2015-12-30T00:26:37
Fine Offset station found
Connected to station
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
30/12/2015 00:26:39
Type Ctrl-C to terminate

It is now working

Hope this helps some people having this problem

Matt

willyweather
Posts: 63
Joined: Tue 15 May 2012 8:50 pm
Weather Station: WH 1080
Operating System: Windows 8.1 and Raspbian
Location: Assling

Re: WMR200 station not found!

Post by willyweather » Wed 30 Dec 2015 4:46 pm

Hi Matt - great, thank you!

That was exactly what I needed :clap:

It finally worked also for me and I have mono 4.0.5.1 on my CumulusMX Raspberry Pi (under Jessie).

However, also here it threw some errors and didn't go flawlessly:

1. It seemed, that it would not work at all on my raspberry
- possible reason: I had forgotten the statement of "deb ... plugwash. ..." in the file sources.ini from
earlier unsuccessful attempts to get a 4.0.x mono back on my Raspi !

2. I cleaned up the files under /etc/apt from other possible relicts of earlier attempts,
but that didn't help completely

... still the command "sudo apt-get install mono-complete" did not work, but threw errors messages instead

3. I entered "sudo apt-get update"
... which modified a lot of things in the system

After that, I tried again "sudo apt-get install mono-complete" -> now it worked!

Just wanted to mention that, maybe it will help others ...

Under the line, I am really happy, thanks a lot. :D

Wilfried

WetCoast
Posts: 21
Joined: Tue 12 May 2015 6:00 am
Weather Station: WS-2095
Operating System: Vista (Debian Linux)
Location: Surrey, BC, Canada

Re: WMR200 station not found!

Post by WetCoast » Sat 02 Jan 2016 12:43 am

Humm... doesn't seem to be working for me.

After I issue the command to remove mono-complete (sudo apt-get remove mono-complete)
it seems to remove something:
The following packages will be REMOVED:
mono-complete

and then I remove the rest via sudo apt autoremove
but when I issue the command to display the version of mono (mono -V)
it still says:
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-5)
so it looks like it doesn't remove it...

Is there something else that needs to be removed in order to install the older version?

Gord

richard_newberry
Posts: 291
Joined: Tue 12 Apr 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Stretch (VMWARE Esxi 6.5)
Location: Leicester
Contact:

Re: WMR200 station not found!

Post by richard_newberry » Sat 02 Jan 2016 1:07 am

Try sudo apt-get autoremove mono-complete

If that doesnt work try sudo apt-get autoremove --purge mono-complete.
Desford Weather
http://www.desford-weather.co.uk
http://desford-weather.co.uk
Also on Desford weather underground.
Looking forward to cumulus on Linux platform it'll rock!!

WetCoast
Posts: 21
Joined: Tue 12 May 2015 6:00 am
Weather Station: WS-2095
Operating System: Vista (Debian Linux)
Location: Surrey, BC, Canada

Re: WMR200 station not found!

Post by WetCoast » Sat 02 Jan 2016 6:44 pm

Maybe I'm doing something wrong... (probably)
Both sudo apt-get autoremove mono-complete and sudo apt-get autoremove --purge mono-complete
return Package 'mono-complete' is not installed, so not removed

and yet when I do mono -V I get
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-5)

If I look in synaptic it shows several "mono" packages installed I.E. mono-runtime, mono-runtime-common, ETC. All seem to be version 4.2.1.102+dfsg2-5. If I ask synaptic to remove mono-runtime it says it has to also remove 155 other "mono" (and some other) packages. I'm not sure this is advisable?

Is there some other work around I can try? CumulusMX is not working for me now.

User avatar
steve
Cumulus Author
Posts: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: WMR200 station not found!

Post by steve » Sat 02 Jan 2016 6:49 pm

As I understand it, mono-complete is a 'meta-package', so it is just a 'holder' for a set of packages that have actual content. And apparently, removing a meta-package does not remove the packages that the meta-package installed. So I think you can and should go ahead and remove the mono packages.

Disclaimer: I don't really know what I'm talking about.
Steve

Post Reply