At what point in thingspeak data upload created_at timestamp is added to channel data?
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I am analysing sensor data downloaded from thingspeak API and my goal is to somehow take all 4 channels data and merge them into 1. Does anyone know at what point thingspeak server (during data upload from device) attached created_at?
- At the time when data received at the server?
- At the time when we data is ingested into thingspeak data store?
I am assuming that there can be delay between data being received at thingspeak server vs. data ingested into thingspeak data store.
0 Commenti
Risposta accettata
Vinod
il 16 Nov 2021
Modificato: Vinod
il 17 Nov 2021
The created_at is set at the time the data is received by the ThingSpeak API server. If you are using MQTT, or static IP - which are essentially just forwarders to api.thingspeak.com, then created_at is when the data is received by api.thingspeak.com (not when it hits the MQTT or static IP).
Note that you can specify created_at as one of the parameters when you update the channel. This is particularly useful if your device has a real-time clock and you want to eliminate the network latencies from affecting when the data was actually recorded.
Note also that you can use the bulk ingest API to send data to ThingSpeak and in this case you can specify the timestamp of when the data was recorded. In this case ThingSpeak keeps the timestamp specified by you.
Più risposte (0)
Community
Più risposte nel ThingSpeak Community
Vedere anche
Categorie
Scopri di più su ThingSpeak in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!