Hi mwall,

I tried to use your driver but get the following error. is there an easy 
fix for this?

Thanks.

Apr 04 16:44:06 weatherstation weewx[6069]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 871, in main
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****      engine.run()
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****    File 
> "/usr/share/weewx/weewx/engine.py", line 187, in run
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****      for packet in 
> self.console.genLoopPackets():
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****    File 
> "/usr/share/weewx/user/wmr89mwall.py", line 106, in genLoopPackets
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****      for pkt in 
> self.station.get_data():
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****    File 
> "/usr/share/weewx/user/wmr89mwall.py", line 222, in get_data
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****      (ord(x), 
> _fmt(a[i])))
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****  TypeError: ord() 
> expected a character, but string of length 2 found
> Apr 04 16:44:06 weatherstation weewx[6069]:     ****  Exiting.



On Wednesday, 17 January 2018 22:55:23 UTC, mwall wrote:
>
> On Wednesday, January 17, 2018 at 5:32:07 PM UTC-5, andr3id wrote:
>>
>> Anyway, with the information found on wxforum 
>> <https://www.wxforum.net/index.php?topic=27581.0>, I've managed to 
>> modify a linux kernel driver to make the WMR89 show up as a USB serial 
>> interface in Linux.
>>
>
> welcome!  could you post the instructions for what you did to modify the 
> kernel driver?  based on conversations with marunio, i wrote a wmr89 driver 
> that *should* properly decode data.  unfortunately, all of the hardware i 
> have at hand has serial drivers that refuse to permit the non-standard baud.
>
> my work thus far is here:
>
> https://github.com/matthewwall/weewx-wmr89
>
> this should be an easy one to add to the weewx core.
>
> m 
>

Reply via email to