Ah ok thanks.
So, I think everything is working correctly and I now have my WMR180 connected to my Raspberry Pi 3 feeding into Wunderground and you don’t know how happy this makes me.
Thank you ever so much for all your hard work, coding and testing while I’ve sat for 4 pages on this forum going “nope, doesn’t work”.
EDIT:
I switched from my install provided by mihec which is a console only distro to the Raspbian one provided on the Raspberry Pi website.
I followed the install instructions and oddly the barometer never changed from the default 1013.0 even though I left it all day.
Powered down and restarted the one provided by mihec and within 10 minutes it had picked up the correct barometer reading. This is odd as the other settings were all correct and as expected.
My install procedure is as follows:
1.1 modify /etc/apt/sources.list
sudo pico /etc/apt/sources.list
Add one line to that file, remember to use sudo or use the gui in a root file-manager window
deb http://ftp.nl.debian.org/debian/pool/main/u/udev/libudev-dev_175-7.2_armhf.deb sid main
execute in a terminal window
sudo apt-get install libudev-dev
sudo apt-get install libusb-dev
1.2 install libhid
1.2.1 download from http://alioth.debian.org/frs/?group_id=30451.
1.2.2 modify in the downloaded folder libhid/test/lshid.c line 41
Reads now:
len = ((unsigned long)custom);
modify that one line and add the extra two lines:
//len = ((unsigned long)custom);
len = len;
custom = custom;
1.2.3 When you are in that folder in a terminal window
sudo ./configure && make
Or if you get errors:
sh configure && make
At the end you will may get an error 2 in the make part, ignore that
sudo make install
This finishes without errors
Second step, install and test consolewd
2.1 download from http://www.weather-display.com/downloadfiles/consolewdfilespi.zip
2.2 unzip the folder
2.3 modify the text file config.txt in the unzipped folder with your settings
2.4 Copy the consolewdfiles folder to your pi folder on the RaspberryPI
2.5 Set all rights of the consolewdfiles folder to 777 including all of its its contents
chmod 777 -R consolewd/*
2.6 copy all files from the consolewdfiles/deploy to the systemfolders
Copy libhid.so.0.0 to libhid.so.0
to stop error when running consolewd
cp libhid.so.0.0 libhid.so.0
Then copy all the files.
sudo cp . /usr/lib
sudo cp . /usr/local/lib
Reboot.
sudo ./consolewd