Skip to content

React Dashboard to view temperature readings sent from an IoT device.

License

Notifications You must be signed in to change notification settings

TomNuttall/iot-temp-sensor

Repository files navigation

IoT Temp Sensor

IoT device with a temperature sensor sends readings that can then be viewed with a dashboard.

Light theme single date Dark theme multiple dates

Project Overview

🌤️ Temperature Sensor

📖 Date Source Readme

  • Esp32 microcontroller connected to a temperature sensor.
  • Average Reading sent to AWS IoT Core and message added to DynamoDB table.

🛠️ AWS Backend

📖 Backend Readme

  • API Gateway with Lambda integration reads DynamoDB table and returns data.

📈 React Frontend

📖 Dashboard Readme

  • React dashboard consumes API with date picking.
  • ChartJS used for graphs.

🧱 Infastructure

📖 Infastructure Readme

  • CloudFormation templates used to deploy AWS infastructure
  • GitHub actions deploy dashboard to S3 bucket and backend lambda.

🧱 Local DB

📖 Local DB Readme

  • Docker image for local DynamoDB tables.

Run

  1. Start up (and populate) local DynamoDB docker image
  2. Start up local lambda and connect to local DynamoDB table
yarn dev:local-db
yarn dev:backend
  1. Start frontend and connect to local backend.
yarn dev:dashboard