HOWTO: ConsoleWD for Raspberry Pi Setup Instructions - Old version

@Weather Station
Brian
Any comment on my previous post?

that is just showing default readings only…not actually working

@Weather Station
Thanks Brian

I have been running Meteohub software, but had problems with the Micro SD card and file failures.
I like the look of your product better and hence tried to install.

Are there certain Linux commands that you run in your programs to open the USB interface and extract the data?

btw, when I do a lsusb on the RPi, I get the following which indicates it recognises the WMR300.
pi@raspberrypi:~ $ lsusb
Bus 001 Device 006: ID 0fde:ca08 Oregon Scientific
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

Any other ideas?

the problem is this error
USBWrite Write Erro Broken pipe
but I am not sure why that is occuring
does Meteohub work with a WMR300?

Thanks Brian

Yes, it does. Have had it working for a number of years.

@Weather Station
Brian

Is there anything I can send to you on the Meteohub files?

If anyone gets this combination to work please post it here…

Oregon Scientific WMR-300 and Raspberry Pi-3b +

Thanks in advance…

re meteohub
consolewd can be set to use data from a meteobridge

I could add support for meteohub?

@Weather Station
Brian

I am not sure what you mean from that statement. I don’t have a meteobridge. I just run Meteohub on the RPi to get the data.
It only takes the data from the USB connection and can’t interogate the WMR300 to get historial data or anything like that.

Cheers.

yes
and
so
I could get consolewd to get the data from meteohub
if you wanted

@Weather Station
Thanks Brian

Yep. If you could an it’s not too much work. Your system seems to have better reporting that I have found in Meteohub.
Cheers.

OK…
are you able to port forward your meteohub and let me know that, so that I can test here?

Brian

I’m not sure. How would I do that?

Cheers

Which did you end up going with? I am considering moving on from the PC version to a raspberry Pi. I used to leave the Windows PC on 24x7. I moved to an apartment for about a year and got out of the habit of leaving the PC powered on.

Nobody answered the question, and the project dropped off my radar. One day I’ll pick it up again.

Hi,

I could highly recommend a RPI3b, mine has been running without a flaw for 2 years now, if i did not had to do a apt-get update or an apt-get upgrade every now and then, it would have been running now for almost 2 years non-stop!
Also there’s a new version out for the Raspberry, the RPI4b, but that’s brandnew and probably overkill if you just want to work with consolewd…

Staccermaccer AKA Marc,

I have an RPI2B, would ConsoleWD run on it? Might have to try it out, always another project… :slight_smile:
-G.

Hi,

New to this forum and consoleWD. I am using a RPi 3 Model B. I have the Raspian Buster with Desktop image on the SD card. Using the Meteo-Pi for the logger with the Davis Vantage Pro2.

I tried to foloow the RaspberryPi consoleWD step-by-step post. I tried to follow the steps without any success.

No disrespect to WVDKUIL for posting the step-by-step instructions.

I have a fair grasp of Linux, not great, but fair.

First step install extra libs

1.1 install usb libs

1.1.1 modify /etc/apt/sources.list

Add one line to that file, remember to use sudo or use the gui in a root file-manager window

deb http://ftp.nl.debian.org/debian/pool/main/u/udev/libudev-dev_175-7.2_armhf.deb sid main

1.1.2 execute in a terminal window

sudo apt-get install libudev-dev
sudo apt-get install libusb-dev

1.2 install libhid

1.2.1 download from http://alioth.debian.org/frs/?group_id=30451.
It is placed into your home folder[/b][/b]

Is there a more recent step-by-step install instructions available on this forum?

Please accept my apologies for being the Newbie at this.

Thanks for the help.

Ron

have you tried first simply copying the library files in the deploy folder for consolewd to
/usr/lib/ and /usr/local/lib/
(as sudo via command line)
then run consolewd ?
sudo ./consolewd

This document / topic is VERY old. We are now 4 generations further, and nothing described than is usable today.

A new document should read:

Install Raspbian latest version and do all updates download consoleWD => "Weather Display for Linux console 64 bit Raspberry pi3 Version on 6 January 2020 - 22:54:47" from http://www.weather-display.com/fileslinux.php unzip and place in the your main folder

Adapt the first lines of config.txt to have your logger (or device) talking with consolewdD
start a terminal window and
=> copy the files from deploy/
==> to /usr/lib/ and to /usr/local/lib/
Setup config.txt
Now you can start consolewd.

I borrowed a raspberry for testing and writing an updated HowTo
I used my WiFilogger which is for consoleWD a Davis-IP logger at port 22222 of its IP-address
==> Weather station type=32
==> Davis VP IP port=22222
==> Davis VP IP address=192.168.0.210
I started consolewd and

If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Connecting TCP/IP 192.168.0.210 22222
Connecting TCP/IP 192.168.0.210 22222

Requesting LOOP data from IP
Requesting LOOP data from IP
Requesting LOOP data from IP
raw vp baro 1024.2
raw vp temp 11.8
Vpsolar = 32767
Davis Data OK
Current data 16:58:42: Temperature= 11.8 Windspeed =0.0 Gustspeed =0.0 Direction =265 Humidity=97 Barometer=1024.2 Daily Rain=0.0  Rain Rate 0.0mm/minRequesting LOOP data from IP
raw vp baro 1024.2
raw vp temp 11.8
Vpsolar = 32767
Davis Data OK
Current data 16:58:42: Temperature= 11.8 Windspeed =0.0 Gustspeed =0.0 Direction =265 Humidity=97 Barometer=1024.2 Daily Rain=0.0  Rain Rate 0.0mm/minRequesting LOOP data from IP

And yes, it also tested correct with a Meteobridge and probably also with any of the other weatherstations as listed in the first TWO lines of config.txt.
So we can simply use all defaults and it works 'out of the box"

Forget this complete topic, take a clean SD card and do a clean install/update of raspbian, install consolewd.
Copy the files form the deploy/ folder twice.

Before starting consolewd you have to find what station/logger should be used for “the Meteo-Pi for the logger with the Davis Vantage Pro2.”
That is really the only problem/task you should have. Once WD knows what logger your Meteo-Pi emulates all should work.

I think “Meteo-PI” emulates a serial connection, read this topic Meteo-Pi - connecting device for Raspberry Pi™ and Davis® consoles
There is in this post also a screenshot to “remove” the serial console and make the serial0 active
So you have to set in config.txt

Weather station type=31     // that is Davis VP=31
Davis com method=1       //  1 for serial

There is one other “tricky” setting at line 29, which you maybe have to set to 1

Davis com method=2   // 1 for regular  2 for special davis serial read

Succes, Wim