Possible to check if ThingSpeak is ready to receive data?
조회 수: 6 (최근 30일)
이전 댓글 표시
I'm thinking about adding a second channel, but I'd like both to receive data as often as I'm allowed to send it. I'm worried that if I program both devices to send data every 15 seconds, only one channel will receive data while the other will keep trying while the site is unavailable. I'm wondering if there's a way to check whether or not ThingSpeak is ready to receive data so that I can program my timers to start after receiving that confirmation. Thanks!
댓글 수: 2
Ameer Hamza
2020년 11월 8일
Why will the site be unavailable? Have you tried sending data to both channels?
답변 (1개)
Ameer Hamza
2020년 11월 8일
According to the answer here: https://community.thingspeak.com/forum/thingspeak-api/rate-limit-on-read-operations/ the limit is imposed per channel for free accounts.
댓글 수: 5
Ameer Hamza
2020년 11월 11일
If you are using webread(), then you can check from the response. If it is '0', then the data was not written to the channel.
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
참고 항목
카테고리
Help Center 및 File Exchange에서 Write Data to Channel에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!