HOWTO: ConsoleWD for Raspberry Pi Setup Instructions - Old version

I could try updating my OS…how do I do that?

ps, this should really be in its own thread?

as root, just run
apt-get update
apt-get upgrade

done that…
it went through the process
I even rebooted
but its still 4.1.18
and consolewd still works
maybe the 64 bit OS has not been updated?
I could try updating my raspberry pi 1

yes, it can be that the 64 bit variant is running a bit behind or like with some other linux distros, maybe some application is preventing you to upgrade it.
OK lets see with the older one.

I got my Raspberry pi 1 updated to 4.1.19
March 15th
consolewd is still working OK for my Irox station

(e.g the barometer data returned is OK)
the data received number you are getting is OK… (34)
but what I can do is add in to show the raw data received

it could be that the barometer reading is out of range?

let me know what the raw data shows for this test version
http://www.weather-display.com/downloadfiles/consolewdiroxtest.zip

Hi Brian,

thanks for the troubleshooting, with your test version i see these:

www.weather-display.com
Irox opened OK
irox write 5
irox read -1
irox read -1
irox read 34
5A 1
02 2
83 3
49 4
95 5
C2 6
50 7
0A 8
00 9
0A 10
0A 11
00 12
0A 13
0A 14
00 15
0A 16
0A 17
00 18
0A 19
FF 20
FF 21
FF 22
FF 23
05 24
FF 25
FF 26
FF 27
FF 28
FF 29
FF 30
E0 31
41 32
0B 33
3A 34
Raw irox baro 4095.9
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox write 5
irox read 34
5A 1
02 2
83 3
49 4
95 5
C2 6
50 7
0A 8
00 9
0A 10
0A 11
00 12
0A 13
0A 14
00 15
0A 16
0A 17
00 18
0A 19
FF 20
FF 21
FF 22
FF 23
05 24
FF 25
FF 26
FF 27
FF 28
FF 29
FF 30
E0 31
41 32
0B 33
3A 34
Raw irox baro 4095.9
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox write 5
irox read 34
5A 1
02 2
83 3
49 4
95 5
C2 6
50 7
0A 8
00 9
0A 10
0A 11
00 12
0A 13
0A 14
00 15
0A 16
0A 17
00 18
0A 19
FF 20
FF 21
FF 22
FF 23
05 24
FF 25
FF 26
FF 27
FF 28
FF 29
FF 30
E0 31
41 32
0B 33
3A 34
Raw irox baro 4095.9
^Cpi@raspberrypi ~/consolewdfiles $

any idea why i dont have anything in this file?

pi@raspberrypi ~/consolewdfiles $ pwd
/home/pi/consolewdfiles
pi@raspberrypi ~/consolewdfiles $ ls -la clientraw.txt
-rwxrwxrwx 1 pi pi 0 Jul 9 09:55 clientraw.txt
pi@raspberrypi ~/consolewdfiles $

please note that unit dont have the water / wind sensor unit connected(battery died some month ago). Only the outside temp sensor unit is connected via wireless link.

OK, the data is synced OK, the 5A at the start is what is to be expected
the barometer data is this data:
FF 22
FF 23

which are both NULL 255

which points to a hardware issue with the barometer (its basicly out of range/not working or similar)

and because of that , the program is ignoring all the other data
(I could make this special version carry on so you at least get outdoor/indoor temperature?

download again, …same URL…
so that it will carry on and ignore that NULL barometer values

Brian, you are a BIG BIG Magican !! :smiley:

irox write 5
irox read 34
Raw irox baro 4095.9 FF FF
irox Data OK
Current data : Temperature= 30.1 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=52 Barometer=1013.0 Daily Rain=0.0
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox read -1
irox write 5
irox read 34
Raw irox baro 4095.9 FF FF
irox Data OK
Current data : Temperature= 30.1 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=52 Barometer=1013.0 Daily Rain=0.0
irox read -1
irox read -1

and now I have data:

pi@raspberrypi ~/consolewdfiles $ cat clientraw.txt
12345 0.0 0.0 0 30.1 52 1013.0 0.0 0.0 0.0 0.000 0.000 30.8 50 0.0 0 0.0 0 0 0.0 -1.0 -1.0 -1.0 -1.0 166.5 0.0 10 10 10 13 04 49 My_station-13:04:49 0 0 9 7 0 0 0 0 0 0 0 30.1 37.0 30.1 30.1 0 Dry 0.0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0 19.2 4506.6 9/7/2016 37.0 37.0 30.1 30.1 0.0 0 0 0 0 0 0 0 0 0 0 13.0 13.0 13.0 13.0 13.0 13.0 13.0 13.0 13.0 23.3 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 31.5 31.5 31.5 0.0 0 — — 0 0 0 0.0 0.0 10 165 0 0 0 0.0 30.8 30.8 33.0 1013.0 1013.0 0 00:00:00 00:00:00 33.0 33.0 19.2 19.2 0 2016 2016 1 1 -1 0 0 0 0 0 0 0 0 0 0 0.0 0.0 0.0 22.9 0.0 0.0 0.0 52 52 !!CWD_console_12.3!!
pi@raspberrypi ~/consolewdfiles $

OK, I thank you million times, and now we all know that if some of the data is missing because of disconnected units or faulty sensors we have such issue. Actually now I will use this test variant, as I really like this way, if i lose connection to some of the wireless sensors, I will still have data to monitor.

Great job Sir!

donations gladly accepted :wink:

Hi Bryan

I have tried to install

At page 1 you can try this, maybe it helps!

errors which may pop up Missing libhid.so.0 In the deploy folder simply copy libhid.so.0.0 to libhid.so.0 and do step 2.4 again

At least this list (got it from Raspi), tested it a few times for writing an instruction in Dutch, works for me.

Staccermaccer,

Anyone interested can download an image for the Raspberry PI with consolewd preinstalled. Tested with Irox station type.

https://www.dropbox.com/s/x4ryw78637hm99i/rpi_consolewd.gz?dl=0

md5sum: 2463de4fd0b77a2268546761cf2b107a

Image shall fit onto 8 GB SD card (this is where I created it from) but I suggest to use a 16 GB instead. Username/pass are RPi default (pi/raspberry). SSH is enabled.

All consolewd parameters are left default.

I just download it, and the only thing it has is a file. Here is a screen shoot . Maybe I’m doing something wrong.
What version of the Pi is this image for?


Unzip and restore the image to the SD card. Plug the SD card to your RPi and set the config.txt file in the consolewd directory.
Image was created from the 8 GB SD card but the size may slightly vary. I suggest you use a 16 GB SD card.

I’m not sure what the “Irox station type” is…I google searched and I believe it is a different weather station. Will this setup for the RPi be compatible if I’m using the Davis Vantage Pro 2?

Thanks!!!

Okay, please bare with another dumb question from me…

How do I launch the program? I loaded that image on an SD card and booted the Raspberry Pi up and am at the terminal.

Thanks!!!

I don’t have it on my RPi right now, but it goes something like:


cd consolewd
nano config.txt

This is the consolewd’s configuration file. Please check out the comments in the file. For Davis station, you must set value 31 in line 1. Check other settings as well.

Save the file and run:


./GoWdconsole.sh

That’s it.

Woo hoo…I got it to work. Not perfect yet, but it is working. I need to check the config.txt file again.

Thanks!!