Forum Replies Created
-
AuthorPosts
-
SplintersParticipantI found a workaround. I edited manually the saved configuration backup file and replaced the location info like this: “loc”:”pws:ibudapes63″. This works fine. It would be good to edit directly this location info in the GUI.
I totally agree with this suggestion. Rich Zimmerman’s sprinklers_pi program allows direct entry of the PWS name, which ensures that you are receiving Wunderground updates from the weather station of your choice. I have my own weather station on my roof which is registered with Wunderground, so that’s the one I want to use for weather adjustments to my watering schedules.
@sakos – thanks for the workaround. That helped a lot.January 21, 2014 at 11:51 pm in reply to: sprinklers_pi – An alternative sprinkler control program #25048
SplintersParticipant@rszimm wrote:
The API allows you to combine two different “pages” of information into a single call. The “yesterday” in the URL gives me data for what happened yesterday. The “conditions” in the URL gives me data for current conditions. Put them both in the URL and you’ll get everything in one API call. Here’s a link to the API documentation: http://api.wunderground.com/weather/api/d/docs
Ah, thanks Rich – I’ve learned something.
I guess it’s never rained on the same day I’ve run the diagnostic check 🙂I’ve just received and installed the OpenSprinkler Pi board and it all works great! Thanks for a brilliant web interface!
January 21, 2014 at 9:10 pm in reply to: sprinklers_pi – An alternative sprinkler control program #25046
SplintersParticipant@rszimm wrote:
@Splinters wrote:
Hi Rich,
Thanks for taking the time to produce such an excellent control interface for OpensprinklerPi.
I’ve been looking at the way you adjust the schedule using WUnderground and have this question. How does the program adjust for today’s rainfall given that the API calls refer only to yesterday’s conditions?Yes, it looks at today’s rainfall as well. If you look at the WUnderground Check screen (under the Advanced menu), you should see “Precip Today”.
I can see that, but the only references to the WUnderground api calls I can find are retrieving values for “yesterday”:
if (usePws)
snprintf(getstring, sizeof(getstring), "GET /api/%s/yesterday/conditions/q/pws:%s.json HTTP/1.0nn", key, pws);
else
snprintf(getstring, sizeof(getstring), "GET /api/%s/yesterday/conditions/q/%ld.json HTTP/1.0nn", key, (long) zip);
Am I missing something? I’ve never seen anything but a zero value for “Precip Today”.
January 2, 2014 at 1:31 pm in reply to: sprinklers_pi – An alternative sprinkler control program #25038
SplintersParticipantHi Rich,
Thanks for taking the time to produce such an excellent control interface for OpensprinklerPi.
I’ve been looking at the way you adjust the schedule using WUnderground and have this question. How does the program adjust for today’s rainfall given that the API calls refer only to yesterday’s conditions? -
AuthorPosts