Jump to content


Photo
- - - - -

The Weather Channel API - Now requires a subscription.


  • Please log in to reply
20 replies to this topic

#1 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2167 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 22 October 2011 - 09:01 AM

Please feel free to correct any factual errors or omissions I may have made!


If your Home Automation (HA) software has a driver to read weather data from The Weather Channel (TWC), it probably uses TWC's free 'XML Data Feed' service. I received a notice from TWC announcing that this free service will end on October 31st.

I suspect that, on November 1st, your HA software's TWC driver will probably display erroneous data if anything at all. Your TWC driver will require alterations in order to support TWC's new data feed service, called The Weather Channel API. Moreover, this new data feed is not free and requires a subscription; the least expensive plan is about $20/month. You may want to contact the manufacturer of your HA software, or the TWC driver's developer, to determine what plans they may have to accommodate the new TWC API.

TWC does offer free alternatives in the form of a Weather Widget (see bottom of the API page) however it is not a true replacement for the XML Data Feed.

Edited by 123, 22 October 2011 - 09:02 AM.


#2 Mr Spock

Mr Spock

    Dedicated Cocooner

  • -=Silver Supporter=-
  • 270 posts
  • Location:San Diego
  • Experience:average
  • Software:Main Lobby
  • Hardware:HAI OmniPro II
  • Tech:UPB, Custom
  • Audio:Nuvo
  • CCTV:ip
  • Phone:POTS

Posted 22 October 2011 - 01:54 PM

Yeah, this sucks. I also go one of those emails. I use BL Weather in Homeseer and it gets its info from TWC's XML feed. No more weather info for me. No way in hell I'm paying $20/month for this. It should be $10/year.

What are the alternatives? Weather underground?

#3 BraveSirRobbin

BraveSirRobbin

    Cocoonut

  • Moderators
  • PipPipPipPip
  • 7464 posts

Posted 22 October 2011 - 02:18 PM

Possibilities?

http://www.worldweatheronline.com/

http://www.nws.noaa.gov/ndfd/

#4 batwater

batwater

    Dedicated Cocooner

  • Registered
  • PipPipPip
  • 275 posts
  • Location:St. Louis
  • Experience:guru
  • Software:CQC, EventGhost, Harmony, Custom
  • Hardware:DSC, Custom
  • Tech:X10-RF, UPB, Z-Wave, ZigBee
  • Audio:Sonos
  • Video:Custom
  • CCTV:analog, ip, dvr
  • Phone:Asterisk, OBi100/110

Posted 22 October 2011 - 04:19 PM

Possibilities?

http://www.worldweatheronline.com/

http://www.nws.noaa.gov/ndfd/


Cross post from Wuench on CQC Forums, another alternative is Wunderground...

According to this page it is up to 10 calls/min for free....
http://www.wundergro.../d/pricing.html

If each person signs up for their own account/key...

-Ben

Edited by batwater, 22 October 2011 - 04:20 PM.


#5 Dean Roddey

Dean Roddey

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1938 posts
  • Software:CQC

Posted 22 October 2011 - 08:16 PM

I just put a current conditions driver for the National Weather Service's XML feed yesterday. I'm working on a Weather Underground driver which I should have ready probably tomorrow.

#6 Sacarino

Sacarino

    Cocooner

  • Registered
  • PipPip
  • 99 posts
  • Software:HomeSeer
  • Hardware:Ocelot
  • Tech:Z-Wave
  • Audio:Custom
  • Video:Windows Media Center
  • CCTV:analog, ip

Posted 23 October 2011 - 12:00 AM

I discovered the WUnderground API last week (which is awesome, btw) and have been coding a free-as-in-beer HS plugin in my spare time... should be done by next weekend if I can get work to stop breaking things.

Even if nobody else uses it, I will. :)

Edited by Sacarino, 23 October 2011 - 12:00 AM.


#7 firstone

firstone

    Cocooner

  • Registered
  • PipPip
  • 36 posts

