Author Topic: Two additions for the Serial Web Services API.  (Read 701 times)

IOBridgeAndy

  • Newbie
  • *
  • Posts: 12
Two additions for the Serial Web Services API.
« on: March 15, 2010, 12:11:59 PM »
#1 Sunrise and Sunset times per user location:
Reason: Home automation time reference for lighting on/off control.

Format:
User provides city, state location
API returns Sunrise time (military time) Hrs:Min
API returns Sunset time (military time)  Hrs:Min

#2 Weather forecast for next 7 days at user location.
Reason: Control of water sprinkler valves with projected weather forecast - saves $$$$

Format:
User provides city, state location
API returns day 1-7 with rain 0-100 %

Return example
1 50
2 75
3 0
4 100
5 80
6 90
7 0   

Can it be possibly done?

nick

  • Full Member
  • ***
  • Posts: 174
Re: Two additions for the Serial Web Services API.
« Reply #1 on: March 15, 2010, 12:35:30 PM »
I would try to find if there are existing web api's providing this info and then get them with the GET command.  A quick Google search for "sunrise sunset api" shows quite a few pages.

IOBridgeAndy

  • Newbie
  • *
  • Posts: 12
Re: Two additions for the Serial Web Services API.
« Reply #2 on: March 25, 2010, 11:25:21 PM »
nick ... still work in progress?

nick

  • Full Member
  • ***
  • Posts: 174
Re: Two additions for the Serial Web Services API.
« Reply #3 on: March 26, 2010, 12:57:40 PM »
nick ... still work in progress?

I'm not sure what you're asking here.  Have you done a Google search for "sunrise sunset api"?

Nick

IOBridgeAndy

  • Newbie
  • *
  • Posts: 12
Re: Two additions for the Serial Web Services API.
« Reply #4 on: March 27, 2010, 09:59:04 AM »
Sorry, I don't have an actual IO/Bridge ...yet.

Looking under the Serial Web Services API, the Web Service Commands like email,datetime,date,time,stock,weather,calc,"get" and data_log. I was requesting (from IOBridge as a feature request) to add three more "Web Service Commands" Sunrise  time, Sunset time, Seven Day weather.