Section 3: Create an Azure IoT Central Application.
3.1. Go to the site and log in using your Azure Active Directory Credentials: https://apps.azureiotcentral.com/create
3.2. Create application:
3.3. Create a Device Template:
3.4. Add the following telemetries:
You have to add each of the following as a separate telemetry entry:
Enter them like this:
After entering each telemetry entry you should have the following:
3.5. To configure email message after detecting Vibrations on the device go to the Rules and Click New/Telemetry:
3.6. Name Rule and add a condition like here:
3.7. Save it and Open and choose Email:
3.8. Configure email Action and Save:
Change the email address to wherever you want the warning messages go.
3.9. Do the same for:
You can add more than one email action like here:
3.10. Add your Real device and delete any existing simulated one:
3.11. Device id can be acquired this command (it must be a lower letter):
powershell -Command ((azsphere device show-attached) -split ': ').ToLower()
Onward to Part 4, where you will set up communication between Azure Sphere IoT device and Azure IoT Central Application.