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 4017) - 17 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

Cannot find WMR200 weather station

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

falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Cannot find WMR200 weather station

Post by falkunmalti »

Hi all

I am new here but have been using Cumulus1.9.4 for several years. I now have a Raspberry Pi 3 and have successfully installed CumulusMX. I am able to run it and browse to localhost:8998 to see the gauges. However, although I have plugged my weather station to the pi with a usb cable, Cumulus insists it cannot find the station and all the gauges read 0! I note that in the settings there is no place to specify how the wmr200 is connected to the pi. I am obviously missing a simple thing. Can anyone help? I am attaching the latest mxdiag file. Thanks
You do not have the required permissions to view the files attached to this post.
User avatar
novy
Posts: 32
Joined: Thu 16 Feb 2017 2:37 pm
Weather Station: davis vantage vue
Operating System: Windows 7 / RASPBIAN
Location: Scotland

Re: Cannot find WMR200 weather station

Post by novy »

Have you setup cumulusmx station settings on localhost:8998

connection serial
TCP/IP settings
ip address
tcp port 8998
Serial port name /dev/ttyUSB0
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

Yes I have. I have a raspberry pi 3. When I plug the wmr200 into a usb port I do not get /dev/ttyUSB0, but /dev/ttyAMA0, so I put that into the port setting. When I fire up Cumulus, I get a wmr200 station not found error.

I noticed that the wmr200 is the 10th item in the list so on a whim I changed the type to 10 and this time I did not get the station not found error but the gauges do not update so I am not sure this is right either.

Let me know if you need more details.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cannot find WMR200 weather station

Post by steve »

You don't need to specify a connection type nor a serial port name ( or any of those TCP/IP settings mentioned above), it's a USB station, and Cumulus knows that.

What version of Mono are you using, and do you have libudev0 installed?
Steve
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Cannot find WMR200 weather station

Post by ConligWX »

ssh into your pi and type the following command:

Code: Select all

root@conligwx:~# lsusb

root@conligwx:/dev# dmesg | grep tty
you should see something like so:

Code: Select all

root@conligwx:/# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@conligwx:/# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.974444] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.755868] usb 1-3: cp210x converter now attached to ttyUSB0

please post your output.
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

steve wrote:You don't need to specify a connection type nor a serial port name ( or any of those TCP/IP settings mentioned above), it's a USB station, and Cumulus knows that.

What version of Mono are you using, and do you have libudev0 installed?
mono version 4.6.2 and no I don't have libudev installed. Should I install that with apt-get as well?

I was surprise when it did not connect because the windows version 1.9.4 connected immediately.

Joe
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

Toxic17 wrote:ssh into your pi and type the following command:

Code: Select all

root@conligwx:~# lsusb

root@conligwx:/dev# dmesg | grep tty
you should see something like so:

Code: Select all

root@conligwx:/# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@conligwx:/# dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.974444] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.755868] usb 1-3: cp210x converter now attached to ttyUSB0

please post your output.
Attached are files y and x respectively replying to your requests. Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cannot find WMR200 weather station

Post by steve »

There are some versions of Mono which the USB library used by Cumulus doesn't work with, as mentioned in the MX FAQ/known issues post. The 4.6 releases are apparently included in this. Someone is very kindly trying to get it to work.
Steve
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

steve wrote:There are some versions of Mono which the USB library used by Cumulus doesn't work with, as mentioned in the MX FAQ/known issues post. The 4.6 releases are apparently included in this. Someone is very kindly trying to get it to work.
Thanks Steve. I have removed mono 4.6.2. Could you kindly let me know how I can install the older version because apt-get will again install the 4.6 version. I should mention that the Raspbian version I have is Stretch which is probably why I am stuck with this new version. I am not that versed in Linux!

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

Re: Cannot find WMR200 weather station

Post by steve »

Sorry, can't help with that. But there are a number of people who have done it and posted on the forum about it. There may even be a link in the MX FAQ.
Steve
User avatar
ConligWX
Posts: 1570
Joined: Mon 19 May 2014 10:45 pm
Weather Station: Davis vPro2+ w/DFARS + AirLink
Operating System: Ubuntu 22.04 LTS
Location: Bangor, NI
Contact:

Re: Cannot find WMR200 weather station

Post by ConligWX »

have you tried updating your packages?

sudo apt-get update
sudo apt-get upgrade

or

sudo apt-get update && sudo apt-get upgrade

if mono is not fa fixed version locked down by an entry in sources.list it should update.

but you can force a version to be installed, though usually you have to uninstall mono first.

you might find the sources.list has an entry to us a specific version of mono, thus setting it to only 4.2.8 and nothing more.

I'm not 100% with Raspi OS version so their paths may differ slightly.

