Quantcast
Channel: ThingSpeak IoT Community - Forum: Arduino
Viewing all articles
Browse latest Browse all 172

mdahlb on Read last value AND time/date from thingspeak

$
0
0

Hello,

I'm trying to read the last value AND the date/time from a private channel to my Arduino. I can easily get the last value using the "official thingspeak library for arduino" and the "ReadPrivateChannel"-example. But what about the timestamp (date/time) for that last value? It's not a part of the Thingspeak library I think..

I can access the last value and the timestamp by a get request and get a return in JSON format (this is my privat channel...):

https://api.thingspeak.com/channels/106334/fields/1/last.json?key=J38Y445RB2G9FNL0&timezone=Europe%2FStockholm

 

How do I make my Arduino to "read" this url? I been trying to make a GET request but without any success... =(

 

Regards

Mattias


Viewing all articles
Browse latest Browse all 172

Trending Articles