This article describes how to create an email alert when the E8 Asset Tracker is moved.
- You have installed the Cascade-500W gateway and configured your IoT Central Application.
- You have activated the E8 asset tracker.
- You have verified the E8 is online and sending data.
1. Create an Alert
From your IoT Central application, select Rules from the left menu. From the rules page, click the + New link at the top. This will bring up the rule creation page:
Fill in the name of the rule (this will appear in the alert emails), check the Enabled toggle, and set the Target template for “Minew E8”. Under Conditions select the telemetry, operator, and set the value to 0 to match below:
Note: these settings will result in an alert being sent for every case when the device at rest is moved. To configure different sensitivity options, see Advanced Setup for the E8 Asset Tracker.
Finally, under the Actions section, setup the email you would like alerts sent to. For further reading on how to setup text alerts using Azure Monitors, see this tutorial.
Once your rule is configured, click “Save” at the top of the page.
2. Test your Alert
Once the rule is created, wait 1-2 minutes for the email alert process to be setup in Azure IoT Central. Once it is live, simply picking up the E8 device from a desk or table should trigger the alert and send an email:
Rules can be disabled/enabled and there are a number of advanced options for managing alert triggers. For more advanced scenarios, see Advanced Setup for the E8 Asset Tracker.