cloudy cloudy

Author Topic: ConsoleWD for Raspberry Pi Setup Instructions  (Read 16244 times)

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #30 on: July 08, 2016, 05:20:57 AM »
I could add more debug info
e.g like the raw data that has arrived
and you have tried restarting consolewd a few times?

how long had it being running with no problems?

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 45.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #31 on: July 08, 2016, 08:41:20 AM »
Hi Brian,

first many thanks for your help. It has been running like this for 2 years, that was just my huge mistake that I wanted to updated the raspbian OS on it 2 days ago and since then it behaves like that. There is no rawdate in the txt files, also if i start it i just see the high, unreal barometric measurement, and nothing else.

I restarted the raspy like 20 times, and even if i wait  like 8 hours ( a night) same issue.

I would like to use this consolewd app if possible with the new/ latest raspbian. Worst case I can clone the SD card of my other weather raspy that have not been updated, but it would be really great if consolewd would run on the latest OS.

How can i give you more logs or debug info ?
« Last Edit: July 08, 2016, 08:42:52 AM by IROXproX »

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #32 on: July 08, 2016, 06:28:46 PM »
there must have been a change to the usb/hid library
great that it ran for 2 years (was that non stop, or?)
re more info, I would need to get a new version up for you..with more raw data...

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #33 on: July 08, 2016, 06:36:37 PM »
yes it run 2 years non-stop, i have another one here too: https://www.wunderground.com/personal-weather-station/dashboard?ID=ICANTONO10

exactly same raspberry pi 2 and irox pro 2.

Luckily i did not upgrade this PI.

The one I upgraded is located in a remote place, so I can not visit it easily, so I am hoping you will find a solution.

I just did the libhid and libusb compile on this upgraded raspbian OS but exactly the same behaviour. No data apart of that unreal barometer reading:

 ~/consolewdfiles $ sudo ./consolewd
Station type raw=59<
Station type =59
Weather station type is an Irox
Davis com method d
OWW file location= <-
program location= /home/pi/consolewdfiles/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Station name =My station
Daily rain startup= 0.0
Monthly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-5
Dir offset= 0
Barooffset= 0.0
Comport is USB to serial
Davis com method d
Yes Revb Davis VP
Davis rain gauge .01 inch
mysql username =
mysql server =
mysql databasename =
mysql tablename =
Will do mysql metric
mysql time interval = 300
cwop station id =
cwop call sign = -1 // -1 is default (you do not have a Ham call si
cwop latitude=
cwop longitude=
FTP server =
FTP username =
FTP port = 21
FTPremote dir =
Will do ftp passive
remote file =
FTP time interval = 60
 wu =Y
Will save logfile
logfile metric
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
Tag units in celsius
wind units = kts
baro metric= Y
rain metric= Y
Will run cron files
Custom log out = customlogout.txt
temp offset raw = <
wmr300 channel =1
utc hour=18
local hour=20
****Weather Display vers WD_console_12.3****
If use this program,then please consider sending a PayPal donation to info@weather-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Irox opened OK
irox write 5
irox read -1
irox read -1
irox read 34
Raw irox baro 4095.9
irox read -1
irox read -1



Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #34 on: July 08, 2016, 07:32:07 PM »
I have a Raspberry pi 3 here now..64 bit..
and so that probably has the updated OS
I will test with my Irox station...

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #35 on: July 09, 2016, 03:13:09 AM »
thank you, lets see.

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #36 on: July 09, 2016, 03:15:44 AM »
I have tested consolewd 64 bit version on my raspberry pi, 3 which is a recent version
4.1.18
and it works with my Irox station OK
I wonder if the problem you have is related to the raw barometer being out of range

I could try updating my OS to 4.1.19
but have you tried re compiling libhid , as per the original setup?

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #37 on: July 09, 2016, 03:51:52 AM »
I am running: root@raspberrypi:~# uname -a
Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

and its an older PI 2 only.

I recompiled both libhid and libusb following the instruction shown on the first page of this post. It did not help.

Back in 2 years ago, I did not compile the libhid and libusb, as I recall, you shared these and i just downloaded from your site that time, but never compiled then. i just tried to recompile only now.
« Last Edit: July 09, 2016, 03:59:11 AM by IROXproX »

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #38 on: July 09, 2016, 03:55:04 AM »
I could try updating my OS..how do I do that?

ps, this should really be in its own thread?

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #39 on: July 09, 2016, 04:00:41 AM »

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


Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #40 on: July 09, 2016, 04:21:01 AM »
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

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #41 on: July 09, 2016, 04:31:13 AM »
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.
« Last Edit: July 09, 2016, 04:34:34 AM by IROXproX »

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #42 on: July 09, 2016, 05:17:07 AM »
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?

Offline Weather Display

  • Posts: 81,456
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 51.0.2704.103
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #43 on: July 09, 2016, 05:28:03 AM »
let me know what the raw data shows for this test version
http://www.weather-display.com/downloadfiles/consolewdiroxtest.zip

Offline IROXproX

  • Posts: 20
  • from the Land of Mountains & Banks - Switzerland
  • OS/Browser:
  • (Linux Mint)
  • Firefox 47.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #44 on: July 09, 2016, 07:58:18 AM »
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.
« Last Edit: July 09, 2016, 08:01:14 AM by IROXproX »