MATLAB Answers

ThingSpeak Channel Status Update field

25 views (last 30 days)
Alex kew
Alex kew on 23 Apr 2018
Answered: Vinod on 25 Apr 2018
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.

  0 Comments

Sign in to comment.

Accepted Answer

Vinod
Vinod on 25 Apr 2018
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 Comments

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!