Hello all,

I have been using the driver posted by fcauwe for a little while and am 
getting data through from the WMR89. 

I did notice that it was not reporting rain fall per hour. Looking through 
the code I found the following if statement under *def 
_wmr89_rain_packet(self, packet):*

 if packet[2:4].encode('hex')=='fffe':
           Rh = None
 else:


Looking at the output from the WMR89 it looks like having output in the 
packet containing *fffe* means there is rain data not that there isn't rain 
data. So I modified the code to NOT EQUAL :

 if packet[2:4].encode('hex')*!=*'fffe':
           Rh = None
 else:


I am now getting correct output with regards to rain.

I have also taken Daniels suggestion and added the code from his post.

On a side issue, I am getting the following:
Apr 17 10:34:30 weatherstation weewx[27499]: wmr89: Invalid data packet 
(b3050100b9).

Does anyone know what this packet is? I have a UV sensor connected so could 
it be for that?

Big thank you to all involved in writing the driver for the WMR89 - Very 
helpful!

Rod.



-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to