Edison Lim in Discussions
上次活动时间: 2023-7-30

I am able to modify the chart setting to display the average data with a timescale of 30 minutes. However, when I export the csv file, it shows the reading of 15 seconds. How should I export the average per 30 minutes? Cannot export csv file with average data of 30minutes timescale You can use a parameter at the end of the api call. See the <https://www.mathworks.com/help/thingspeak/readdata.html read api> for the details. First parameter has ? After that you can add parameters with &. I think you want &average=15. Thanks alot for the suggestion! I had figured it out >w< csv thingsspeak
kunbi babubhai in Discussions
上次活动时间: 2021-7-26

Thingsspeak : How to add multiple graphs in single field Ex: Real time monitoring 30 machines temperature in single graph (filed1) Thingsspeak : How to add multiple graph in single field ex: monitor 30 machine temparatre in single graph You have a lot of options. Much of how you choose to plot it depends on your timestamps. In this example for <https://www.mathworks.com/help/thingspeak/Compare-Temperature-Data-from-Three-Different-Days.html temperature for three different days> , I had to do some extra work to play the different time stamps on the same x axis. If all the time stamps are the same or at least in a similar range, you can more easily plot them all by calling hold; after the first plot command, and then call successive plot commands for each plot you want to add. You can also use the <https://www.mathworks.com/help/matlab/ref/tiledlayout.html?searchHighlight=tiledlayout&s_tid=srchtitle tiled layout> to stack plots, but for 50 machines, the plots would be come very tiny. Since MATLAB has a lot of computational power built in, I would recommend you develop a custom plot type. Perhaps calculate the mean of all 50 machines and then only plot a machine if it is within some standard deviations of the mean, for example. Good luck, please share your final plot if you can. thingsspeak dashboard

关于 ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.