Calculate Dew point Channel 1120609

1 view (last 30 days)
Marcio Lopes
Marcio Lopes on 23 Aug 2020
Commented: Marcio Lopes on 25 Aug 2020
Hi there! My channel is 1120609 and I made the dew point calculate but it’s working only a few minutes. How can I make this to work all the time?
  2 Comments
John D'Errico
John D'Errico on 23 Aug 2020
How is this a question about MATLAB?
Marcio Lopes
Marcio Lopes on 24 Aug 2020
Hi John, I typed the code below and I ask for help. It's not working all the time.

Sign in to comment.

Answers (1)

Vinod
Vinod on 23 Aug 2020
Can you share your MATLAB code that is doing the dew-point calculation on ThingSpeak? Remember to redact or replace your channel's API keys in the code snippet with a placeholder like "XXXXX".
  3 Comments
Vinod
Vinod on 25 Aug 2020
You need to associate this code to a TimeControl app on ThingSpeak which will execute the code on a schedule. You probably want to modify "NumPoints" to "NumMinutes" parameter to thingSpeakread to a value less than the TimeControl frequency. Then, your channel specified in writeChId will be updated every time the TimeControl runs.
Marcio Lopes
Marcio Lopes on 25 Aug 2020
Thank you Vinod. Now it's working very well.
Thanks a lot.

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on Read Data from Channel in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!