This project implements a smart home automation solution that allows users to control electrical appliances both remotely via MQTT messaging and manually through GPIO interrupts. The system is designed to be efficient, reliable, and compatible with modern IoT ecosystems.
The firmware is based on the Zephyr RTOS and Espressif ESP32 microcontroller.
- MQTT Client: Full support for MQTT v3.1.1 protocol
- Send MQTT PUBLISH messages
- Receive MQTT SUBSCRIBE messages
- GPIO to control appliances
Building the connected home firmware requires a proper Zephyr development environment. Follow the official Zephyr Getting Started Guide to establish one.
- MQTT broker (local or cloud-based)
git clone https://github.com/walidbadar/connected-home.git
cd connected-homewest build -p auto -b esp32_devkitc/esp32/procpu .west build -t menuconfigwest flashsudo apt install -y socat libpcap-dev
git clone https://github.com/zephyrproject-rtos/net-tools
cd net-tools
make
./net-setup startcd connected-home
west build -p auto -b native_sim .
west build -t run
