Weather in my living room

Weather in my living room - http://yurasov.me/envlog/.
Electric Imp + AT&T M2X APIs.

I’m working on an M2X class right now - got any code to share :slight_smile:

I’m just doing simple http request like

`function m2x_log(stream, value) {
local m2x_key = “-”;
local m2x_feed_id = “-”;

local url = “http://api-m2x.att.com/v1/feeds/” + m2x_feed_id + “/streams/” + stream;

local data = http.jsonencode({
value = value
});

http.put(url, {
“X-M2X-KEY”: m2x_key,
“Content-type”: “application/json”
}, data).sendsync();
}`