rszimm / sprinklers_pi

Sprinkling System Control Program for the Raspberry Pi
GNU General Public License v2.0
310 stars 100 forks source link

local sensor array vs wunderground #26

Closed mfrostus closed 5 years ago

mfrostus commented 10 years ago

is there any way to point ospi at my Davis weather station directly or is it only possible through wunderground? I have been unable to get wunderground to properly publish my soil moisture, leaf wetness or soil temp data even though it it being published by my system locally and wunderground has placeholders /headings for those variables. I have a Davis Vantage Pro2 Plus weather station plus a separate leaf and soil sensor array and the Davis gear is broadcasting all the variables but Wunderground ust doesn't seem able to get the numbers displayed for the leaf and soil sensor even though it seems to know it's there.

What I really want to do is use the existing weather data and have the ospi calculate realtime ET (evapotranspiration) and use that and soil moisture from my remote sensors to modify my watering tables. I've got really porous volcanic cinder soil so i need to water a little very frequently as the water passes through the root mass quickly so potential for water saving using et and sm are huge...if i can just get it to work.

mfrostus commented 10 years ago

oh, my wunderground station is KHIPHOA5

nhorvath commented 10 years ago

Is there an ip address you can locally query your station that returns something usable like json or xml?

On Thu, May 29, 2014 at 11:47 AM, mfrostus notifications@github.com wrote:

oh, my wunderground station is KHIPHOA5

Reply to this email directly or view it on GitHubhttps://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44547149 .

mfrostus commented 10 years ago

well, the public ip for the station is 172.243.15.26

mfrostus commented 10 years ago

fyi, i do have a wired output block for the weather station that outputs solar, wind, rain, et, and alarm which can be set up to output a binary alarm from soil moisture. the other outputs are pulse so you can set threasholds in the connected controller.

mfrostus commented 10 years ago

my best case situation is to have the ospi control 24 valves, and monitor three flow sensors and be able to corresponding mater valves if a break is observed and also send an alarm. And, of course, monitor soil moisture and et, and of course rain, wind, tempt and allow me to set thresholds using these variables to set watering rules modifying existing programs. eventually i'd like to toss archaic scheduling altogether and let the thing figure out optimal watering patterns given the sensor data and the rules/thresholds i input.

nhorvath commented 10 years ago

I get no response from http://172.243.15.26 is it running on a different port?

On Thu, May 29, 2014 at 11:57 AM, mfrostus notifications@github.com wrote:

my best case situation is to have the ospi control 24 valves, and monitor three flow sensors and be able to corresponding mater valves if a break is observed and also send an alarm. And, of course, monitor soil moisture and et, and of course rain, wind, tempt and allow me to set thresholds using these variables to set watering rules modifying existing programs. eventually i'd like to toss archaic scheduling altogether and let the thing figure out optimal watering patterns given the sensor data and the rules/thresholds i input.

Reply to this email directly or view it on GitHubhttps://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44548343 .

mfrostus commented 10 years ago

not sure. the weatherlink report says that's the active, public ip for the station but i get nothing either.

nhorvath commented 10 years ago

According to the documentation here: http://www.davisnet.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf It's not in a nice format so I guess your options are to ask wunderground to map the datapoints for your station type or to write some intermediate code to decode the data yourself into a format that ospi can use.

On Thu, May 29, 2014 at 12:11 PM, mfrostus notifications@github.com wrote:

not sure. the weatherlink report says that's the active, public ip for the station but i get nothing either.

Reply to this email directly or view it on GitHubhttps://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44550046 .

mfrostus commented 10 years ago

I've spoken with Davis support yesterday and they checked out my Weatherlink account which takes the feed form my Vantage Pro2 Plus weather station and uploads that data to Wunderground. We can see all the data including soil moisture and temp, leaf wetness and temp. Sadly, Wunderground only hows headings for these variables but only dashes, no numbers even though they show up in my Weatherlink summary. I've written to Wunderground but no reply. Assuming you have an API key and account with them as a dev, you might get a better reply. Mt station ID is KHIPHOA5

On Thu, May 29, 2014 at 6:20 AM, nhorvath notifications@github.com wrote:

According to the documentation here:

http://www.davisnet.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf It's not in a nice format so I guess your options are to ask wunderground to map the datapoints for your station type or to write some intermediate code to decode the data yourself into a format that ospi can use.

On Thu, May 29, 2014 at 12:11 PM, mfrostus notifications@github.com wrote:

not sure. the weatherlink report says that's the active, public ip for the station but i get nothing either.

Reply to this email directly or view it on GitHub< https://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44550046>

.

— Reply to this email directly or view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44551207.

nhorvath commented 10 years ago

Ok so it is possible to get your data to show somehow. This station is the same hardware as you and showing data: http://www.wunderground.com/personal-weather-station/dashboard?ID=KTXMCKIN27 and it comes back in the api

    "soil_temp_f": "72.0",
    "soil_moisture": "14.0",
    "leaf_wetness": "0.0",

I found his station info in this thread about configuring soil moisture: http://www.wxforum.net/index.php?topic=22438.0

So it sounds like either it's the software you're using to report to wunderground (he's using WeatherDisplay:10.37) or it's just a misconfiguration in your wunderground setup for your PWS.

On Thu, May 29, 2014 at 12:49 PM, mfrostus notifications@github.com wrote:

I've spoken with Davis support yesterday and they checked out my Weatherlink account which takes the feed form my Vantage Pro2 Plus weather station and uploads that data to Wunderground. We can see all the data including soil moisture and temp, leaf wetness and temp. Sadly, Wunderground only hows headings for these variables but only dashes, no numbers even though they show up in my Weatherlink summary. I've written to Wunderground but no reply. Assuming you have an API key and account with them as a dev, you might get a better reply. Mt station ID is KHIPHOA5

On Thu, May 29, 2014 at 6:20 AM, nhorvath notifications@github.com wrote:

According to the documentation here:

http://www.davisnet.com/support/weather/download/VantageSerialProtocolDocs_v261.pdf It's not in a nice format so I guess your options are to ask wunderground to map the datapoints for your station type or to write some intermediate code to decode the data yourself into a format that ospi can use.

On Thu, May 29, 2014 at 12:11 PM, mfrostus notifications@github.com wrote:

not sure. the weatherlink report says that's the active, public ip for the station but i get nothing either.

Reply to this email directly or view it on GitHub< https://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44550046>

.

Reply to this email directly or view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44551207.

Reply to this email directly or view it on GitHubhttps://github.com/rszimm/sprinklers_pi/issues/26#issuecomment-44554691 .

Pascal66 commented 9 years ago

Wunderground take 630Mo in 10 days. Just for having history for a day every 15mn. It's not a way to do a good irrigation scheduler. IMHO