Sending data from another cloud provider to ThingSpeak

Hi Guys, please help
I need to send data to thingspeak using RESTFUL API, i have all the API key etc from my provider but can not figure out how to make thing sepak receive the data ? thank you

Réponses (2)

Christopher Stapels
Christopher Stapels le 21 Jan 2020

0 votes

ThingSpeak will most likely be able to accept your data. I would suggest you start with the Get Started tutorial. Its a really great way to get acquainted with ThingSpeak, and its not too long. Then consider the Write Data reference page to see how to write data using the RESTful API, or the complete REST API page.

3 commentaires

Hi Chris, thank you for the prompt reply. I know those links and i know how to read and write to channels from Matlab or Python even the REST API page is just ThingSpeak read write only etc. What I have is a GET API from a third party cloud and i need to use this API in ThingSpeak. All thingspeak tutorials are about reading and writing into the channel own API KEYS, that bit i understand Example can data from Azure get sent to ThingSpeak directly using Azure API KEY ? if yes how there is no tutorial explaining this kind of scenario.
all the best
Do you have example because i want to display data from simulink model to thingspeak directly? I have use thingspeakwrite output, but when display at thingspeak, it only display constant value? No changes. Can you explain to me?
Can you start a new thread with your quuestion? I think we will need a lot more details to understand you issue and to help you. Here is an example video using Simulink. If you start a new post, I can add additional resources.

Connectez-vous pour commenter.

Vinod
Vinod le 22 Jan 2020

0 votes

Haydar,
If I understand right, your question is how to READ data from Azure and have the data show up on ThingSpeak. It is not about having Azure automatically send the data to ThingSpeak. Am I correct?
If so, what you need to do is setup a MATLAB Analysis application that uses your Azure API keys to retrieve the data from Azure and use the thingSpeakWrite function to write it to a ThingSpeak channel. You can then tie this MATLAB code to a timecontrol so it executes on a clock.
Stepping back from the technical details for a minute, can you describe in detail what you are trying to achieve and what kind of data you want to bring into ThingSpeak from Azure?
-Vinod

2 commentaires

Hi Vinod, Thank you for the prompt response. yes it's 100% about sending data directly to thingspeak from another cloud provider. .
I can do Matlab as a middle way as i can use Webread and Webwrite etc and then ThingSpeak commands within Matlab no issues and in the analysis section of thingspeak . But I thought its neater to send the data direct to thingspeak.
As a side note Azure is just an example i am not using Azure i am using a third party cloud provider.
At a very high level, The project is to read from 10+ medical sensors data from a specialised platform hardware (the platform can not talk direct to thingspeak) it has to talk to its own cloud bridge then the bridge provide API KEYS for outside communication and read data . . So the plan now is to read into matlab code and use matlab toolboxes like (opmsation, fuzzy logic, AI,and other commands etc) to predict medical conditions and use ThinkSpeak for live graphic display of the results .
If you are looking to have the 3rd party service send data to ThingSpeak, you will need to write some code on that 3rd party service that uses the ThingSpeak API service to update a channel.

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur ThingSpeak dans Centre d'aide et File Exchange

Produits

Version

R2019b

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by