Logré visualizar datos en la consola serial
Hice la prueba con un NodeMCU y el sketch de ejemplo de thinger.io
Hay que incluir la libreria
#include <ESP8266HTTPClient.h>
El código para la consulta es el siguiente
if (WiFi.status() == WL_CONNECTED) { //Check WiFi connection status
HTTPClient http; //Declare an object of class HTTPClient
http.begin("http://api.thinger.io/v1/users/jt/buckets/SensePoint/data?items=1&max_ts=0&sort=desc&authorization=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJEYXNoYm9hcmRfREVNTyIsInVzciI6Imp0In0.y_cwNQqIak5oQQhElcmO0hEYKEodds3UB8SHW7Rlmko"); //Specify request destination
int httpCode = http.GET(); //Send the request
if (httpCode > 0) { //Check the returning code
String payload = http.getString(); //Get the request response payload
Serial.println(payload); //Print the response payload
}
http.end(); //Close connection
}
Y en la consola serial se observa
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
[{“ts”:1533007988905.0,“val”:{“batery”:3389.0,“humidity”:35.2483,“temperature”:27.7216}}]
Pero no sé cómo aparear los datos recibidos con las variables en el microcontrolador