cloudy

Author Topic: No data with WMR918  (Read 3096 times)

0 Members and 1 Guest are viewing this topic.

Offline Yves

  • Posts: 559
  • Valfleury France
Re: No data with WMR918
« Reply #30 on: April 14, 2009, 07:08:51 AM »
Yves,

It's an OS918 (it also says WMR968 on the back) attached to the raw serial port (not usb). I'm using Comm 1 and WMR968 settings in WD.

Martin
being away yesterday, this station sends datas to the host on its own. could you do the export DEBUG thing and post a longer trace, so I could understand and maybe find something.

By the way WD calls C functions I developped into libraries, ser_read function is an abstraction of the operation that reads data from a serial port. this is always this function Brian calls from WD, but in the background Brian tells which brand of station is attached to the serial port and consequently which hardware specific function to attach the generic one.. The change I did was to connect the specific function for a Davis VP so WD call this one instead of the OS specific.
Yves
Yves

Offline thegasman

  • Posts: 17
  • Scotland
Re: No data with WMR918
« Reply #31 on: April 14, 2009, 07:06:12 PM »
Yves,
With your libcom and DEBUG set there is nothing else comes through beyond what I have already posted (i.e. one set of data, no more data, no errors). With the original libcom there is an endless stream of ser_read errors.

I now have my laptop dual boot ubuntu/xp and can confirm that WD works flawlessly under XP with the same settings I have under Linux. So it's definately a software issue.

Martin

Offline Weather Display

  • Posts: 64,538
Re: No data with WMR918
« Reply #32 on: April 14, 2009, 07:09:57 PM »
and that software is your linux environment (in regards to the com port)
because other wmr968 users do not have any problems

Offline thegasman

  • Posts: 17
  • Scotland
Re: No data with WMR918
« Reply #33 on: April 15, 2009, 06:27:09 PM »
and that software is your linux environment (in regards to the com port)
because other wmr968 users do not have any problems

I'm sorry Brian, but I don't think it's quite that simple!

I can read the data from my weather station perfectly well through the comm port (ttyS0) in my linux environment, using minicom and logserial. The data flows freely and continuously, and I can extract all the temperatures etc from it and confirm it is the same as is being shown on the weather station screen.

The problem is that Weather Display can't read the data for some reason. I don't know why it works for other people and not me, but there appears to be no problem with other software reading the data in my current setup. I know this is 'donationware', and I don't expect you come up with a solution for me, but I think writing my problems off as an Operating System issue may be a mistake.

All the best,

Martin

Offline Weather Display

  • Posts: 64,538
Re: No data with WMR918
« Reply #34 on: April 15, 2009, 06:45:50 PM »
if it works for others (and you are the only person I know of that it does not work with for a wmr968) then that means there is a problem with your linux setup for the type of serial driver (that Yves created) used by WD




Quote
I know this is 'donationware',

as soon as people start to complain about that its donationware then I (and I think Yves is the same) loose interest in spending time on working on a solution very rapidly


you dont have to donate anything, thanks on postings goes along way (thanks are very hard to come by on this forum unfortunatly, people just expected things all the time)
« Last Edit: April 15, 2009, 06:55:50 PM by windy »

Offline opel70

  • Posts: 126
  • Wheaton, IL
    • http://weather.musaland.com/
Re: No data with WMR918
« Reply #35 on: August 01, 2009, 07:13:48 PM »
Martin,

Did you ever get your 918 working?  It looks like I am getting the same error that you got.

Tim
Tim Musa
http://weather.musaland.com/
WM918 station

Offline Weather Display

  • Posts: 64,538
Re: No data with WMR918
« Reply #36 on: August 01, 2009, 07:43:14 PM »
I dont see alot of point in dragging up an old thread
the original poster is probably long gone now, and would have posted if there was a solution

I would try adding a USB to serial adaptor (see my reply to your other thread about that)

Offline thegasman

  • Posts: 17
  • Scotland
Re: No data with WMR918
« Reply #37 on: August 02, 2009, 08:34:28 AM »
I'm still here!
But no, I'm afraid I didn't ever find a solution.  :( I'm running WD under XP still.

Martin