Possible to check if ThingSpeak is ready to receive data?
8 次查看(过去 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 Community
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read Data from Channel 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!