Command not found when running sudo ./configure && make for libhid

Just noticed. I’ve got an WMR180 not a 100.

I select the 100 in consolewd as that is what I select in the Windows version.

Is this perhaps the issue? The 180 isn’t actually supported in consolewd?

i wonder if there is data packets missing
i.e I might need to increase the time out

try setting in the config.txt
wmr200 data read delay=
default is 1000
try increasing that
(restart consolewd)

Thanks.

I’ve increased it to 5000 and then 15000 but still get the same issue.

wmr200 data read delay= 5000
data read length ->50
 FF FF 30 60 00 00 2D 15 0D 01 12 00 F2 00 FF FF 00 46 E3 03 F7 03 26 02 FF FF 00 48 08 0C 1C C0 01 01 00 3A 01 FF FF 00 42 00 C0 00 30 50 00 00 20 A2
send PC ready result 1
data read length ->15
 01 FF FF 00 42 C1 2A 00 58 1E 00 00 20 C3 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 : Temperature= 3.2 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=88 Barometer=1013.0 Daily Rain=0.0

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)

try
http://www.weather-display.com/downloadfiles/consolewdtest.zip

more debug info about the barometer data (just concentrating on one thing at a time )

That’s the new consolewd in place and this is what I’m seeing:

send PC ready result 1
data read length ->15
 01 FF FF 00 42 C1 29 00 59 1E 00 00 20 C3 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
 baro crc sum 151 crc 451
temperature found, sensor # 0
Temperature data found
Baro Data OK
send PC ready result 1
Current data 23:16:46: Temperature= 3.1 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=89 Barometer=1013.0 Daily Rain=0.0

try another update
http://www.weather-display.com/downloadfiles/consolewdtest.zip

I’ve tested the new version and no difference in readings.

I do notice that it no longer says “Baro Data OK”

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

Here is the output.

Interesting that 1013 is the default value. I was wondering why it had this figure.

data read length ->15
01 FF FF 00 42 C1 23 00 59 14 00 00 20 B3 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
send PC ready result 1
Current data 10:52:11: Temperature= 2.5 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=89 Barometer=1013.0 Daily Rain=0.0
**** doing minute routines now 10:52:11
**** updating clientraw extra files
**** updating data logs

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

actually in checking my code, all the raw data that arrives is shown
e.g like
data read length ->15
01 FF FF 00 42 C1 23 00 59 14 00 00 20 B3 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

can you collate and post all that data that arrives?

Hi,

I’ve uploaded the output from running consolewd for a while to my website:

http://digitalessence.net/weather/console-output.txt

thanks,

Hedley

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)

I will work on that and let you know

Sweet. That’s great news, thank you.

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.

try vers 14.0
http://www.weather-display.com/downloadfiles/consolewdtest.zip

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.

Thanks.

Current data 10:15:37: Temperature= -0.5 Windspeed =8.6 Gustspeed =8.6 Direction =270 Humidity=98 Barometer=1013.0 Daily Rain=0.0
data read length ->15
 01 FF FF 00 42 C1 05 00 62 0A 00 00 20 94 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
 01 FF FF 00 42 C1 05 00 62 0A 00 00 20 94 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 01 FF FF 00 42 C1 05 00 62 0A 00 00 20 94 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
send PC ready result 1
Current data 10:15:53: Temperature= -0.5 Windspeed =8.6 Gustspeed =8.6 Direction =270 Humidity=98 Barometer=1013.0 Daily Rain=0.0

the barometer data does not update very often
it should come in though
re the temperature, maybe you have set a temperature offset in the config.txt file
??

Good spot. The config I was using was the one supplied with the image and had a -1 in temp offset=

I have now removed this and the temp is correct.

So

  1. windspeed & gustspeed are still duplicated with the same value for both
  2. Will wait for the barometer to update until which time I assume it will sit at the default 1013.0 it has updated and is now showing the correct reading.

I’ve uploaded the output from running the most recent version of consolewd to my website:

http://digitalessence.net/weather/console-output.txt
thanks.

the default config.txt does not have a -1 for temp offset

anyway, I will check on the windspeed

I have checked and the windspeed and gustspeed should be different data
but I could add debug code to show the raw data coming in