aws-iot-analytics is a sample project that explores AWS IoT Analytics. The goal is to build a Raspberry Pi-based device capable of transmitting current environment data (e.g. temperature, humidity) to AWS IoT, where IoT Analytics will enrich that data with current weather. The enriched data will then be fed to AWS QuickSight to create a simple visualization.
This project requires a Raspberry Pi 3 as well as a Sense HAT add-on. Total cost is approximately $100 for hardware.
To get started, clone this repository locally:
$ git clone https://github.com/jkahn117/aws-iot-analytics-sample.git
The repository contains an AWS CloudFormation template that will launch the needed AWS resources as well as source code for the sample.
To run the aws-iot-analytics-sample project, you will need to:
- Select an AWS Region into which you will deploy services. Be sure that all required services (specifically AWS IoT Analytics) are available in the Region you select.
- Confirm your installation of the latest AWS CLI.
- Confirm the AWS CLI is properly configured with credentials that have administrator access to your AWS account.
- Install Node.js and NPM.
Deploying this project is broken down into five sections, each covering an indepdent aspect of the solution. Please move through them in order:
- Part 1: Deploying AWS Resources
- Part 2: Configuring AWS IoT Core
- Part 3: Setting up your Raspberry Pi
- Part 4: Enriching Data with AWS Iot Analytics
- Part 5: Visualizing Data with AWS Quicksight
At the end of the project, you will have create a live dashboard in AWS Quicksight that displays environmental conditions around the Raspberry Pi relative to the outside:
Please feel free to provide feedback on this project.
- Josh Kahn - initial work