ThingSpeak Channel Status Update field

5 Ansichten (letzte 30 Tage)
Alex kew
Alex kew am 23 Apr. 2018
Beantwortet: Vinod am 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.

Akzeptierte Antwort

Vinod
Vinod am 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

Weitere Antworten (0)

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu ThingSpeak finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by