An open API service indexing awesome lists of open source software.

https://github.com/ankush2992/smart-power-hub

Smart Power Hub: Control AC outlets remotely using ESP8266/ESP32 and SinricPro. Features voice control via Alexa/Google Assistant, mobile app support, WiFi connectivity, and real-time status updates. Turn any power strip into a smart home device. Perfect for home automation with easy setup and secure cloud communication.
https://github.com/ankush2992/smart-power-hub

esp32 iot-application voice-commands wireless-communications

Last synced: 2 months ago
JSON representation

Smart Power Hub: Control AC outlets remotely using ESP8266/ESP32 and SinricPro. Features voice control via Alexa/Google Assistant, mobile app support, WiFi connectivity, and real-time status updates. Turn any power strip into a smart home device. Perfect for home automation with easy setup and secure cloud communication.

Awesome Lists containing this project

README

          



# ๐ŸŒŸ Smart Home Power Box.
### Control Your World with Voice and Touch ๐ŸŽฎ

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Arduino](https://img.shields.io/badge/Arduino-00979D?style=flat&logo=Arduino&logoColor=white)](https://www.arduino.cc/)
[![ESP8266](https://img.shields.io/badge/ESP8266-E7352C?style=flat&logo=espressif&logoColor=white)](https://www.espressif.com/)
[![Alexa](https://img.shields.io/badge/Alexa-00CAFF?style=flat&logo=amazon-alexa&logoColor=white)](https://alexa.amazon.com/)


Smart Power Hub Banner

*Transform your ordinary power strip into a smart home powerhouse with voice control and mobile app integration!* ๐Ÿš€

[Report Bug](https://github.com/ankush2992/smart-power-hub/issues) ยท [Request Feature](https://github.com/ankush2992/smart-power-hub/issues)

## โœจ Features

- ๐ŸŽฏ **Precise Control** - Manage 3 independent AC outlets with millisecond precision
- ๐ŸŒ **WiFi Enabled** - Connect to your home network with auto-reconnect capability
- ๐Ÿ—ฃ๏ธ **Voice Control** - Compatible with Alexa and Google Assistant through SinricPro
- ๐Ÿ“ฑ **Mobile App** - Control from anywhere using the SinricPro mobile app and inbuilt Google-Home device manager
- โšก **Real-time Updates** - Instant status feedback and power state monitoring
- ๐Ÿ” **Secure** - Encrypted communication and secure cloud connectivity .


Project Demo 1

Project Setup in Action

Project Demo 2

Final Assembled Device



## ๐Ÿ› ๏ธ Hardware Requirements

### Components Needed
- ESP8266 or ESP32 development board
- 3-channel relay module (5V)
- Power strip or extension board
- Jumper wires
- 5V power supply
- Basic tools for assembly


Project component

Project Components

## ๐Ÿ”ง Installation

### 1๏ธโƒฃ Hardware Setup
```mermaid
graph LR
A[ESP8266/ESP32] --> B[Relay Module]
B --> C[Power Strip]
A -->|GPIO 14| D[Outlet 1]
A -->|GPIO 12| E[Outlet 2]
A -->|GPIO 13| F[Outlet 3]
```

### 2๏ธโƒฃ Software Setup

1. Install required libraries:
```bash
# Using Arduino Library Manager
๐Ÿ” Search for "SinricPro"
โœ… Install "SinricPro by Boris Jaeger"
```

2. Configure credentials:
```cpp
#define WIFI_SSID "Your_WiFi_SSID"
#define WIFI_PASS "Your_WiFi_Password"
#define APP_KEY "Your_APP_KEY"
#define APP_SECRET "Your_APP_SECRET"
```

## ๐Ÿ“ฑ Usage

1. **Power up** - Connect the device to power
2. **Connect** - Wait for WiFi connection (LED will turn solid)
3. **Control** - Use any of these methods:
- ๐Ÿ—ฃ๏ธ Voice commands through Alexa/Google Assistant
- ๐Ÿ“ฑ SinricPro mobile app
- ๐ŸŒ Web dashboard

## ๐Ÿ”Œ Pin Configuration

| Component | GPIO Pin | Description |
|-----------|----------|-------------|
| Relay 1 | GPIO 14 | Main outlet control |
| Relay 2 | GPIO 12 | Secondary outlet |
| Relay 3 | GPIO 13 | Auxiliary outlet |

## โš ๏ธ Safety First!

```diff
+ Always ensure proper insulation
- Never work with live AC power
! Consult an expert when in doubt
```

## ๐Ÿค Contributing

Contributions make the open-source community amazing! Any contributions you make are **greatly appreciated**.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## ๐Ÿ“œ License

Distributed under the MIT License. See `LICENSE` for more information.

## ๐Ÿ“ž Support

Having troubles? We're here to help!

- ๐Ÿ“ง Email - xen2992on@gmail.com

## ๐ŸŒŸ Show your support

Give a โญ๏ธ if this project helped you!

Made with โค๏ธ by [ANKUSH](https://github.com/ankush2992)