A weather station that uses GPS and WiFi to get the weather where you are. Almost better than actually going outside!
Dependencies: 4DGL-uLCD-SE ESP8266NodeMCUInterface GPS MbedJSONValue mbed-rtos mbed-src
Diff: example_response.txt
- Revision:
- 0:c4da54879553
- Child:
- 1:fc07d1430053
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/example_response.txt Sun Mar 13 21:09:49 2016 +0000 @@ -0,0 +1,329 @@ + +{ + "response": { + "version":"0.1", + "termsofService":"http://www.wunderground.com/weather/api/d/terms.html", + "features": { + "geolookup": 1 + } + } + , "location": { + "type":"CITY", + "country":"US", + "country_iso3166":"US", + "country_name":"USA", + "state":"GA", + "city":"Atlanta", + "tz_short":"EST", + "tz_long":"America/New_York", + "lat":"33.780000", + "lon":"-84.400000", + "zip":"30332", + "magic":"1", + "wmo":"99999", + "l":"/q/zmw:30332.1.99999", + "requesturl":"US/GA/Atlanta.html", + "wuiurl":"http://www.wunderground.com/US/GA/Atlanta.html", + "nearby_weather_stations": { + "airport": { + "station": [ + { "city":"Atlanta Fulton", "state":"GA", "country":"US", "icao":"KFTY", "lat":"33.77914047", "lon":"-84.52136230" } + ,{ "city":"Atlanta Dekalb", "state":"GA", "country":"US", "icao":"KPDK", "lat":"33.87836075", "lon":"-84.29801941" } + ,{ "city":"Atlanta", "state":"GA", "country":"US", "icao":"KATL", "lat":"33.63010025", "lon":"-84.44180298" } + ,{ "city":"Marietta", "state":"GA", "country":"US", "icao":"KMGE", "lat":"33.91538239", "lon":"-84.51631927" } + ] + } + , + "pws": { + "station": [ + { + "neighborhood":"Georgia Tech Police Station WeatherSTEM", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN215", + "lat":33.778946, + "lon":-84.401291, + "distance_km":0, + "distance_mi":0 + }, + { + "neighborhood":"Georgia Tech (Midtown)", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN49", + "lat":33.779148, + "lon":-84.395859, + "distance_km":0, + "distance_mi":0 + }, + { + "neighborhood":"Georgia Tech Campus Recreation Center WeatherSTEM", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN216", + "lat":33.774937, + "lon":-84.403671, + "distance_km":0, + "distance_mi":0 + }, + { + "neighborhood":"MesoWest", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"MGA307", + "lat":33.780560, + "lon":-84.391418, + "distance_km":0, + "distance_mi":0 + }, + { + "neighborhood":"Bobby Dodd Stadium WeatherSTEM", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN214", + "lat":33.772316, + "lon":-84.392807, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN108", + "lat":33.779575, + "lon":-84.387108, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN124", + "lat":33.784660, + "lon":-84.385109, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN228", + "lat":33.777763, + "lon":-84.383232, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN222", + "lat":33.783314, + "lon":-84.383118, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN180", + "lat":33.782230, + "lon":-84.382416, + "distance_km":1, + "distance_mi":0 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN183", + "lat":33.781288, + "lon":-84.380478, + "distance_km":1, + "distance_mi":1 + }, + { + "neighborhood":"Downtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN238", + "lat":33.764450, + "lon":-84.390388, + "distance_km":1, + "distance_mi":1 + }, + { + "neighborhood":"Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN133", + "lat":33.780827, + "lon":-84.374130, + "distance_km":2, + "distance_mi":1 + }, + { + "neighborhood":"Ansley Park", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN125", + "lat":33.798199, + "lon":-84.377342, + "distance_km":2, + "distance_mi":1 + }, + { + "neighborhood":"Virginia Highland", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN106", + "lat":33.784058, + "lon":-84.363556, + "distance_km":3, + "distance_mi":2 + }, + { + "neighborhood":"Morningside-Lenox Park", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN165", + "lat":33.791653, + "lon":-84.365471, + "distance_km":3, + "distance_mi":2 + }, + { + "neighborhood":"Heritage Preparatory School", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN54", + "lat":33.801754, + "lon":-84.368134, + "distance_km":3, + "distance_mi":2 + }, + { + "neighborhood":"Underwood Hills", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN143", + "lat":33.809158, + "lon":-84.426079, + "distance_km":4, + "distance_mi":2 + }, + { + "neighborhood":"Poncey-Highland", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN220", + "lat":33.773075, + "lon":-84.355103, + "distance_km":4, + "distance_mi":2 + }, + { + "neighborhood":"Underwood Hills - Marquis Midtown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN260", + "lat":33.810131, + "lon":-84.428574, + "distance_km":4, + "distance_mi":2 + }, + { + "neighborhood":"Peachtree Hills", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN116", + "lat":33.817566, + "lon":-84.384659, + "distance_km":4, + "distance_mi":2 + }, + { + "neighborhood":"Cabbagetown", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN202", + "lat":33.749310, + "lon":-84.362762, + "distance_km":4, + "distance_mi":2 + }, + { + "neighborhood":"Buckhead: The Wakefield", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN15", + "lat":33.828011, + "lon":-84.388420, + "distance_km":5, + "distance_mi":3 + }, + { + "neighborhood":"Grant Park", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN40", + "lat":33.738831, + "lon":-84.365257, + "distance_km":5, + "distance_mi":3 + }, + { + "neighborhood":"Midtown/Buckhead", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN16", + "lat":33.810043, + "lon":-84.348610, + "distance_km":5, + "distance_mi":3 + }, + { + "neighborhood":"Oakdale Road Northeast", + "city":"Atlanta", + "state":"GA", + "country":"US", + "id":"KGAATLAN262", + "lat":33.782814, + "lon":-84.335724, + "distance_km":5, + "distance_mi":3 + } + ] + } + } + } +}