Reading data from a variable using the ESP8266
Posted: Wed Jul 22, 2015 3:53 am
Could you help me out on how exactly to parse the response of the API notation to get the last value of a variable
GET /api/v1.6/variables/{variable_id}/values/?token={token}&page_size=1
I'm using an ESP8266 hooked on to an Arduino and I am trying out the code given here:
http://ubidots.com/docs/devices/ESP8266-arduino.html
I have not been successful so far in parsing values from the serial buffer and printing them out on the Serial monitor.
Any help would be appreciated!
GET /api/v1.6/variables/{variable_id}/values/?token={token}&page_size=1
I'm using an ESP8266 hooked on to an Arduino and I am trying out the code given here:
http://ubidots.com/docs/devices/ESP8266-arduino.html
I have not been successful so far in parsing values from the serial buffer and printing them out on the Serial monitor.
Any help would be appreciated!