Re: [weewx-user] WMR300: Wrong wind direction

2016-09-22 Thread Miguel Iniesta
I will follow your instructions and let you know. Thank you very much. > miguel, > > nice catch! that is some code leftover from decoding the wmr300 data > packets. > > please try the attached wmr300-0.12rc1.py - move aside your existing > wmr300.py and put a copy of 0.12rc1 in its place,

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-21 Thread mwall
On Wednesday, September 21, 2016 at 5:37:27 AM UTC-4, Miguel Iniesta wrote: > > > Hello Andrew, > > I have found the method "_extract_heading" (WMR 300 driver v0.10) is doing > an arithmetic average to get the winDir compass direction. > Can this method be the cause of the wrong directions? >> >>

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-21 Thread Andrew Milner
Yes, I see what you mean!! Seems as though compass is the only reading that does this averaging - I wonder why, unless it is to dampen down an oscillating vane??!!! You could see if this is the cause of the problems - as a workaround - by just returning the last value and not doing the

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-21 Thread Miguel Iniesta
Hello Andrew, I have found the method "_extract_heading" (WMR 300 driver v0.10) is doing an arithmetic average to get the winDir compass direction. Can this method be the cause of the wrong directions? Cheers. On Tuesday, September 20, 2016 at 8:47:27 AM UTC+2, Andrew Milner wrote: > > I

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-20 Thread Andrew Milner
I think you are going to have to run with debug=1 and see what data is in the LOOP and REC records. Is the REC coming from the station, or being generated by weewx software? As far as I can see from a quick look through weewx code it sure seems as though Tom is handling wind\Dir correctly as

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-20 Thread Miguel Iniesta
Hello Andrew, Currently, I donĀ“t have remote access to the server. I will test it as soon as I can. Just one question, as current winDir will continue getting wrong values, this fix is a partial solution to the issue, isn't it? Thank you very much. -- You received this message because you

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-19 Thread Andrew Milner
Tom, the standard skin seems to have an aggregate_type = none in the image section header which covers the day plot and aggregate_type = avg for the week images header - which clearly wont work for the winddir for reasons you gave. I am baffled in that the original plot appeared to be a day

Re: [weewx-user] WMR300: Wrong wind direction

2016-09-19 Thread Miguel Iniesta
Hello Tom, This plot has not been customized. It is the original wind dir plot from skin.conf. [[[daywinddir]]] # Hardwire in the y-axis scale for wind direction yscale = 0.0, 360.0, 45.0 windDir Therefore, the problem is that the value of