フィルターのクリア

How to display two ThingSpeak dashboard channel widgets, one from actual data input, and the other calculated.

3 ビュー (過去 30 日間)

If I write data representing Fahrenheit temperature from my remote Raspberry Pi to my ThingSpeak channel “xxxxxx”, then I can select a widget from my ThingSpeak channel menu to represent the Fahrenheit temperature via round gage, square info box, or chart, etc. How can I add three addition widgets representing a “calculated” Celcius temperature in same channel display? And, the Fahrenheit temperature field will update every 15 to 40 seconds as that rate was chosen on Raspberry Pi so as not to exceed the 15 second limitation of ThingSpeak channel accepting the remote write. I would want the Celcius widgets to update at same time frame. My best guess so far is to us Matlab analysis to read and calculate then write, but to a different channel, not the same channel. And that calculation can only be accomplished every 5 minutes via time control. That’s the minimum time allowed. That is not acceptable. Too slow. In each widget’s setup are multiple user choice blocks allowing for ticks, labels, spans, and colors, etc, etc. Why is there no block for a simple math manipulation on a field before displaying it? Other IoT cloud services offer that feature. Why not ThingSpeak? Perhaps I am missing something. Let me know.

  2 件のコメント
Shore
Shore 2023 年 3 月 20 日
Christopher,
Yes, I will expand on my project with a write up soon. It was put into actual operation in Alaska yesterday. I have used visualization as you stated but it still requires a notice to visitors that they must reload the page to see updates or all visualizations. So, widgets are dynamic but visualizations are not. I donot see that as problem however. A reload click of mouse is easy.
Christopher Stapels
Christopher Stapels 2023 年 3 月 20 日
編集済み: Christopher Stapels 2023 年 3 月 20 日
Looking forward to the write up. The are dynamic iin that they u[date with live data each type you load them, but I see what you are sayiing.
BTW, one of the many benefits of a paid license is the ability to auto refresh visualizations. Its still every 5 minutes but you dont need to press hte refresh button on the browser.

サインインしてコメントする。

回答 (1 件)

Christopher Stapels
Christopher Stapels 2023 年 2 月 21 日
You can use 'on data insert' react to use MATLAB to translate and write to the other channel each time the original channel is updated.
You can only have one 'on data insert' eact howver, per user- so use it carefully.
The difference with ThingSpeak is that it has built in MATLAB so you can build your own completely customized visualization. Thanks for the widgets feature suggestions, Ill add them to our enhancement request list.
Can you share what you are measuring the temperature of? Im curious to know about the application.

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

Help Center および File ExchangeConfigure Accounts and Channels についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by