Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Data from Personal Weather Stations
#1
Since jkish has enhanced his driver to schedule irrigation (Great Job by the way), I am looking at ways to gather weather data to use. I really don’t want to install my own weather station, but the general info from the Weather Channel driver is not area specific enough especially when dealing with amount of precipitation. However there are a number of Personal Weather Stations around me via wunderground.com. See here:

http://www.wunderground.com/weatherstati...KCOPARKE23
http://api.wunderground.com/weatherstati...KCOPARKE23
http://api.wunderground.com/weatherstati...format=XML
http://www.wunderground.com/swf/Rapid_Fi...KCOPARKE23

How can I retrieve their data and make it available in CQC?
Thanks
George M
Reply
#2
Looks like the 2nd link there is an easy XML format with the latest info. You can write a driver that will make the request and then use the CML XML objects to access the info and expose it as fields. Should be a pretty simple driver.
Reply
#3
I just wrote up a driver for this. Makes a request and then use the XML Parsing to expose the response. It works fine when I have it hard-coded against one of the URLs but I want to make it take in the URL as a parameter to the driver. Once I learn how to do that I'll post up the driver.
Reply
#4
I'm looking forward to this! I've hoped someone would write this type of driver for a while.
Brian - a long time user that rarely messes with the system now
Other systems used:
SageTV w/ cablecard tuner & multiple extenders for viewing
BlueIris and IP cameras for CCTV
Incredible PBX for home phone
Reply
#5
Same here. Looking forward to it.
Thanks
George M
Reply
#6
OK, I posted it up in the Beta Drivers development section. Once Dean approves the post it will appear in there. Note that it will only work for the personal weather stations, not the NOAA ones (diff data structure). You'll need to use a the URL of

Code:
http://api.wunderground.com/weatherstation/WXCurrentObXML.asp?ID=<stationID>
Reply
#7
That was fast of Dean. It's up and posted at http://www.charmedquark.com/vb_forum/sho...php?t=9174
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  GPS Data from Traccar to MQTT simplextech 0 1,017 02-01-2020, 07:27 PM
Last Post: simplextech
  CQC weather zane 5 3,713 10-03-2017, 10:37 AM
Last Post: Dean Roddey
  Charting data with CanvasJS wuench 9 5,887 10-23-2015, 02:43 AM
Last Post: znelbok
  Weather royalj7 2 1,877 09-13-2015, 09:50 AM
Last Post: Dean Roddey
  Custom Weather Icons ControlFreak 6 4,139 04-05-2014, 03:55 PM
Last Post: Dean Roddey
  How TO: Australia based weather radar jdmevo123 0 3,461 12-02-2013, 03:52 PM
Last Post: jdmevo123
  Load personal video files into repository? brathnach 7 5,019 05-14-2013, 02:06 PM
Last Post: wuench
  How setup Weather Radar phenix 2 2,741 03-20-2013, 11:54 AM
Last Post: phenix
  Weather UG driver IslandMan 14 5,652 04-07-2012, 06:26 PM
Last Post: Dean Roddey
  Weather Underground Subscription ControlFreak 3 2,208 03-29-2012, 06:35 AM
Last Post: sic0048

Forum Jump:


Users browsing this thread: 1 Guest(s)