At what point in thingspeak data upload created_at timestamp is added to channel data?
조회 수: 8 (최근 30일)
이전 댓글 표시
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
채택된 답변
Vinod
2021년 11월 16일
편집: Vinod
2021년 11월 17일
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.
추가 답변 (0개)
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!