How to edit ThingSpeak data gathering script

2 ビュー (過去 30 日間)
Peter Corke
Peter Corke 2019 年 12 月 15 日
編集済み: Christopher Stapels 2019 年 12 月 17 日
Long ago I created a ThingSpeak channel to scrape data from a website. I used the template, filled in a bunch of parameters and off it went. Now I want to modify that "script" but I can't see how to do that. There are no obvious buttons/menus to enable that.
I want to scrape an additional number and was thinking I could do that as another field in the original channel. Maybe I need to create a new channel:
  • but I'd like to be able to see the old channel to see how I did the data scraping
  • I hoping I will be able to access data from the original channel using the thingSpeakRead function in the new channel visualization widget
My channel has a locked padlock icon next to its name in the channel list, but I can't find any option to unlock it, if that is the problem.

回答 (1 件)

Christopher Stapels
Christopher Stapels 2019 年 12 月 16 日
編集済み: Christopher Stapels 2019 年 12 月 17 日
When you are logged in to ThingSpeak, click on apps, and choose MATLAB analysis. The script should appera in the list of MATLAB analysis. It is distantly possible that it was a MATLAB visualization as well, so you could look there but it sounds less likely based on what you describe of the script.
I think sharing with the original channel sounds fine if the data are related.
You could create a new channel if you expect the scraping to fail sometimes for one or the other number (perhaps if both numbers arent guaranteed to be there on every read)
The locked icon refers to the sharing status of the channel. This means noone can view the channel whom you have not specificially given access to by email address.
You can use thingSpeak Read to read from this channel if you have a read API key. See the API keys tab of your channel for the API keys for that channel.
Which channel visualization widget do you want to use?

コミュニティ

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

カテゴリ

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

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by