Sending data from another cloud provider to ThingSpeak

2 visualizaciones (últimos 30 días)
Haydar Jawad
Haydar Jawad el 21 de En. de 2020
Comentada: Christopher Stapels el 25 de Feb. de 2022
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

Respuestas (2)

Christopher Stapels
Christopher Stapels el 21 de En. de 2020
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 comentarios
NUR ATHIRAH
NUR ATHIRAH el 25 de Feb. de 2022
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?
Christopher Stapels
Christopher Stapels el 25 de Feb. de 2022
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.

Iniciar sesión para comentar.


Vinod
Vinod el 22 de En. de 2020
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 comentarios
Haydar Jawad
Haydar Jawad el 24 de En. de 2020
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 .
Vinod
Vinod el 26 de En. de 2020
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.

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  ThingSpeak Community

Categorías

Más información sobre ThingSpeak 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