mrgmarsh / wfrog

Automatically exported from code.google.com/p/wfrog
GNU General Public License v3.0
0 stars 0 forks source link

Current conditions section always shows same wind/gust speed. #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Wfrog Running Normally.
2. Open any rendered page.
3. Current conditions always shows wind speed and gust speed the same.

What is the expected output? What do you see instead?
I would like to see the gust speed over the last x period. If not then remove 
the tag completely as it is redundant.

What version of the product are you using? On what operating system?
0.8.2
Linux raspberrypi 3.2.27+ #160 PREEMPT Mon Sep 17 23:18:42 BST 2012 armv6l 
GNU/Linux

WMR88A station using WMR200 driver.

Original issue reported on code.google.com by chris.br...@gmail.com on 24 Sep 2012 at 12:26

GoogleCodeExporter commented 9 years ago
Sorry I'm using the WMRS200 driver not the WMR200 driver as stated above. The 
Gust speed seems to be recorded in storage and plotted correctly on the graphs. 
I see that this gust works correctly on other systems and or drivers. But 
notice that another user with the WMR88A has the same issue.

Original comment by chris.br...@gmail.com on 26 Sep 2012 at 12:02

GoogleCodeExporter commented 9 years ago
The driver sends the information to the logger and is the logger which writes 
the current conditions xml file. Then this file is used to render the page. 
Therefore if you confirm that wind data is correctly registered and rendered in 
the graphs, there shouldn't be any problem in the current data visualization.
I can point you to two WMRS200 installations where I don't see this problem:
http://www.puigsegur.cat/meteosonrebassa/3hours.html
http://www.6tec.es/estacio/3hours.html
BTW, It is possible to find gust values lower than average speeds, because the 
average is taken over a period of time whereas the gust value is the last one. 

Original comment by jordi.pu...@gmail.com on 26 Sep 2012 at 1:46

GoogleCodeExporter commented 9 years ago
This station http://www.berg-olsen.net/ also seems to exhibit the same issue.

So the driver WMRS200 seems ok as it's logging ok. What else could be causing 
the problem?

Original comment by chris.br...@gmail.com on 26 Sep 2012 at 2:02

GoogleCodeExporter commented 9 years ago
Here is a tail from my wflogger.log
Looks as if gust and wind are the same here also.

2012-09-26 15:18:53,743 INFO [station.wmrs200] UV   Battery Ok: True UV Index: 0
2012-09-26 15:19:00,727 INFO [station.wmrs200] Wind Battery Ok: True direction: 
0 (360/N), gust: 1.6 m/s, avg. speed: 1.6 m/s
2012-09-26 15:19:01,711 INFO [station.wmrs200] Clock 26/9/2012 15:19, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:19:09,687 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 993.0 mb, Sea Level Pressure: 993.0
2012-09-26 15:19:28,617 INFO [station.wmrs200] Rain Battery Ok: True Rate 
0.762, This Hr 0, This Day 10.414, Total 178.816 since 2009/ 1/ 1 12: 0
2012-09-26 15:19:49,739 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:20:00,740 INFO [station.wmrs200] Wind Battery Ok: True direction: 
8 (180/S), gust: 0.9 m/s, avg. speed: 0.9 m/s
2012-09-26 15:20:01,674 INFO [station.wmrs200] Clock 26/9/2012 15:20, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:20:28,619 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 993.0 mb, Sea Level Pressure: 993.0
2012-09-26 15:20:44,655 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:20:45,789 INFO [station.wmrs200] Rain Battery Ok: True Rate 
0.762, This Hr 0, This Day 10.414, Total 178.816 since 2009/ 1/ 1 12: 0
2012-09-26 15:21:00,793 INFO [station.wmrs200] Wind Battery Ok: True direction: 
12 (270/W), gust: 1.3 m/s, avg. speed: 1.3 m/s
2012-09-26 15:21:00,804 INFO [collector.aggregator] New period
2012-09-26 15:21:01,780 INFO [station.wmrs200] Clock 26/9/2012 15:21, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:21:28,636 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 993.0 mb, Sea Level Pressure: 993.0
2012-09-26 15:21:28,643 INFO [station.wmrs200] UV   Battery Ok: True UV Index: 0
2012-09-26 15:21:33,686 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:21:34,794 INFO [station.wmrs200] Wind Battery Ok: True direction: 
12 (270/W), gust: 1.3 m/s, avg. speed: 1.3 m/s
2012-09-26 15:21:41,747 INFO [station.wmrs200] Temp Battery Ok: True Sensor th1 
 Temperature: 14.6 C (Rising), Humidity: 96 % (Fair, Steady), Dew Point: 14 C
