thingSpeakWrite - Where is the channel status?

조회 수: 6 (최근 30일)
Marc Hanssens
Marc Hanssens 2024년 1월 30일
이동: Christopher Stapels 2024년 2월 13일
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);

채택된 답변

Marc Hanssens
Marc Hanssens 2024년 1월 30일
이동: Christopher Stapels 2024년 2월 13일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Configure Accounts and Channels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by