MATLAB Answers

Read database from cloud-storage (dropbox or onedrive) to Thingspeak

14 views (last 30 days)
Alvaro Osorio
Alvaro Osorio on 8 Sep 2020
I need to read database from a cloud storage (e.g dropbox or onedrive) with "thingspeak". Do you know the steps?
1. database of the date and precipitations hosted in a cloud.
2. Visualize data and realize an alert system.

Answers (1)

Christopher Stapels
Christopher Stapels on 8 Sep 2020
I used dropbox for the image on this channel. Here is the MATLAB visualization code. If you are using Dropbox, the key part is the dl=1 at the end of the URL.
myFig=figure( 'Position',[50 10 100 1000]);
bob=imread('https://www.dropbox.com/s/xxxxxxxxxxx/LoraBox_in_Flowers.jpg?dl=1');
myFig=imshow(bob);
I'm sure there is a similar process for dropbox from MATLAB for data instead of images.
The ThingSpeak Alerts API can send emails to your MathWorks account email based on channel conditions.

Products

Communities

More Answers in the  ThingSpeak Community

Community Treasure Hunt

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

Start Hunting!