Posted 24 October 2011 - 09:28 PM

WeatherBug service is available for free for personal use (limited number of lookups per hour) for non-mobile use. At least it's free for now. Fairly easy to use with WSDL too.

#8 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2167 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 25 October 2011 - 02:28 PM

I've registered with Wunderground and received my API key. Eventually I will update Premise's Wunderground PWS driver which uses Wunderground's old, keyless, XML-based API.

FWIW, I contacted them and they've confirmed that, in addition to JSON, the new API will eventually support XML.

Premise does not natively support parsing data in JSON format so I'd need to resort to parsing it as a string (hello regex). It's not as straighforward as using the "Microsoft.XMLDOM" ActiveX object to quickly extract XML data.

They also indicated the existing (i.e. deprecated) XML API will not be shut down and has been left to die on the vine. If something they change on their servers causes the old API to fail, there'll be no support or any attempt to correct it. So, for now, the old API works but the end is near.

Edited by 123, 25 October 2011 - 02:30 PM.


#9 etc6849

etc6849

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1728 posts
  • Location:Irmo, SC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1
  • Tech:X10-RF, Z-Wave, Custom
  • Phone:OBi100/110

Posted 25 October 2011 - 09:50 PM

For those in the US, here's a nice open-source implementation in an easy to read vbscript-like language that's built for Premise. It uses the weather.gov SOAP server to gather data, but references the weather channel since it uses the TWCi transparent icons.

I've been using this module for a while and it works great. The only catch is I think the weahter.gov server only updates every 20 minutes or so.

http://www.cocoontec...ads&showfile=15

#10 Dean Roddey

Dean Roddey

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1938 posts
  • Software:CQC

Posted 25 October 2011 - 10:50 PM

I have finished a pretty full featured driver for the Weather Underground now. I'll put up a 4.0.6 beta tomorrow that includes this driver. I was able to implement pretty much the same set of features as the Weather Channel driver. Only a couple things were missing, so it should be a fairly reasonable drop in replacement.

#11 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2167 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 29 October 2011 - 08:24 AM

FYI
Wunderground's API now supports XML as a Query Format. So now you can choose what works best for you, JSON or XML.

#12 Dean Roddey

Dean Roddey

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1938 posts
  • Software:CQC

Posted 29 October 2011 - 04:29 PM

When did that happen? The docs still were showing JSON only up until a couple days ago or so when I was finishing up the driver docs, and it would have saved me from writing a JSON parser.

Edited by Dean Roddey, 29 October 2011 - 04:29 PM.


#13 123

123

    Cocoonut

  • Registered
  • PipPipPipPip
  • 2167 posts
  • Location:Montreal, QC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1

Posted 30 October 2011 - 11:45 AM

They're fast! I posted on the 25th that they had confirmed that XML would become available and by the 28th they sent me an email indicating it was ready.

#14 etc6849

etc6849

    Cocoonut

  • Registered
  • PipPipPipPip
  • 1728 posts
  • Location:Irmo, SC
  • Experience:average
  • Software:Premise
  • Hardware:Elk M1
  • Tech:X10-RF, Z-Wave, Custom
  • Phone:OBi100/110

Posted 05 November 2011 - 06:48 PM

Here's a free api from google:

http://www.google.co...i?weather=29063

#15 Mr Spock

Mr Spock

    Dedicated Cocooner

  • -=Silver Supporter=-
  • 270 posts
  • Location:San Diego
  • Experience:average
  • Software:Main Lobby
  • Hardware:HAI OmniPro II
  • Tech:UPB, Custom
  • Audio:Nuvo
  • CCTV:ip
  • Phone:POTS

Posted 27 April 2012 - 10:26 PM

So I'm curious what HomeSeer people have done to replace BL Weather. Summer is coming and I need my weather forecasts to drive my irrigation efficiently. As a minimum I need a 3 day forecast for min/max temp, min humidity, and max rain % that I can easily get from device values. I'd also like another web page forecast, but can live without it.

Thanks




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users