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
query.lua
- Committer:
- krbng4180
- Date:
- 2016-03-14
- Revision:
- 1:fc07d1430053
- Parent:
- 0:c4da54879553
File content as of revision 1:fc07d1430053:
LUA( sk=net.createConnection(net.TCP, 0); sk:on("receive", function(sck, c) print(c) end); sk:connect(80, "%s"); sk:send("GET /api/%s/geolookup/q/%f,%f.json HTTP/1.1\r\nHost: api.wunderground.com\r\nConnection: keep-alive\r\nAccept: */*\r\n\r\n"); )