This solution leverages the Internet of Things (IoT) to transform traditional home appliances into smart devices that can be easily controlled through a user-friendly mobile application. By utilizing this application, users can remotely access and manage their appliances, ensuring greater convenience and enhanced efficiency in their daily lives. users to control and monitor their home automation devices from anywhere with an Internet connection.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- React Native
- Firebase Account
- OpenWeather API Key
- Xcode (for iOS development) or Android Studio / VS code (for Android development)
- Set of hardware like Node MCU to convert traditional home appliances into smart devices
- An Internet connection
- A supported smartphone or tablet
- Clone this repository:
git clone https://github.com/YOUR-USERNAME/home-automation.git
- Install dependencies:
npm install
oryarn install
- Create a file called
secrets.js
in the root of the project and add your Firebase and OpenWeather API keys like this:
export const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_AUTH_DOMAIN",
databaseURL: "YOUR_DATABASE_URL",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_STORAGE_BUCKET",
messagingSenderId: "YOUR_MESSAGING_SENDER_ID"
};
export const openWeatherApiKey = "YOUR_API_KEY";
For more detials checkout Firebase React Native & OpenWeather
- Run the app:
react-native run-ios
orreact-native run-android
- React Native - A JavaScript framework for building native mobile apps
- Firebase - A cloud-based platform for managing data and building apps
- OpenWeather API - A global weather data API
- Control devices: Turn devices on or off, adjust settings, and set schedules remotely.
- RGB light control: Customize the color and intensity of RGB lights.
- Monitor devices: View real-time status and usage data for connected devices.
- Integrations: Connect to a variety of home automation platforms and devices.
- Current weather display: View the current weather conditions for your location.
- Security: Securely access the app using login credentials or biometric authentication.
- Notifications: Receive alerts and notifications for important events or changes.
Splash Screen | Login Screen | Register Screen | Reset Password Screen |
---|---|---|---|
Control panel Screen | RGB Control Screen | Routine Screen | Profile Screen |
---|---|---|---|
Area Based Screen | Weather Data Screen | Create routine Screen | Node mcu source code |
---|---|---|---|
If you would like to contribute to this project, please follow these guidelines:
- Fork the repository
- Create a new branch for your feature (
git checkout -b my-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-feature
) - Create a new Pull Request
If you have any issues or questions, please don't hesitate to reach out at [email protected]. You can also find additional resources and support for using Firebase in our Firebase documentation.