ThingSpeak public image display
4 views (last 30 days)
Show older comments
Alec
on 26 Aug 2023
Edited: Christopher Stapels
on 4 Dec 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 Comments
Christopher Stapels
on 28 Aug 2023
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.
Accepted Answer
Christopher Stapels
on 29 Aug 2023
Moved: Christopher Stapels
on 14 Sep 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 Comments
Jon
on 3 Dec 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
on 4 Dec 2023
Edited: Christopher Stapels
on 4 Dec 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.
More Answers (0)
Communities
More Answers in the ThingSpeak Community
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!