8000 GitHub - Moeabdelhafeed/smartroom: SmartRoom is an IoT home automation project built with ESP32 microcontrollers and HiveMQ MQTT Cloud for real-time device communication. The system uses Wi-Fi-enabled ESP32 devices controlled via a Nuxt.js frontend, enabling seamless smart environment management.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SmartRoom is an IoT home automation project built with ESP32 microcontrollers and HiveMQ MQTT Cloud for real-time device communication. The system uses Wi-Fi-enabled ESP32 devices controlled via a Nuxt.js frontend, enabling seamless smart environment management.

License

Notifications You must be signed in to change notification settings

Moeabdelhafeed/smartroom

Repository files navigation

Smart Room with ESP32 🔐🌡️💨

Welcome to the Smart Room project! This is a web-integrated smart room system powered by ESP32. It combines sensors, a web dashboard, and automation to create a safer, smarter environment.

🔗 Full Tutorial

👉 Check out the complete guide on Medium: How to Build a Web-Integrated Smart Room with ESP32

This tutorial includes everything you need:

  • Step-by-step hardware setup
  • Wiring diagram
  • Web dashboard integration using MQTT (HiveMQ)
  • Full code walkthrough for ESP32 and Nuxt.js dashboard

🚀 Features

  • Keypad + LCD access system
  • MQ-2 Gas Sensor triggers fan & auto-unlock
  • Temperature & Humidity monitoring with DHT11
  • Real-time Web Dashboard with MQTT
  • Servo Motor door control
  • Fan activation with Relay

🧰 Components Used

  • ESP32 Dev Board
  • 3x4 Keypad
  • LCD1602 (I2C)
  • MQ-2 Gas Sensor
  • DHT11 Sensor
  • SG90 Servo Motor
  • Relay Module (for Fan)
  • LEDs, Jumper wires, Resistors, Breadboard

📦 Code & Dashboard

  • ESP32 Code: smartroom.ino
  • Web App (Nuxt.js): /web-dashboard folder

Replace placeholders in code with your HiveMQ and WiFi credentials.

🛠️ Quick Start

# Web Dashboard Setup
npm install
npm run dev
// Arduino Setup
// Update your WiFi and MQTT credentials
const char* ssid = "YOUR_WIFI";
const char* password = "YOUR_PASSWORD";

📡 MQTT Integration (HiveMQ Cloud)

  • Broker: HiveMQ Cloud
  • Uses PubSubClient (ESP32) & Websockets (Web App)

🖥 Live Demo (Optional)

You can deploy the web dashboard to GitHub Pages easily.

🙌 Contribution

Feel free to fork, explore, or contribute ideas!

📄 License

MIT License


✨ Inspired and built with love using ESP32 + Nuxt + MQTT + Sensors

About

SmartRoom is an IoT home automation project built with ESP32 microcontrollers and HiveMQ MQTT Cloud for real-time device communication. The system uses Wi-Fi-enabled ESP32 devices controlled via a Nuxt.js frontend, enabling seamless smart environment management.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0