2012-09-26 15:22:00,747 INFO [station.wmrs200] Wind Battery Ok: True direction: 
3 (67/ENE), gust: 1.5 m/s, avg. speed: 1.5 m/s
2012-09-26 15:22:01,799 INFO [station.wmrs200] Clock 26/9/2012 15:22, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:22:17,686 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 993.0 mb, Sea Level Pressure: 993.0
2012-09-26 15:22:17,690 INFO [station.wmrs200] UV   Battery Ok: True UV Index: 0
2012-09-26 15:22:28,617 INFO [station.wmrs200] Rain Battery Ok: True Rate 
0.762, This Hr 0, This Day 10.414, Total 178.816 since 2009/ 1/ 1 12: 0
2012-09-26 15:22:37,749 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:23:00,677 INFO [station.wmrs200] Wind Battery Ok: True direction: 
0 (360/N), gust: 1.7 m/s, avg. speed: 1.7 m/s
2012-09-26 15:23:01,740 INFO [station.wmrs200] Clock 26/9/2012 15:23, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:23:19,687 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 993.0 mb, Sea Level Pressure: 993.0
2012-09-26 15:23:20,793 INFO [station.wmrs200] Wind Battery Ok: True direction: 
0 (360/N), gust: 1.7 m/s, avg. speed: 1.7 m/s
2012-09-26 15:23:26,795 INFO [station.wmrs200] Temp Battery Ok: True Sensor th1 
 Temperature: 14.5 C (Rising), Humidity: 96 % (Fair, Steady), Dew Point: 14 C
2012-09-26 15:23:28,626 INFO [station.wmrs200] UV   Battery Ok: True UV Index: 1
2012-09-26 15:23:29,749 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:23:33,751 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 994.0 mb, Sea Level Pressure: 994.0
2012-09-26 15:23:51,721 INFO [station.wmrs200] Wind Battery Ok: True direction: 
12 (270/W), gust: 1.5 m/s, avg. speed: 1.5 m/s
2012-09-26 15:24:00,789 INFO [station.wmrs200] Rain Battery Ok: True Rate 
0.762, This Hr 0, This Day 10.414, Total 178.816 since 2009/ 1/ 1 12: 0
2012-09-26 15:24:01,720 INFO [station.wmrs200] Clock 26/9/2012 15:24, power: 3, 
Powered: True, Battery: True, RF: False
2012-09-26 15:24:28,627 INFO [station.wmrs200] Barometer Forecast: Sunny, 
Absolute pressure: 994.0 mb, Sea Level Pressure: 994.0
2012-09-26 15:24:29,379 INFO [collector.xmlfile] Calculated last 12 hours mean 
temp: 12.4
2012-09-26 15:24:29,682 INFO [station.wmrs200] Temp Battery Ok: True Sensor 
thInt  Temperature: 19.4 C (Steady), Humidity: 69 % (-, Steady), Dew Point: 13 C
2012-09-26 15:24:39,787 INFO [station.wmrs200] Wind Battery Ok: True direction: 
7 (157/SSE), gust: 0.9 m/s, avg. speed: 0.9 m/s

Original comment by chris.br...@gmail.com on 26 Sep 2012 at 2:25

GoogleCodeExporter commented 9 years ago
IT might be some problem with the driver and the WMR88A station. Maybe some 
protocol change?

Original comment by jordi.pu...@gmail.com on 26 Sep 2012 at 2:42

GoogleCodeExporter commented 9 years ago
Is there any way I can help debug this further?

Original comment by chris.br...@gmail.com on 26 Sep 2012 at 2:52

GoogleCodeExporter commented 9 years ago
It looks like this is a hardware restriction of the WMR88. Please, have a look 
at the following thread:

http://sourceforge.net/projects/wmrx00/forums/forum/855159/topic/4046776

Original comment by jordi.pu...@gmail.com on 26 Sep 2012 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by jordi.pu...@gmail.com on 29 Sep 2012 at 2:20