Hello.
Thank you "ACommonMan" for working on this. I confirm that this manual is 
still functional.
I just connected my old Oregon wmr89 weather station.

OS: Running a Raspberry Pi Zero W.
WeeWX 4.4.0. installation from a DEB package.

*Differences from the above installation of the WMR89 driver .....*
*https://github.com/matthewwall/weewx-wmr89 This driver didn't work for me!*

I used this: https://github.com/tkeffer/weewx-wmr89  *!!no need to modify 
this driver!!*
This is actually a driver from the user "fcauwe" modified for the 
installation of OS from a DEB package.

*Step 1 is different:*
*Use Download the .zip file from ... https: 
//github.com/tkeffer/weewx-wmr89*

Then follow the step by step instructions "ACommonMan"

I hope I can help other WMR89 users.
Peter

Dne čtvrtek 27. června 2019 v 13:39:51 UTC+2 uživatel Vann Du Pappa napsal:

> Hi,
> Thanks for detailed instructions!
> I'm curious about status. Have you encountered any problems with the 
> setup, or even with the WMR 89 itself? I'm planning to upgrade from my 
> current WMR100 to WMR89, and want to make sure it is working fine before I 
> invest!
> Cheers,
> Hans
>
>
> Den söndag 30 september 2018 kl. 13:49:29 UTC+2 skrev ACommonMan:
>>
>> Hopefully this will help others trying to configure the Oregon Scientific 
>> WMR 89/89A weather station.
>>
>> OS: Running a Raspberry Pi Zero W Rev 1.1
>>
>> Thanks to all who have contributed to the driver for the Oregon Scientifc 
>> WMR 89/89A weather station. THE DRIVER IS AVAILABLE FROM from the original 
>> author, Matthew Wall at: https://github.com/matthewwall/weewx-wmr89.
>>
>> I've had to make a few additions/amendments to the driver to get it 
>> working so I thought I'd add a post in case anyone else is having similar 
>> difficulties. I've also attached the modified driver file I'm using if this 
>> is easier, but the changes are minor so you may prefer to make them 
>> yourself. [SEE ATTACHED modified 'wmr89.py'. Full installation procedure 
>> outlined below.]
>>
>> [1] CHANGES to original 'wmr89.py'
>>
>> (a) on line 222,
>>       change 'ord(x)' to 'ord(x[0])'
>> (b) on line 107,
>>       change 'logdbg("sensors: $s" % pkt)' to 'logdbg("sensors: %s" % 
>> pkt)'
>> (c) on line 82,
>>       change 'rainRate' to 'rain'
>> (d) on line 113,
>>       change 'self._calculate_rain_delta(packet)' to
>>       #if packet contains rain data then calculate rain increment
>>       if self.sensor_map['rain_total'] in packet:
>>             self._calculate_rain_delta(packet)
>>
>> Thats all.
>>
>>
>> [2] FULL INSTALLATION DETAILS
>>
>> The full configuration for the WMR89/89A I followed was: (I have assumed 
>> that you have already downloaded and installed the weewx software (Debian 
>> version as I'm working on a Raspberry Pi. If you haven't done this yet, 
>> during the installation choose the 'Simulator' weather station, although 
>> this is not essential.)
>>
>> STEP 1:
>> Download the .zip file from https://github.com/matthewwall/weewx-wmr89, 
>> by entering the following commands (careful with 0's (zeros) and O's 
>> (capital letter 'oh'))
>>
>> wget -O weewx-wmr89.zip 
>> https://github.com/matthewwall/weewx-wmr89/archive/master.zip
>> sudo wee_extension --install=weewx-wmr89.zip
>>
>> STEP 2:
>> Add the CP210X kernel module, by entering the commands:
>>
>> sudo modprobe cp210x
>> sudo sh -c 'echo 0fde ca0a > /sys/bus/usb-serial/drivers/cp210x/new_id'
>>
>> STEP 3:
>> The original driver for the WMR 89/89A is at 
>> '/usr/share/weewx/user/wmr89.py'.
>>
>> Either modifiy this file (type 'sudo nano wmr89.py' having changed to the 
>> directory '/usr/share/weewx/user/'), or copy the updated 'wmr89.py' 
>> attached to this post to the directory '/usr/share/weewx/user/', 
>> overwriting the original 'wmr89.py'.
>>
>> STEP 4:
>> Reconfigure weewx. [Note, when selecting a station, choose 'WMR89' and 
>> the connection should be too device '/dev/ttyUSB0'.]
>>
>> sudo wee_config --reconfigure
>>
>> STEP 5:
>> Run weewx by entering the command
>>
>> sudo weewxd /etc/weewx/weewx.conf
>>
>> RESULT:
>> You should see a stream of output to the terminal with readings from the 
>> weather station. At this point you can stop weewx and run it rather as a 
>> daemon, using (see weewx User Guide)
>>
>> sudo /etc/init.d/weewx start
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d4b5de73-f49b-478c-b712-bae7a3e28fe1n%40googlegroups.com.

Reply via email to