필터 지우기
필터 지우기

storing data on Thinkspeak

조회 수: 4 (최근 30일)
Pamela
Pamela 2023년 4월 24일
답변: Christopher Stapels 2023년 4월 24일
May i kindly ask, How to save data from sensors on Thinkspeak, i am experiencing a problem , everytime i am readind new data to ThinkSpeak it erase the old data from previous reading, Is there a way of storing all the data on the platform?

답변 (2개)

Pratheek
Pratheek 2023년 4월 24일
You can use thingSpeakWrite function
For more information visit the docmentation page-Write data to ThingSpeak channel - MATLAB thingSpeakWrite (mathworks.com)

Christopher Stapels
Christopher Stapels 2023년 4월 24일
Are you writing from a device or from an instance of MATLAB?
From a device, you should use the write data APIor MQTT publish. From MATLAB, you can use thingSpeakWrite like @Pratheek said.
Unless you explicitly clear the whole channel, no data is deleted from ThingSpeak, but the high charts on your channel view may not show it if they arent set to show more than one day of data (the default). You can use the pencil icon on the high chart to change the range of display, and you you can use the Read Data API to export the data in the range you desire. To get the most control, you can write a MATLAB visualization to display the data in your custom format.
Here is a great video series to help you understand ThingSpeak basics, or we strongly reccomend the getting started tutorial in the doc.

커뮤니티

더 많은 답변 보기:  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