Dynamic data display in ThingSpeak dashboard

조회 수: 8 (최근 30일)
Julien
Julien 2022년 10월 26일
댓글: Christopher Stapels 2022년 10월 26일
Hi,
I have a set of data gathered from many IoT devices and instead of having dozens of different Matlab Visualization widgets on my dashboard, I would have to display only one and be able to manually choose which device's data to display. Do you know of any simple way to do so?
Thanks in advance for any help you can provide.
Cheers!

채택된 답변

Christopher Stapels
Christopher Stapels 2022년 10월 26일
편집: Christopher Stapels 2022년 10월 26일
There is a plugin app in ThingSpeak that you could use to crate a javascript app with a dropdown menu (I suspect, though I havent tried) However, you cannot make plugins public, so you would only be able to use it yourself. But if you do make one, you can embed it on a private view of your channel.
I would also suggest using the charts API, if gives you easy access to charting your data, and you could create a seperate site that calls the charts API to show the desied data. I've sen some sucess using google sites to generate such a thing perhaps.
The easiest way to do this would be to create a MATLAB app in appdesigner if you have a MATLAB license.
Actually the javascript plugin worked really well! This took me about 2 minutes to make, using this link.
One problem is that the button dindt persist, I think you need to write the html so the button stays and then link opens in a subpanel or somemthing. Bet its possible with just a bit more effort.
  댓글 수: 2
Julien
Julien 2022년 10월 26일
Thank you so much for the answer. I was looking at coding this within Matlab and couldn't make it work but what you propose makes perfect sense.
Thanks for taking the time to reply!
Christopher Stapels
Christopher Stapels 2022년 10월 26일
There arent active controls in the stateless version of MATLAB that runs in ThingSpeak. In the desktop MATLAB version this is much easier to do. (or MATLAB online)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

커뮤니티

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

카테고리

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

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by