Dynamic data display in ThingSpeak dashboard

7 ビュー (過去 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 Center および File ExchangeRead Data from Channel についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by