ThingSpeak public image display

5 visualizaciones (últimos 30 días)
Alec
Alec el 26 de Ag. de 2023
Editada: Christopher Stapels el 4 de Dic. de 2023
I'm trying to make a website with a bunch of embedded html scripts that display data received from a Simulink program. All of my numerical data I can make public and then put the iFrame code onto my website, but when I go to add an image widget into my public channel there isn't an option to do this. I've tried using thingSpeakRead() in MATLAB using the API key with no luck. How does one publicly display images uploaded to ThingSpeak?
They did it here, and I can't figure out how: https://thingspeak.com/channels/366768
  2 comentarios
Christopher Stapels
Christopher Stapels el 28 de Ag. de 2023
I think @Vinod posted what he did somewhere in Answers or the ThingSpeak community.
At present, you cannot show an image channel preview on a public channel.
Where are the images stored? If they are available on a web page, you can use webread() and webwrite() to get and display them in a public MATLAB Visualization. You can also read them from another storage area such as dropbox.
Alec
Alec el 28 de Ag. de 2023
@Christopher Stapels thank you for your reply. The images are being taken by a Simulink simulation and stored locally on a drive, and another MATLAB script uploads them to an image channel on ThingSpeak using matlab.net.http functions. From there, I would like to send them to a website - ideally, I would imbed them in a webpage much like the MATLAB visualizations where you just copy/paste some HTML. I will explore what Vinod has done as well as webwrite() and webread().
Are there any plans to make image channels public?

Iniciar sesión para comentar.

Respuesta aceptada

Christopher Stapels
Christopher Stapels el 29 de Ag. de 2023
Movida: Christopher Stapels el 14 de Sept. de 2023
I have similar workflows for two of my projects. For one, I upload to dropbox using this function to upload.
Then you can use the read from dropbox code I linked above.
For another workflow, I use Amazon Boto on a RPi to upload the files to an S3 bucket. Then you can read the images from AWS in a similar way using MATLAB visualization.
There are plans to make the image channels public, but that work is not yet scheduled.
  2 comentarios
Jon
Jon el 3 de Dic. de 2023
OK -- let me ask my question which may be the same as OP.
Can I expose, private or public, my Thingspeak image feed in a private webpage of my own building? And if not, what is the point of an image channel?
Christopher Stapels
Christopher Stapels el 4 de Dic. de 2023
Editada: Christopher Stapels el 4 de Dic. de 2023
Right now, the primary use for image channels is to add a private view of the image on your channel. You can use this for monitoring assets that your are using to record thingSpeak data. For example if you have a weather station and a bird built a nest on it, you would be able to view the reason why the temperature shot up recently. The feature is intended to be a stepping stone.

Iniciar sesión para comentar.

Más respuestas (0)

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre Read Data from Channel en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by