Lorenzo Scavarda in Discussions
上次活动时间: 2022-6-8

Good morning, I'm working with an Arduino MKR 1010 which takes information about weather from the website "api.openweathermap.org". On a ThingSpeak dashboard I displayed the main numbers (float) information like: temperature, wind speed, humidity, etc. Moreover, from the openweathermap I can also get string sentence (e.g. "light rain" or "broken clouds" etc.). I'm wondering if there is a way to display on the ThingSpeak dashboard string fields. Indeed, in the ThingSpeak Channel Settings I added an extra Field in order to store these string words but I don't know how to print them in the dashboard. Someone can help me? Thanks in advance, Lorenzo Display message on ThingSpeak Are you trying to display the text on your ThingSpeak channel? If so, you can use a MATLAB visualization, and use the text or annotate functions to put the text on a figure. Then add the visualization to your channel. When I've done this, i occasionally have to experiment with scaling the figure and text, but with a little work, you can definitely get what you want. Maybe you can use the Status field of the channel to display the text? Thanks Christopher for the answer. Yes, I though it but I have a doubt: what is the right function to retrieve the string (that I want to display) and put it in the annotate function? Because my problem is that the String is one of the Fields of my Channel. For example I found: data = thingSpeakRead(readChannelID,'Fields',field_number,NumPoints=3) but I don't how to handle a string variable. Is it enough use: data = thingSpeakRead(readChannelID,'Fields',field_number) Do you have some hints? Thanks a lot in advance, Cheers, Lorenzo Hi Vinod, yes, I'm using the Status Field indeed. However, it is not the best way because the layout and format of the text is very fixed, for example I can't use the "new line" but the text is in just one line. If I want to display a sort of weather report for the next hours of the day (i.e. not just one word but several sentences) is not very suitable. Either option you show above will work fine. dashboard string arduino api field
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
MathWorks Support Team in MATLAB Answers
上次活动时间: 2021-2-21

I have multiple ThingSpeak widgets from different channels. Right now, monitoring them requires me to open multiple tabs in the browser, one tab for each widget. Is there a way to monitor all of them on the same page without having to open so many tabs? kA03q00000112xmCAA 000166706

关于 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.