Is there a way to access data from a local ThingSpeak server using the ThingSpeak Matlab Toolbox?

조회 수: 5 (최근 30일)
I would like to use the functions made available in the ThingSpeak Support toolbox (e.g. the thingSpeakAuthenticate function) to read/write data on a private installation of a ThingSpeak server, rather than the cloud service on ThingSpeak.com, but I could not find a way to point Matlab towards the IP/web address hosting the ThingSpeak server. Is it possible at all?

채택된 답변

Hans Scharler
Hans Scharler 2017년 11월 10일
편집: Hans Scharler 2017년 11월 10일
Yes, for both thingSpeakRead and thingSpeakWrite, there is a name-value pair called, " URL".
For example,
thingSpeakRead(12397,'URL','http://private.server.url');
sets the base API URL to your private ThingSpeak server instead of https://api.thingspeak.com.

추가 답변 (1개)

Sanjana Ramakrishnan
Sanjana Ramakrishnan 2017년 9월 19일
Refer the below link to connect to ThingSpeak server by providing IP address:
https://www.mathworks.com/help/thingspeak/channel-settings.html

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by