Updating thingspeak via ESP8266
Posted: Mon Jun 29, 2015 8:08 pm
Recently got my module configured, and able to accept server requests. I'm using the Arduino IDE and the serial connection to type commands directly from my PC to the ESP module. However, when I tried to connect to thingspeak and use a GET request to update a test channel I created, nothing happened. The connection was successful, and as far as I can see the GET request was correctly formulated:
GET /update?key=WRITEKEY&field1=2
The method to send it was to use the AT+CIPSEND="data length" command, the line above was then typed in and sent when the ">" symbol appeared. The module lists the data as sent.
Unfortunately I have very little experience with how web interfaces work in general, so I don't know how to troubleshoot this. The fact that the ESP8266 does not seem to receive a response from thingspeak.com when this statement goes through could indicate that the GET statement is actually incorrectly formed, but that's just my guess. I'd appreciate any help or hints on this. Thanks for reading.
GET /update?key=WRITEKEY&field1=2
The method to send it was to use the AT+CIPSEND="data length" command, the line above was then typed in and sent when the ">" symbol appeared. The module lists the data as sent.
Unfortunately I have very little experience with how web interfaces work in general, so I don't know how to troubleshoot this. The fact that the ESP8266 does not seem to receive a response from thingspeak.com when this statement goes through could indicate that the GET statement is actually incorrectly formed, but that's just my guess. I'd appreciate any help or hints on this. Thanks for reading.