How to edit ThingSpeak data gathering script
1 view (last 30 days)
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.
Christopher Stapels on 16 Dec 2019
Edited: Christopher Stapels on 17 Dec 2019
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?
More Answers in the ThingSpeak Community