Skip to content

Simple room monitor using Wemos D1 mini and AWS IoT Core over MQTT

License

Notifications You must be signed in to change notification settings

branimir-kirilov/io.tty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

io.tty

Simple weather monitor that sends data (temperature, humidity and pressure) periodically to AWS IoT Core via MQTT.

Simple wireframe:

wireframe

The device

The main controller used is Wemos D1 Mini and Adafruite BME280

Code

Wemos D1 + sensors

  • This wrapper library was used to establish the connection between the device and AWS IoT Core. The readings from the sensor are delivered on the I2C bus.

The setup for this is easy - check the board code. All the other libraries used are standard and widely used.

Configuration in AWS Console

  • Next, the IoT core hook to DynamoDB and AWS Lambda was configured though the AWS Console.

Slack integration

  • A slack bot was configured and the lambda (NodeJs) is calling the Slack Webhook every time a measurement is being sent:

VueJs Client

  • The VueJs client located here was created with Vue CLI (v3) and aws-amplify + aws-amplify-vue for easier configuration of AWS Cognito. The authenticated role of the user pool for this application was given read access on the DynamoDB table for it, meaning that only authenticated users from that particular user pool can get the data from that table.

home

About

Simple room monitor using Wemos D1 mini and AWS IoT Core over MQTT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published