Shivam Gutgutia Image
Shivam Gutgutia

MQTT - Home Automation

The simulation showcases controlling home appliances via a phone using MQTT. Adding sensors enables automatic actions, like lights turning off when empty rooms are detected. It's about making homes smarter with easy phone control and automated features.

Project Image

Project Overview

The simulation demonstrates how you can control home appliances from your phone using a simple protocol called MQTT. It's like using your phone as a remote control for things like lights or thermostats. Moreover, you can make it even better by adding sensors. These sensors can automatically trigger actions, like turning off lights when nobody's in the room or adjusting the temperature based on the weather outside. It's a way to make your home smarter and more convenient using technology.

Our home automation system employs MQTT for efficient communication and control. Rooms, including ROOM1, ROOM2, ROOM3, and HOME, subscribe to designated topics. Devices, such as LAMP (LAMP1, LAMP2), FAN, AC, HUMIDIFIER, COFFEE, and ALL, are controlled using "on" and "off" messages. Topics follow the format <ROOM_NAME>/<DEVICE_NAME> or <ROOM_NAME>/ALL for specific or collective device control within a room. For example, ROOM1/LAMP1 with "on" activates LAMP1 in the first room, while HOME/ALL with "off" deactivates all devices in the entire home. This system ensures flexible and streamlined home automation.

Tools Used

IoT
Cisco Packet Tracer
MQTT Protocol
Python
Paho - MQTT