AWS IoT Rule for Email Notification Triggering
In this tutorial, we are going to explore how to setup IoT rule in order to trigger email
notification on IoT message reception.
Summary :
● How to Setup IoT Rule.
● Configure email based SNS Service Notification Service.
● Tests: Publish a message to IoT Topic and receive email notification.
Goto IoT Core -> Act -> Rules and hit “Create” .
Populate Rule “Name” and “Description”
then fill in the query statement with your own topic
and then hit “add action”
Select SNS Push Notification and hit “configure action”
Fill in “SNS target”, “Message format” and create Role as below then hit “Add action”
Goto “Simple Notification Service “ (​SNS​) from the main console menu:
Select “Subscriptions” from the left side menu and hit “create subscription”
Fill in “Topic ARN”, “email” as protocol and your email address.
Then hit “Create Subscription”
Test:
Go back to IoT Core Service ->Test->Publish to a topic
Fill in with the topic name and the message to send and hit “Publish to topic”
Check your inbox
That’s all!
Hope you enjoyed
With Regards,
Mahmoud BEN TAHAR

AWS IoT Rule for Email Notification Triggering

  • 1.
    AWS IoT Rulefor Email Notification Triggering In this tutorial, we are going to explore how to setup IoT rule in order to trigger email notification on IoT message reception. Summary : ● How to Setup IoT Rule. ● Configure email based SNS Service Notification Service. ● Tests: Publish a message to IoT Topic and receive email notification. Goto IoT Core -> Act -> Rules and hit “Create” .
  • 2.
    Populate Rule “Name”and “Description” then fill in the query statement with your own topic and then hit “add action” Select SNS Push Notification and hit “configure action”
  • 3.
    Fill in “SNStarget”, “Message format” and create Role as below then hit “Add action” Goto “Simple Notification Service “ (​SNS​) from the main console menu:
  • 4.
    Select “Subscriptions” fromthe left side menu and hit “create subscription” Fill in “Topic ARN”, “email” as protocol and your email address. Then hit “Create Subscription”
  • 5.
    Test: Go back toIoT Core Service ->Test->Publish to a topic Fill in with the topic name and the message to send and hit “Publish to topic” Check your inbox That’s all! Hope you enjoyed With Regards, Mahmoud BEN TAHAR