{"id":24910168,"url":"https://github.com/ankush2992/smart-power-hub","last_synced_at":"2026-04-17T09:31:42.747Z","repository":{"id":273759725,"uuid":"920787953","full_name":"ankush2992/Smart-Power-Hub","owner":"ankush2992","description":"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.","archived":false,"fork":false,"pushed_at":"2025-02-03T16:31:55.000Z","size":594,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T15:46:32.409Z","etag":null,"topics":["esp32","iot-application","voice-commands","wireless-communications"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankush2992.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-22T19:16:38.000Z","updated_at":"2025-02-03T16:31:58.000Z","dependencies_parsed_at":"2025-03-28T01:56:26.133Z","dependency_job_id":"e251f0db-bf30-49f2-9afc-c256372b2bf4","html_url":"https://github.com/ankush2992/Smart-Power-Hub","commit_stats":null,"previous_names":["ankush2992/smart_electric---extension_board"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ankush2992/Smart-Power-Hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush2992%2FSmart-Power-Hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush2992%2FSmart-Power-Hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush2992%2FSmart-Power-Hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush2992%2FSmart-Power-Hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankush2992","download_url":"https://codeload.github.com/ankush2992/Smart-Power-Hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankush2992%2FSmart-Power-Hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","iot-application","voice-commands","wireless-communications"],"created_at":"2025-02-02T03:34:47.430Z","updated_at":"2026-04-17T09:31:42.730Z","avatar_url":"https://github.com/ankush2992.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n   \n# 🌟 Smart Home Power Box. \n### Control Your World with Voice and Touch 🎮\n\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Arduino](https://img.shields.io/badge/Arduino-00979D?style=flat\u0026logo=Arduino\u0026logoColor=white)](https://www.arduino.cc/)\n[![ESP8266](https://img.shields.io/badge/ESP8266-E7352C?style=flat\u0026logo=espressif\u0026logoColor=white)](https://www.espressif.com/)\n[![Alexa](https://img.shields.io/badge/Alexa-00CAFF?style=flat\u0026logo=amazon-alexa\u0026logoColor=white)](https://alexa.amazon.com/)\n\n\u003cp align=\"center\"\u003e \n  \u003cimg src=\"./assets/banner.svg\" alt=\"Smart Power Hub Banner\" width=\"1200px\" style=\"max-width: 100%;\"\u003e\n\u003c/p\u003e\n\n*Transform your ordinary power strip into a smart home powerhouse with voice control and mobile app integration!* 🚀\n\n  [Report Bug](https://github.com/ankush2992/smart-power-hub/issues) · [Request Feature](https://github.com/ankush2992/smart-power-hub/issues)\n\n\u003c/div\u003e\n\n## ✨ Features\n\n- 🎯 **Precise Control** - Manage 3 independent AC outlets with millisecond precision\n- 🌐 **WiFi Enabled** - Connect to your home network with auto-reconnect capability\n- 🗣️ **Voice Control** - Compatible with Alexa and Google Assistant through SinricPro\n- 📱 **Mobile App** - Control from anywhere using the SinricPro mobile app and inbuilt Google-Home device manager\n- ⚡ **Real-time Updates** - Instant status feedback and power state monitoring\n- 🔐 **Secure** - Encrypted communication and secure cloud connectivity  .\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./assets/demo1.jpg\" alt=\"Project Demo 1\" width=\"600\"\u003e\n\u003cp\u003e\u003cb\u003eProject Setup in Action\u003c/b\u003e\u003c/p\u003e\n\n\u003cimg src=\"./assets/demo2.jpg\" alt=\"Project Demo 2\" width=\"600\"\u003e\n\u003cp\u003e\u003cb\u003eFinal Assembled Device\u003c/b\u003e\u003c/p\u003e\n\u003c/div\u003e\n## 🛠️ Hardware Requirements\n\n### Components Needed\n- ESP8266 or ESP32 development board\n- 3-channel relay module (5V)\n- Power strip or extension board\n- Jumper wires\n- 5V power supply\n- Basic tools for assembly\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"./assets/component.jpg\" alt=\"Project component\" width=\"650\"\u003e\n\u003cp\u003e\u003cb\u003eProject Components\u003c/b\u003e\u003c/p\u003e\n\n## 🔧 Installation\n\n### 1️⃣ Hardware Setup\n```mermaid\ngraph LR\n    A[ESP8266/ESP32] --\u003e B[Relay Module]\n    B --\u003e C[Power Strip]\n    A --\u003e|GPIO 14| D[Outlet 1]\n    A --\u003e|GPIO 12| E[Outlet 2]\n    A --\u003e|GPIO 13| F[Outlet 3]\n```\n\n### 2️⃣ Software Setup\n\n1. Install required libraries:\n```bash\n# Using Arduino Library Manager\n🔍 Search for \"SinricPro\"\n✅ Install \"SinricPro by Boris Jaeger\"\n```\n\n2. Configure credentials:\n```cpp\n#define WIFI_SSID    \"Your_WiFi_SSID\"\n#define WIFI_PASS    \"Your_WiFi_Password\"\n#define APP_KEY      \"Your_APP_KEY\"\n#define APP_SECRET   \"Your_APP_SECRET\"\n```\n\n## 📱 Usage\n\n1. **Power up** - Connect the device to power\n2. **Connect** - Wait for WiFi connection (LED will turn solid)\n3. **Control** - Use any of these methods:\n   - 🗣️ Voice commands through Alexa/Google Assistant\n   - 📱 SinricPro mobile app\n   - 🌐 Web dashboard\n\n## 🔌 Pin Configuration\n\n| Component | GPIO Pin | Description |\n|-----------|----------|-------------|\n| Relay 1   | GPIO 14  | Main outlet control |\n| Relay 2   | GPIO 12  | Secondary outlet |\n| Relay 3   | GPIO 13  | Auxiliary outlet |\n\n## ⚠️ Safety First!\n\n```diff\n+ Always ensure proper insulation\n- Never work with live AC power\n! Consult an expert when in doubt\n```\n\n## 🤝 Contributing\n\nContributions make the open-source community amazing! Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📜 License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n## 📞 Support\n\nHaving troubles? We're here to help!\n\n- 📧 Email - xen2992on@gmail.com\n\n## 🌟 Show your support\n\nGive a ⭐️ if this project helped you!\n\n\u003cdiv align=\"center\"\u003e\n\nMade with ❤️ by [ANKUSH](https://github.com/ankush2992)\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush2992%2Fsmart-power-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankush2992%2Fsmart-power-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankush2992%2Fsmart-power-hub/lists"}