Clear Filters
Clear Filters

E-mail Alert thingspeak for outlook

3 views (last 30 days)
Marcelo Bertoni Dias
Marcelo Bertoni Dias on 14 Apr 2022
Edited: Ishu on 5 May 2024
Hello, I'm monitoring the current of a motor with a sensor and this value is being stored in thingspeak and I needed to send an email alert if it exceeds 5A, does anyone know how to do this? e-mail that using is outlook

Answers (1)

Ishu
Ishu on 5 May 2024
Edited: Ishu on 5 May 2024
Hi Marcelo,
I understand that you want to send alerts to your "Outlook" mail whenever your alert conditions are met.
You can follow the below steps in order to send alerts through emails:
1.Navigate to "Apps" and create a "React".
2.Configure your "React" settings:
a. Condition Type: Choose "Numeric" since you're dealing with
current measurements.
b. Test Frequency: Select "On Data Insertion" to check the current
value each time a new data point is added.
c. Condition: Set the condition to trigger the alert. For example, if
you're storing the current measurement in "Field1", your condition
might be "Field1 > 5".
d. In the "Action" section, select the "MATLAB Analysis" and add the
code you want to execute to send email alerts when the condition is met.
One thing you should keep in mind is that ThingSpeak only sends email to the account owner.You can set up a rule in your email service to forward the messages to other users based on the subject line, which you can control in your ThingSpeak Alert.
You can refer to the following MATLAB Answer on how to write code in "MATLAB Analysis" to send email alerts:
Hope it helps!

Community Treasure Hunt

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

Start Hunting!