Smart Climate Management System
An event-driven IoT system that monitors temperature, humidity and occupancy across a large building, built to keep working as the number of sensors grows.
- MQTTSimulated sensors publish readings
- AWS IoT CoreAuthenticates devices with X.509 and TLS
- Amazon SQSBuffers bursts so nothing is lost
- AWS LambdaValidates and processes each message
- MongoDB AtlasStores readings for the Node-RED dashboard
- 1,000simulated sensors in load testing
- 9,007messages processed after the redesign
- 0messages lost with SQS buffering
- Load-tested at 10, 100 and 1,000 sensors and found the database write bottleneck, then added SQS buffering to fix it.
- Debugged an AWS IoT authorisation failure using CloudWatch and fixed MongoDB connection overload under Lambda.
- Moved credentials into environment variables and secured every device with its own certificate.
- Node.js
- MQTT
- AWS IoT Core
- Amazon SQS
- AWS Lambda
- MongoDB Atlas
- Node-RED
- CloudWatch