Experimental Results

  1. Run the simulation sensor
  • Open Terminal and navigate to the directory of the file sensor_simulator.py
  • Run the command: python sensor_simulator.py
    Demo
  1. Check data in AWS IoT
  • Access the AWS IoT Core management console
  • Select MQTT test client
  • In the Topic filter, enter inventory/sensor1/data
  • Click Subscribe
  • Click Publish
  • Scroll down to see the data received from the sensor device sent to IoT Core.

Demo
Demo

  1. Check logs in CloudWatch
  1. Check data in DynamoDB
  • Access the DynamoDB service management interface
  • Select Explore items
  • Choose the Inventory table
  • Click Run; the Table: Inventory - Items returned section will contain all the data sent from the sensors.

Demo

  1. Check Gmail
  • Open the Gmail account registered for the SNS service

Demo

SNS will send alerts to the email when a product is received with a quantity lower than 20.