thingSpeakWrite - Where is the channel status?

6 vues (au cours des 30 derniers jours)
Marc Hanssens
Marc Hanssens le 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);

Réponse acceptée

Marc Hanssens
Marc Hanssens le 30 Jan 2024
Déplacé(e) : Christopher Stapels le 13 Fév 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

Plus de réponses (0)

Catégories

En savoir plus sur Configure Accounts and Channels dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by