Skip to content

A React Native application that leverages Bluetooth Low Energy (BLE) to communicate with an ESP32 HUB Micro-controller for data receiving and exchange

Notifications You must be signed in to change notification settings

cmcWebCode40/Smart-Socket-Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IOS supports Android

Smart Socket Controller

Alt text

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.

Technologies Used to Develop the Smart Socket Controller App

Mobile App Development:

  • React Native: For building the cross-platform mobile app for both iOS and Android.
  • Visily: For designing the user interface.

Communication Protocols:

  • 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.

Hardware:

  • 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.

Cloud and Data Analytics:

  • ThingSpeak: For data storage and initial data analysis.
  • Google Colab: For developing machine learning models to predict energy usage.

Key Features:

⁠- 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!

Step 1: Start the Metro Server

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

Step 2: Start your Application

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:

For Android

# using npm
npm run android

# OR using Yarn
yarn android

For iOS

# using npm
npm run ios

# OR using Yarn
yarn ios

About

A React Native application that leverages Bluetooth Low Energy (BLE) to communicate with an ESP32 HUB Micro-controller for data receiving and exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published