A React Native application that leverages Bluetooth Low Energy (BLE) to communicate with an ESP HUB controller for data receiving and exchange
Take full control of your home’s energy consumption with the Smart Socket Controller app. This innovative app allows you to effortlessly manage and monitor your smart sockets from anywhere, ensuring efficient energy use and significant cost savings.
- React Native: For building the cross-platform mobile app for both iOS and Android.
- Visily: For designing the user interface.
- MQTT: For real-time communication between the app and the smart sockets.
- ESP-NOW: For low-latency communication between the central hub and the socket nodes.
- Wi-Fi: For connecting the hub to the internet and sending data to ThingSpeak.
- Bluetooth (BLE): For local communication between the central hub and the mobile app.
- ESP32 Micro-controllers: For the central hub and socket nodes.
- PZEM-004T: For energy monitoring and data collection from the sockets.
- PC817 and BC547: For controlling and switching socket power.
- ThingSpeak: For data storage and initial data analysis.
- Google Colab: For developing machine learning models to predict energy usage.
- Remote Control: Turn your appliances on or off remotely using your smartphone. No more worrying about leaving devices on when you’re away from home.
- Real-Time Monitoring: Keep track of the power usage of each socket in real-time. Get detailed insights into your energy consumption patterns.
- Scheduling: Set schedules for your appliances to automatically turn on or off at specific times, optimizing your energy usage and reducing waste.
- Alerts and Notifications:* Receive alerts and notifications for abnormal power consumption, helping you identify and address potential issues promptly.
- Usage Reports: Access comprehensive usage reports to understand your energy consumption better. Make informed decisions to enhance energy efficiency.
- User-Friendly Interface:* Enjoy a sleek and intuitive interface that makes controlling and monitoring your smart sockets a breeze.
The Smart Socket Controller app is your go-to solution for a smarter, more efficient home. Take charge of your energy use and start saving today!
First, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command from the root of your React Native project:
# using npm
npm start
# OR using Yarn
yarn start
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
# using npm
npm run android
# OR using Yarn
yarn android
# using npm
npm run ios
# OR using Yarn
yarn ios