Define a Leonardo IoT Rule and Trigger an Action
Requires Customer/Partner License
January 25, 2021
Beginner
20 min.
Define a Leonardo IoT rule to monitor the things and create an action to send an Email notification
You will learn
- How to define and create a rule
- How to activate a rule
- How to create a rule context
- How to set up an Email server
- How to create an action to send an Email notification
Prerequisites
- Tutorials: Create a Simple IoT Device Model and Create Thing Model
- Configuration You or someone else that is an administrator in your global account has walked through the following end-to-end configuration and onboarding guide: Getting Started with SAP Leonardo IoT.
In this tutorial, you will define a rule to check if the temperature is too high. If this is the case, an email should be sent.
Step 1: Configure your Mail Server (SMTP)
Step 2: Create a rule context
Step 3: Create a rule
Step 4: Create action to send email
Step 5: Test rule