How do I see live updates from my ThingSpeak channel?

14 vues (au cours des 30 derniers jours)
Anaastasia Modval
Anaastasia Modval le 25 Mar 2022
Hello, I want to subscribe to my channel from ThingSpeak, and after this to export this data to a json file. The problem is that I want this to be done automatically. Is it possible in Matlab, if yes, then how, I cannot find it in Matlab documentation? Thank you
  1 commentaire
Christopher Stapels
Christopher Stapels le 28 Mar 2022
Can you describe more about what you mean to subscribe to the channel? Are you using MQTT on a device? Our MQTT broker supports subscribe, but you will only get the last update. You can use the read data call in the REST API to export up to the last 8000 points into a json file, you don't even need MATLAB for that. However, you can use the alerts service to send an email with your last points in whatever format you like. For this you can use the built in MATLAB capabilities, even if you dont have a seperate MATLAB license (even with the free ThingSpeak license). See Analyze Channel Data to Send Email Notification and the TimeControl app to see how to trigger your report at regular intervals.

Connectez-vous pour commenter.

Réponses (0)

Communautés

Plus de réponses dans  ThingSpeak Community

Catégories

En savoir plus sur Read Data from Channel dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by