This is system for remote control of lights in te room from application on the phone. I can controll the system via WiFi thanks to the RemoteXY library and phone application.
Here is a link to the RemoteXY webside: https://remotexy.com/en/
To build the system I needed:
- ESP8266 NodeMCU
- ESP8266 NodeMCU Shield
- 2 Servos 180*
ESP Shield is needed because the maximum voltage on the board is 3, 3V and to work the servo you need 5V.
In the system, the servos switch the light switch. One servo is responsible for turning on the light and the other for turning off.

EXPANDED TECHNICAL DETAILS
Wi-Fi Enabled Home Automation
This project replaces a traditional wall switch with a modern, internet-connected control system using the ESP8266 (NodeMCU).
- Web-Based Actuation: The ESP8266 hosts a local web server or connects to a cloud-based dashboard. This allows the user to toggle the lights from any smartphone or computer connected to the same network.
- Safety Relay Stage: Uses a 5V Relay Module (Opto-isolated) to safely separate the 3.3V signals of the NodeMCU from the 110V/220V mains electricity.
User Customization
- RemoteXY Integration: Compatible with the RemoteXY platform, providing a polished mobile GUI without the need for complex Android/iOS app development.
- Manual Override: Includes a physical "Tactile Button" input so the light can still be controlled locally if the WiFi signal is lost.