Smart Thermostat

In this tutorial, you configure your Core2 for AWS to simulate a smart thermostat that controls a fictional HVAC system. Your smart thermostat reports the measured room temperature and noise level to its device shadow in the cloud. You also configure a serverless application that listens for the reported temperatures, determines the state to set the thermostat, and sends commands back to the device.

This tutorial requires that you have:

  • The M5Stack Core2 for AWS IoT Kit (Core2 for AWS) device.
  • An AWS account that is not running production workloads.
  • A user in your AWS account that is assigned to you and has administrator access.
  • Completed the Cloud Connected Blinky tutorial.
  • Confirmed which serial port the device uses.
  • Familiarity with basic technical concepts and tools, such as the command prompt or terminal window.

Learning Objectives

By the end of this tutorial, you will:

  1. Acquire temperature and sound levels from the Core2 for AWS.
  2. Publish temperature and sound measurements from the Core2 for AWS to AWS IoT Core.
  3. Report measured values to the AWS IoT device shadow.
  4. Perform message transformations with the AWS IoT rules engine.
  5. Build a serverless application that responds to inputs and detects complex events.
  6. Send commands to your device through the device shadow.

To begin, continue to Introduction .


Questions? Please use M5Stack Forum

AWS IoT Kit now features direct access to M5Stack Forum , which is a community-driven, questions-and-answers service. Search re:Post using the Core2 for AWS tag to see if your question has been asked and answered. If not, ask a new question using the Core2 for AWS tag.