mrgmarsh / wfrog

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

Accumulated rain over 24 hours in wfrog differs from the LCD display, with wh1080 #136

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a wh1080 device and wait for rain fall
2. Compare the rain fall displayed on the LCD with that of wfrog

What is the expected output? What do you see instead?

I expect the accumulated rain over 24 hours to be similar, however instead it 
differs with a factor equal to the scaling applied in the wh1080.py station 
driver. Removing the scaling makes the values identical.

What version of the product are you using? On what operating system?

The weather station is an EasyWeather compatible station sold by swedish 
company Kjell&co under the name "Trådlös väderstation", however it is 
visually identical to other WH1080 marked station.

WFrog version 0.8.2 running under Ubuntu Server 13.04

Please provide any additional information below.

I do not understand the scaling factor applied in revision 810. The log only 
says that the revision introduces "corrections by janc". Some of the changes in 
that revision seem to be related to how wh1080 encodes its data. Could it be 
that it differs between models?

I've attached a patch that removes the scaling factor on the rain and this 
patch fixes the problem for me with my model, however if other stations show 
the correct measures with that scaling intact, maybe a more complicated 
solution is needed.

I have only verified that wfrog, with the patch applied, shows the same 
accumulated rain as the display on the weather station. I have NOT verified 
that this is actually a correct value.

Original issue reported on code.google.com by karljoha...@gmail.com on 18 Aug 2013 at 5:58

Attachments: