Filter löschen
Filter löschen

thingSpeakWrite - Where is the channel status?

3 Ansichten (letzte 30 Tage)
Marc Hanssens
Marc Hanssens am 30 Jan. 2024
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);

Akzeptierte Antwort

Marc Hanssens
Marc Hanssens am 30 Jan. 2024
Verschoben: Christopher Stapels am 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

Weitere Antworten (0)

Kategorien

Mehr zu Configure Accounts and Channels finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by