comparison of multiple thing speak fields with mat lab
Mostra commenti meno recenti
Is it possible to set up Matlab to compare thing speak field values.
Field 4 = 1 and Field 5 = 1 and Field 1 > 4 then
delay 30 secounds
Alert message " xxxxxxxxx"
3 Commenti
avram alter
il 3 Feb 2020
Modificato: avram alter
il 3 Feb 2020
are you talking about using the function thingspeakread()? you can probably use logical evaluators within the paramteters you discussed like so
field1 = % setr these variables to the appropriate channels/value/etc
field2 =
field3 =
field4 =
field5 =
if field4 == 1 && field5 == 1 && field1 > field4
disp('XXXXXXXXX')
end
Dayne Gilleland
il 3 Feb 2020
avram alter
il 3 Feb 2020
According to the thingSpeak alert documentation in MATLAB, Under limitations:
"Users are limited to 2 alerts every 30 minutes. The rate limit is applied when the request is made, not when the email is sent. If you exceed the request limit, the API returns the response code 429."
you can read more about that here:
Risposta accettata
Più risposte (0)
Community
Più risposte nel ThingSpeak Community
Categorie
Scopri di più su Web Services in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!