-->
Page 1 of 1

ESP8266 Not working with Emoncms.org...

PostPosted: Mon Feb 23, 2015 3:54 pm
by SybrenV
Hello!

I just started to thinker with the esp8266 module, and it is really great! However(there always needs to be a however ofcourse) i would like to update values on my emoncms.org account.

So I tried this, following kevin darrah tips form his youtube movie: https://www.youtube.com/watch?v=qU76yWHeQuw
I can update values to thingspeak, however if I try to do this with the emoncms url, it does not do anything :(

How i tried uploading these values:
AT+CIPMODE=0
AT+CIPMUX=1
AT+CWJAP="X","X"
AT+CIPSTART=0,"TCP","emoncms.org",80
AT+CIPSEND=0,100
GET emoncms.org/input/post.json?json={esp:200}&apikey=API HTTP/1.1

It gives me "SEND OK", that is all... With Thingspeak I receive a log like this:

+IPD,0,551:HTTP/1.1 200 OK
Server: nginx/1.7.5
Date: Mon, 23 Feb 2015 20:16:57 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Vary: Accept-Encoding
Status: 200 OK
X-Frame-Options: ALLOWALL
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS, DELETE, PATCH
Access-Control-Allow-Headers: origin, content-type, X-Requested-With
Access-Control-Max-Age: 1800
ETag: "8f14e45fceea167a5a36dedd4bea2543"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 474a0542-7e33-4d98-9a61-1ae1f7478b70


Any help would be greatly appriciated!