How do I see live updates from my ThingSpeak channel?

1 Ansicht (letzte 30 Tage)
Anaastasia Modval
Anaastasia Modval am 25 Mär. 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 Kommentar
Christopher Stapels
Christopher Stapels am 28 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Communitys

Weitere Antworten in  ThingSpeak Community

Kategorien

Mehr zu Read Data from Channel finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by