Reputation: 15
I am using thingspeak
platform with my pi3
for home automation. I have successfully sent and received data from my board to the channel. However, I am not able to properly understand the MATLAB analysis tutorial supported on the site.
https://in.mathworks.com/help/thingspeak/analyze-your-data.html
readchId
should be given here and
what is the job of MATLAB analysis.readchId
in MATLAB analysis part solve?Upvotes: 0
Views: 455
Reputation: 24127
ThingSpeak allows you to send data from your IoT device to a ThingSpeak channel, and then to use apply various ThingSpeak "apps" to those channels: these can perform various actions based on the channel data (like tweeting, or sending a message to some other web service), or they can perform analytics, or create visualisations, on the channel data. These analytics and visualisation apps are implemented in MATLAB code, and run on ThingSpeak.
The tutorial you're looking at reads in data from one channel (ThingSpeak 12397, which receives weather data), does some analysis on it to calculate the dew point from the temperature and humidity, and then writes it out to another channel and visualizes it.
readChId
in the tutorial is the ID of the channel you are reading from (12397), and writeChId
is the ID of the channel you are writing to (677 as an example, but replace with your own channel number).
Upvotes: 1