Quantcast
Channel: ThingSpeak IoT Community - All Forums
Viewing all articles
Browse latest Browse all 1833

dstacer on React - No Data Check

$
0
0

The first link idea looks like it will work.  I'll give that that a try.

Schedule a time control to run once a day, running the short MATLAB code, looking for lack of data over 24 hours then send notification.

The goal would be to only send a message once a day.  How do you persist data out side of a channel or is the channel the only way to save data between runs of a MATLAB program?

If I could keep track of when the last notification was sent, it could check more often. If the failure occurred one second after the last check, the notification may be close to two days old before it was sent. If I could save when the last notification was sent (for no data) then it could check more frequently but only send the notification once a day.

It could use another channel to keep track of that but using another channel seems a bit overkill.


Viewing all articles
Browse latest Browse all 1833

Trending Articles