Clear Filters
Clear Filters

thingSpeakWrite - Where is the channel status?

3 views (last 30 days)
I am using thingspeak write to write into my channel fields which works well. I would also like to include the channel status and looking at the documention , I can't seem to find the Syntax for including a channel status in /thinklspeakWrite. .... and yes I have ticked the "include status" checkbox.
here is my current call:
thingSpeakWrite(writeChannelID,'Fields',[1,2,3,4,5,6,7,8],'Values', [ V1,V2, V3, V4, V5,V6,V7,V8], 'WriteKey', writeAPIKey,'TimeStamp',tStamps);

Accepted Answer

Marc Hanssens
Marc Hanssens on 30 Jan 2024
Moved: Christopher Stapels on 13 Feb 2024
Hi all,
I found by experimenting that the thingSpeak Channel Status can be writen using thingSpeakWrite :
http://api.thingspeak.com/update?api_key=MyKey&status=good

More Answers (0)

Categories

Find more on Configure Accounts and Channels in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!