Another update (sorry).
I reset the USB hub and as soon as I did I started to get different results in the console and things are looking up again.
**** doing minute routines now 11:25:01
**** updating clientraw extra files
**** updating data logs
updating wunderground
Sending WU data now
updating records to ini file
WU data to send http://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=ISCOTTIS5&PASSWORD=WU9bh73xa&dateutc=2018-01-09+11%3A26%3A01&winddir=000&windspeedmph=0&windgustmph=0&humidity=0&tempf=55.4&rainin=0.00&baromin=29.914&dewptf=122.0&weather=&clouds=&dailyrainin=0.00&solarradiation=0.0&UV=0.0&softwaretype=WeatherDisplay%3AWD_console_13.0&action=updateraw
Wunderground data send Ok 11:25:03
data read length ->50
FF FF 30 60 00 00 19 0B 09 01 12 00 D0 00 FF FF 00 46 D7 13 EB 23 3E 02 FF FF 00 48 0C 0C 0D D0 00 00 10 4D 01 FF FF 10 42 00 AC 00 2F 3C 00 00 20 89
Must leave it alone now…
But I can’t. So I edited the config file to enable FTP again and restarted consolewd and again it didn’t work.
Reset the hub/base station connection and it is working again. Seems I have an issue with consolewd not seeing the hub/base station if stopped and restarted.
Could this be because of the issue I had with ./configure && make for libhid or is it something else?
On further inspection I found that my station wasn’t reporting the current pressure to Wunderground correctly. I had a look using the parser at https://www.tnetweather.com/wdparserold/?p=wdparserold and it was showing an old out of date value.
My new outdoor temp/hygro sensor has arrived and upon restarting consolewd I see the same issue. It isn’t updating the .txt files.
I’ve pulled the usb hub from the Pi and put it back into my PC to test and everything is working correctly and I am updating to wunderground as well.
Interestingly, once I pulled the usb hub from the Pi I see this in my console:
data read length ->-1
USBWrite Write Erro Broken pipeUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWrite Write Erro No such deviceUSBWritsend PC ready result 19
data read length ->-1
send PC ready result 19
So it can see the hub, knows when it isn’t connected, says it is getting data but either isn’t, or does but it is incorrect.
restarting consolewd shows:
Weather Display vers WD_console_13.0
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
Cannot connect to station: Device or resource busy
WMR100 opened OK
EDIT (again):
I revisited the sudo ./configure && make issue I was having and after a bit of googling I found that if I use
sh configure && make
It works.
So, now I have the following in my console:
send PC ready result 1
Current data 16:21:06: Temperature= 1.7 Windspeed =0.0 Gustspeed =0.0 Direction =0 Humidity=79 Barometer=1013.0 Daily Rain=0.0
The temp and humidity are as expected as is the timestamp but the barometer is wrong. It should be around 1000. Also there is a wind blowing, not always but often enough that I would expect some wind to show.
My Weather Station is a WMR180 and I set it in the config file to type=232 which is as per the WMR100. I did this because in the Windows version the WMR180 selection was the same as the 100. Is this correct?
Also, if I run a lsusb it shows the station is reporting as a WMRS200.
pi@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 0fde:ca01 Oregon Scientific WMRS200 weather station
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
I’m now at a loss. Anyone got any ideas? is there any further info i can provide that will help fault find?
Thanks again.