|
Post by karambit on Jul 8, 2017 5:28:39 GMT -8
I recently started using the latest GroveWeatherPi script and the rainfall rate is not uploading to Weather Underground. Last night we got almost 1" of rain but the precipitation rate shows 0 the entire night. Looking at the logs it shows values for "rain in the past 60 minutes" but each time it sent data to Weather Underground the value was 0.
|
|
|
Post by SDL on Jul 9, 2017 18:35:19 GMT -8
This sounds like something we may have introduced in this revision. We screwed around with some initialization variables.
We will look at it tomorrow.
BP
|
|
|
Post by karambit on Jul 10, 2017 12:21:05 GMT -8
Ok. I saved a copy of the log file if you would like it.
|
|
|
Post by SDL on Jul 10, 2017 14:14:54 GMT -8
Yes, definitely. We probably will not get to work on this until Thursday.
BP
|
|
|
Post by karambit on Jul 12, 2017 10:05:38 GMT -8
Log attached. The rain first started around 02:33AM and more came around 05:20AM. Attachments:GroveWeatherPi.log.zip (225.2 KB)
|
|
|
Post by karambit on Jul 13, 2017 6:23:41 GMT -8
Also just a note. My rain bucket still reports double the amount of rain it should per interrupt. It goes up by 0.02" instead of 0.01" each time. I am not sure if you are fixing that along with the other rain issues.
|
|
texag
New Member
Posts: 21
|
Post by texag on Jul 13, 2017 11:43:02 GMT -8
Also just a note. My rain bucket still reports double the amount of rain it should per interrupt. It goes up by 0.02" instead of 0.01" each time. I am not sure if you are fixing that along with the other rain issues. I've consistently had more rain than other stations in my area as well (I was recording twice the rain as other stations). I think the problem is either in the rain bucket tip count or the volume of a bucket tip. I checked both and I did not see anything that looked wrong. The rain bucket interrupt routine has a 500 millisecond delay for debouncing the switch. I haven't tested it, but 500 ms seems like that should be enough. I checked the documentation on the volume of a bucket tip (0.2794 mm) and the code checked out OK. So I assumed my bucket was tipping with less volume. I bought an Acu-rite rain gauge and set it out near my station. I used that gauge to calibrate the bucket tip volume. After two rain days my adjusted tip volume was 0.1682 mm. Since I updated SDL_Pi_WeatherRack.py, my station readings are comparable to the other stations in the area. Attached are my changes. Kevin Attachments:
|
|
|
Post by SDL on Jul 13, 2017 14:39:16 GMT -8
Next week is Bug Week! This is on the list. I'm pretty sure this has something to do with the way interrupts are being processed. Something changed in the Raspberry PI OS? This is new.
BP
|
|