you need to look in the /etc/apt/sources.list or possibly the /etc/apt/sources.list.d/mono.list if you have one and see what distro mono is pointing too.

if your not happy with accessing linux OS's with ssh and looking about, try using WinSCP to access the linux distro from a Windows Box. it makes life alot easier to navigate, especially on a headless (no keyb/mouse or monitor) linux system
Regards Simon

https://www.conligwx.org - @conligwx
Davis Vantage Pro2 Plus with Daytime FARS • WeatherLink Live • Davis AirLink • PurpleAir •

Image
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

Toxic17 wrote:have you tried updating your packages?

sudo apt-get update
sudo apt-get upgrade

or

sudo apt-get update && sudo apt-get upgrade

if mono is not fa fixed version locked down by an entry in sources.list it should update.

but you can force a version to be installed, though usually you have to uninstall mono first.

you might find the sources.list has an entry to us a specific version of mono, thus setting it to only 4.2.8 and nothing more.

I'm not 100% with Raspi OS version so their paths may differ slightly.

you need to look in the /etc/apt/sources.list or possibly the /etc/apt/sources.list.d/mono.list if you have one and see what distro mono is pointing too.

if your not happy with accessing linux OS's with ssh and looking about, try using WinSCP to access the linux distro from a Windows Box. it makes life alot easier to navigate, especially on a headless (no keyb/mouse or monitor) linux system
Hi Toxic17

Yes I have updated and upgraded the packages and am currently uninstalling mono for the third time.

Following a post on this list, after uninstalling mono, I entered the command

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

and that placed an entry in /etc/apt/sources.list.d of

deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main.

This would appear to be all that is necessary except to do apt-get install mono-complete which should give me version 4.0.5 but I get version 4.6.2.7 each time. My sources.list is
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main

Which sources.list file is used, the one in apt-get or /sources.list.d?

I am at a loss now and cannot figure this out. Thanks.
Herbaldew
Posts: 113
Joined: Sun 12 Mar 2017 8:33 pm
Weather Station: VP2+
Operating System: Raspberry Pi OS (64-bit)
Location: US Mid-Atlantic

Re: Cannot find WMR200 weather station

Post by Herbaldew »

Raspbian uses /etc/apt/sources.list.

I used this to install the latest without problem:

Code: Select all

deb http://download.mono-project.com/repo/debian stretch/snapshots 5.2.0.215/main
However, I could NOT get any older version to install this way no matter what I tried. Same deal, 4.6.2.7 installed instead.

I did finally figure out how to get 3.2.8 (which was the default for Jessie) to install in Stretch. Let me know if you want me to post how I did it.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Cannot find WMR200 weather station

Post by falkunmalti »

Herbaldew wrote:Raspbian uses /etc/apt/sources.list.

I used this to install the latest without problem:

Code: Select all

deb http://download.mono-project.com/repo/debian stretch/snapshots 5.2.0.215/main
However, I could NOT get any older version to install this way no matter what I tried. Same deal, 4.6.2.7 installed instead.

I did finally figure out how to get 3.2.8 (which was the default for Jessie) to install in Stretch. Let me know if you want me to post how I did it.
Yes please do so. I think it would be useful for me and others until the problem gets resolved. I'm relieved that it was not something I was doing that was causing the problem. The reason I was looking for the older version is because of the wmr200 station not being recognized with 4.6.2.7. I wonder if it will be recognized with 5.2.0.215.
Herbaldew
Posts: 113
Joined: Sun 12 Mar 2017 8:33 pm
Weather Station: VP2+
Operating System: Raspberry Pi OS (64-bit)
Location: US Mid-Atlantic

Re: Cannot find WMR200 weather station

Post by Herbaldew »

First, I saw a couple ways of removing Mono, but this one is the only one that worked properly for me:

Code: Select all

sudo apt remove --purge --auto-remove mono-runtime
For 5.2.0.215:

Code: Select all

sudo nano /etc/apt/sources.list
Add this line at bottom:

Code: Select all

deb http://download.mono-project.com/repo/debian stretch/snapshots 5.2.0.215/main
Then run:

Code: Select all

sudo apt-get update
sudo apt-get install mono-complete
For 3.2.8:

Code: Select all

sudo nano /etc/apt/sources.list
Delete all and paste in (this is sources.list from Jessie):

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# 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
Then run:

Code: Select all

sudo apt-get update
sudo apt-get install mono-complete
Change sources.list back to Stretch:

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
Lastly you must "pin" the version so it isn't updated if you run update:

Code: Select all

sudo apt-mark hold "mono-complete"
I rebooted after this just for good measure. When I ran update, a couple things updated that made me think that Mono was updating, but it stayed at 3.2.8 and worked fine.
Locked