ThingSpeak Channel Status Update field

37 次查看(过去 30 天)
Hi everyone,
I wanted to update this Channel Status Update field in my ThingSpeak channel, and I used this piece of code:
webwrite('http://api.thingspeak.com/update','api_key',writeApiKey,'status','good');
the code works fine but my channel never display "good" in status field, can anyone tell me why?
Thanks.

采纳的回答

Vinod
Vinod 2018-4-25
Have you enabled the "Show Status" checkbox on the channel setting page? If so, you should see "good" in your channel status window.
If you still do not see it, you can look at the raw data to see what is going on. Paste this link in your browser (with CHANNEL_ID and READ_API_KEY set for your channel) and look to see if you can find "good" in the output.
https://api.thingspeak.com/channels/CHANNEL_ID/status.json?api_key=READ_API_KEY

更多回答(0 个)

社区

更多回答在  ThingSpeak Community

类别

Help CenterFile Exchange 中查找有关 ThingSpeak 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by