OpenSprinkler › Forums › Third-Party Software › Integration with Davis Weather Station? › Reply To: Integration with Davis Weather Station?
Chester Corcos
Hey there, so I have my weather station set up. Now that I’m digging deeper into that github repo you sent me, it just seems a bit too complicated. I don’t want to connect WeatherLink to Wunderground… I have my weather conditions on my local network pretty simply:
`
❯❯❯ curl -X GET -H “application/json” http://weatherlinklive-719e35.local/v1/current_conditions
{“data”:{“did”:”001D0A719E35″,”ts”:1705210312,”conditions”:[{“lsid”:690486,”data_structure_type”:1,”txid”:2,”temp”: 46.9,”hum”:90.9,”dew_point”: 44.4,”wet_bulb”: 45.5,”heat_index”: 46.9,”wind_chill”: 46.0,”thw_index”: 46.0,”thsw_index”: 44.0,”wind_speed_last”:4.00,”wind_dir_last”:130,”wind_speed_avg_last_1_min”:2.75,”wind_dir_scalar_avg_last_1_min”:135,”wind_speed_avg_last_2_min”:2.56,”wind_dir_scalar_avg_last_2_min”:137,”wind_speed_hi_last_2_min”:6.00,”wind_dir_at_hi_speed_last_2_min”:118,”wind_speed_avg_last_10_min”:3.18,”wind_dir_scalar_avg_last_10_min”:128,”wind_speed_hi_last_10_min”:8.00,”wind_dir_at_hi_speed_last_10_min”:136,”rain_size”:1,”rain_rate_last”:0,”rain_rate_hi”:0,”rainfall_last_15_min”:0,”rain_rate_hi_last_15_min”:0,”rainfall_last_60_min”:1,”rainfall_last_24_hr”:39,”rain_storm”:39,”rain_storm_start_at”:1705158841,”solar_rad”:0,”uv_index”:0.0,”rx_state”:0,”trans_battery_flag”:0,”rainfall_daily”:39,”rainfall_monthly”:39,”rainfall_year”:39,”rain_storm_last”:null,”rain_storm_last_start_at”:null,”rain_storm_last_end_at”:null},{“lsid”:690482,”data_structure_type”:4,”temp_in”: 68.3,”hum_in”:42.6,”dew_point_in”: 44.7,”heat_index_in”: 66.5},{“lsid”:690481,”data_structure_type”:3,”bar_sea_level”:30.024,”bar_trend”:-0.006,”bar_absolute”:29.855}]},”error”:null}%
`
I discovered the /su url from another discussion <https://opensprinkler.com/forums/topic/weather-server-call-failures/> and I can easily run a little server on my raspberry pi to proxy the request into the desired format. Is there any documentation about this though? What request is OpenSprinkler sending to get the weather and what should the response look like?
Thanks,
Chet