How to edit ThingSpeak data gathering script

4 visualizaciones (últimos 30 días)
Peter Corke
Peter Corke el 15 de Dic. de 2019
Editada: Christopher Stapels el 17 de Dic. de 2019
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.

Respuestas (1)

Christopher Stapels
Christopher Stapels el 16 de Dic. de 2019
Editada: Christopher Stapels el 17 de Dic. de 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?

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Configure Accounts and Channels en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by