Smart Home IoT
Smart home system that controls devices and reads sensors from one web dashboard, an ESP32 and a Node.js API.
Problem
Home devices are controlled from separate switches and apps, with no single place to see sensor data, automate, or just say what you want.
Results
- 4 relay-controlled devices
- 3-way real-time sync: dashboard, server, ESP32
- 2 sensors: DHT22 and LDR
- 2 modes: Manual and Auto
Features
- Control lights, fans, air conditioners and door locks
- Real-time sync between the web dashboard, the server and the ESP32
- Sensor monitoring: DHT22 temperature and humidity, LDR light level
- AI natural-language commands through an LLM API (OpenAI or Gemini)
- Command and chat history stored in PostgreSQL
- Manual and Auto modes
Tech stack
- ESP32
- Node.js
- PostgreSQL
- Redis
- PlatformIO
- Wokwi