[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-05-28 Thread Kimmo Linna
I just installed the latest version of pyserial by downloading the package from web page and now the driver of cp210x works nicely in Raspberry Pi. I still have some issues with WMR89 driver aka wmr89.py but I think those will be sorted out quite nicely in GitHub. Best regards, Kimmo

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-05-26 Thread Kimmo Linna
Hi Andr3id, Did you manage to solve the problem? Or do you have instruction how to do a quick fix? I am getting the broken pipe error with my version. Best regards, Kimmo On Saturday, January 27, 2018 at 1:42:27 AM UTC+2, andr3id wrote: > > mwall, as I've stated before, the cp210x driver can n

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-04-04 Thread 'RodA' via weewx-development
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()

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-04-02 Thread 'Rod Avery' via weewx-development
Hi All, I recently received a WMR89a and have been trying to get it to talk to weewx. I have been reading through all the posts and discovered mwall's driver in github. I don't seem to have the unit talking to weewx as there are a lot of errors in the syslog and was wondering if you could poin

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-26 Thread andr3id
mwall, as I've stated before, the cp210x driver can not handle the ioctl requests TIOCGSERIAL and TIOCSSERIAL which many serial communication clients use and the fallback in the tty driver seems to not allow the baud rate 128000 to be set. The baud rate can however be set with other ioctl reque

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-26 Thread mwall
oops! andr3id not ray!

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-26 Thread mwall
On Friday, January 26, 2018 at 4:34:07 PM UTC-5, andr3id wrote: > > It worked with a newer version of Python and a newer pyserial. I've build > python 3.6.4 on the RPi and then installed pyserial through the built-in > pip tool. To test the weewx driver I have to fix a newer Python 2 on RPi > an

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-26 Thread andr3id
It worked with a newer version of Python and a newer pyserial. I've build python 3.6.4 on the RPi and then installed pyserial through the built-in pip tool. To test the weewx driver I have to fix a newer Python 2 on RPi and then I'll spend some time to verify the data.

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-25 Thread andr3id
I did a bit of quick research and found out a couple of things. The cp210x driver seems to not be able to handle TIOCGSERIAL and TIOCSSERIAL ioctl wich happens to be used by all serial communication programs that I have on RPi, to set the non standard baud rate. I have an older version of pyser

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-24 Thread andr3id
Matthew, I now understand what you mean, because I also have the problem with baud rate on a raspberry pi running raspbian with kernel 4.1.19+. What is working on another computer with ubuntu, doesn't work on the RPi. The baud rate 128000 can not be set. I will investigate a bit and see if I ca

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-23 Thread Ray Kinsella
Hey all, This is great news ... really great! It should be very possible in that case to reuse the driver I have been developing for the WMR89. The arduino sketch I was developing was just dumping the sensor data to the wire anyway. If that is all the base station is doing, it should be possib

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-18 Thread andr3id
Oh, I'b a bit behind... I've probably should have read your work before posting :) If this works then the patch is probably not needed for having WMR89 show up as /dev/ttyUSB0. sudo sh -c 'echo 0fde ca0a > /sys/bus/usb-serial/drivers/cp210x/new_id But maybe the hints are useful to map a stand

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-18 Thread andr3id
On Wednesday, January 17, 2018 at 11:55:23 PM UTC+1, mwall wrote: > > On Wednesday, January 17, 2018 at 5:32:07 PM UTC-5, andr3id wrote: >> >> Anyway, with the information found on wxforum >> , I've managed to >> modify a linux kernel driver to m

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-17 Thread mwall
On Wednesday, January 17, 2018 at 5:32:07 PM UTC-5, andr3id wrote: > > Anyway, with the information found on wxforum > , I've managed to modify > a linux kernel driver to make the WMR89 show up as a USB serial interface > in Linux. > welcome! co

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-17 Thread andr3id
Hi! Sorry for just posting here, I'm new to this group... Anyway, with the information found on wxforum , I've managed to modify a linux kernel driver to make the WMR89 show up as a USB serial interface in Linux. I've also been able to receive

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-10 Thread mwall
ray, 'marunio' over at wxforum figured out that the baud rate on the wmr89 is non-standard. that is why no one has been able to make any sense of the comms. now that we know the baud rate (128000) it should be pretty easy to make a weewx driver for the wmr89. it looks like the communications

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-02 Thread Ray Kinsella
Thanks M! On Tuesday, January 2, 2018 at 1:17:46 AM UTC, mwall wrote: > > > you might want to do this as a standalone driver instead of try to merge > the functionality into the wmr9x8 driver. > Presume this is reduce the risk of messing up anyone using the wm918 and wm918 after upstreaming? I

[weewx-development] Re: [RFC] Support for the Oregon Scientific WMR89

2018-01-01 Thread mwall
ray, nice work! you might want to do this as a standalone driver instead of try to merge the functionality into the wmr9x8 driver. it probably means quite a bit of code duplication, at least for the first implementation. but there is already a lot of duplication between the wmr drivers (othe