Data loss and latency issues from Node Red to ThingSpeak channel.
조회 수: 4 (최근 30일)
이전 댓글 표시
I'm currently busy with a project in which I use a wearble device that uses an accelerometer to track a worker's motions. I'm using Node Red to develop the system and from there I send the data to a ThingSpeak channel. There is however latency issues between these two platforms. It takes a few seconds for measurements to pop up on the ThingSpeak channel after the captured data has been displayed on Node Red. Additionally, only a quater of the data displayed on Node Red can be accounted for on ThingSpeak.
Any adivce would be greatly appreciated.
댓글 수: 0
답변 (1개)
Christopher Stapels
2023년 7월 11일
The most likely cause of lost data is sending too fast. If you are using a free account or using the bulk write endpoint, the minimum time between updates is 15 seconds. For the paid account you can post updates at most once per second. Data sent faster than those rates can be lost.
Although ThingSpeak will keep an accurate record of ingested data, the infrastructure does not guarantee 'real time' updates. I would definitely expect a delay of several seconds, and occasionally slightly more depending on the system load at the time.
댓글 수: 0
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!