フィルターのクリア

Showing data from different channels on a map

1 回表示 (過去 30 日間)
Fabio Battagion
Fabio Battagion 2023 年 8 月 5 日
移動済み: Christopher Stapels 2023 年 8 月 8 日
I have some sensors collecting atmosferic data and sending them to a dedicated channel in Thingspesk. Each sensor has its own channel. Now, I'd like to show each sensor in a map using it's geographical coordinates (lat & lon), possibly colored differently based on one measured value, and clicking on one of them, open a little window with the main data retrieved from the sensor's channel. All this on a web page of course. Looking for suggestions or existing examples. Thanks

採用された回答

Christopher Stapels
Christopher Stapels 2023 年 8 月 7 日
移動済み: Christopher Stapels 2023 年 8 月 8 日
MATLAB visualization plots in ThingSepak can do some of this, but you wont be able to get the interactivity you are looking for without some more front end code like javascript or similar. For the plot on ThingSpeak, have a look at this post.
You can get this kind of interactivity with MATLAB app designer, and then you can use Web App Server to host your application, but this does require a higher level of coding and license cost. But let me know if you are interested. Here is an example of an app I wrote in app designer to read thingSepak data.
  2 件のコメント
Fabio Battagion
Fabio Battagion 2023 年 8 月 7 日
移動済み: Christopher Stapels 2023 年 8 月 8 日
Thank you, Chris ... I have to go study, so (not a wizzard with javascripts and similar stuff)
By the way, looking at the post you suggested, it looks like I have to write the latitude and longitude any time I write data in the channel, otherwise they look like: NaN. Correct?
Thanks so much
Fabio
Christopher Stapels
Christopher Stapels 2023 年 8 月 8 日
移動済み: Christopher Stapels 2023 年 8 月 8 日
Sure, but thats also true for every one of the eight fields in ThingSpeak. I would just write data where you want it and leave the rest as NaN. MATLAB makes it easy to filter out the values you dont want.

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

その他の回答 (0 件)

コミュニティ

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

カテゴリ

Help Center および File ExchangeVisualize Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by