
🔌 Smart PC Power Control
Transform any computer into a smart device with this low-cost WiFi relay that enables remote power control through voice assistants and mobile apps.
Project Overview
This open-source hardware project uses an ESP8266 microcontroller to create a smart relay that can:
- Turn PCs on/off remotely
- Integrate with Alexa and Google Home
- Control via smartphone
- Schedule power cycles
Key Features
-
🎙️ Voice Control
- "Alexa, turn on my computer"
- "Hey Google, restart the PC"
- Custom voice commands
- Multi-language support
-
📱 Remote Access
- Control from anywhere
- Mobile app integration
- Web interface
- REST API
-
⚡ Hardware Features
- Safe relay isolation
- LED status indicators
- Manual override button
- Power monitoring
-
💰 Cost-Effective
- Total cost under $10
- Uses common components
- Easy to source parts
- No proprietary hardware
Technical Specifications
- Microcontroller: ESP8266 (NodeMCU/Wemos D1)
- Relay: 5V relay module
- Power: USB or 5V adapter
- Connection: WiFi 2.4GHz
- Protocol: MQTT, HTTP
- Integration: Alexa Skills, Google Actions
Build Components
- ESP8266 Board ($3)
- 5V Relay Module ($2)
- Jumper Wires ($1)
- Project Box ($2)
- USB Cable ($2)
Total: ~$10
Software Stack
- Firmware: Arduino/C++
- Cloud: AWS IoT / Google Cloud
- Protocols: MQTT, REST
- Voice: Alexa SDK, Google Assistant SDK
- Mobile: Blynk, Home Assistant
Use Cases
- Remote PC management
- Server control
- Mining rig management
- Home automation
- Energy saving
- Security systems
Installation Guide
- Flash ESP8266 with provided firmware
- Connect relay to GPIO pins
- Configure WiFi credentials
- Link to Alexa/Google Home
- Test voice commands
Impact
- 500+ GitHub stars
- Used in home labs worldwide
- Featured in IoT communities
- Cost savings for users
Open Source
Full code and schematics available on GitHub: github.com/Avzolem/Wifirelay-PC-Power-Button-ESP8266
Safety Note
This project involves mains electricity connections. Always follow proper safety procedures and local electrical codes.