I’ve tested again on the Pi and I am definitely not getting:
Windspeed
Gustspeed
Direction
as these are all 0 values.
And the Barometer reading is incorrect compared to what I see on the Windows version and the weather station base station.
The temperature and Humidity are correct
This is what I see in the console:
data read length ->15
01 FF FF 00 42 C1 29 00 62 28 00 00 20 D6 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
temperature found, sensor # 0
Temperature data found
Baro Data OK
send PC ready result 1
Current data 08:49:41: Temperature= 4.1 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=98 Barometer=1013.0 Daily Rain=0.0
data read length ->-1
send PC ready result 1
data read length ->-1
send PC ready result 1
data read length ->-1
send PC ready result 1
data read length ->-1
send PC ready result 1
**** doing minute routines now 08:50:03
**** updating clientraw extra files
**** updating data logs
cronftpreal: no process found
and this is the contents of my clientraw.txt file uploaded to my FTP server
I just wanted to point out that although you suggested I wouldn’t need to, I was able install libhid, but I haven’t installed libusb as per the Pi install instructions. I did though copy all the files from consolewdfiles/deploy to the systemfolders .
1.3.2 in a terminal-window go into that folder and type
sudo ./configure --prefix=/usr --disable-static && make
at the end you will get an error 1, ignore those
sudo make install
this finishes without errors
this finishes the first step[/i]
If I can provide any further information please say. And I will of course be chucking a donation your way as this program is fab and I really appreciate your help.
That’s encouraging. I will continue with installing libusb and then if I have no luck, see if I can grab a working iso of someones server and use that instead.
EDIT
AFAIK libusb is installed already
sudo apt-get install libusb-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libusb-dev is already the newest version (2:0.1.12-30).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
“libusb is a cross-platform user-mode library that provides access to USB devices. The project website is at libusb.info. The old project site libusb.org should not be used.”
the barometer reading of 1013 is just the default reading
I will add some more debug code around the baro data that has come in (e.g the crc error check etc)
there must be some differences with this station type compared to the wmr100 for the data output
which does not affect the windows version
but does affect consolewd
which is due to differences in the way it gets the data
i.e consolewd is looking for certain markers
what I will do is output all the raw data as it arrives
OK I see the problem
the data other than temp/hum is arriving all at once, i.e all in the same data line
and so it needs to be split/teased out (the FF’s divde the data)
BTW, have you/anyone else written a doc on how WD works in terms of how it collects and parses the data? Would be interested to know what the process is and what the numbers mean.
That’s looking better. I’m now getting Windspeed, Gust and Direction coming in but the Windspeed and Gustspeed are the same.
Barometer is still showing 1013.0
And the temp data is still off.
On Windows and the weather base station it is showing as 0.5C but in consolewd it is showing as -0.5C. Pressure is showing as 1020 but WD shows it as the default 1013
I noticed a discrepancy in temps on the 14C as well.
Also of note. the temp was showing as 3.5C before and after on Windows and on the base station. On the Pi it was showing as 2.5C
Let me output it to a txt file for a few minutes and upload it again.