This document describes a Raspberry Pi and NodeMCU-based home automation system with low-cost and wireless capabilities. The system uses NodeMCU modules installed around the home to control electrical devices via relays. A Raspberry Pi acts as a central server to synchronize switch statuses and provide a user interface to control devices from anywhere via the internet. Node-RED software is used to create the backend programming and user interface, while MQTT protocol enables communication between the Raspberry Pi and NodeMCUs. The system was implemented with two NodeMCUs controlling rooms, demonstrating real-time monitoring and remote control of devices with a low-cost, customizable design.