Skip to content

GuineaCoding/ArduinoDevProject

Repository files navigation

<title>Home-Sphere README</title>
Home-Sphere Logo

Home-Sphere

Project Overview

Home-Sphere is an innovative project designed to establish seamless communication between Arduino, Firebase, and an Ionic app. It aims to create a robust system for real-time data transmission and visualization, enhancing home automation and monitoring experiences.

Disclaimer: The project consist of three parts:

Part 1: Arduino code functionality https://github.com/GuineaCoding/ArduinoRealTimeProject#documentation
Part 2: Firebase Database
Part 3: Ionic app (current repository)

Why chose Home-sphere?

The project facilitates real-time communication and data exchange between an Arduino setup and a mobile application platform. It leverages Firebase for data management and an Ionic app for user-friendly data visualization.

Technologies Used to achieve this wonderfull sollution:

Image 1 Image 2 Image 3 Image 4 Image 5 Image 5

Installation Instructions

To set up and run the Home-Sphere project, follow these steps:

  • Arduino Setup: Ensure you have an Arduino MKR IoT Carrier Rev2. Set it up according to the official Arduino guidelines.
  • Create a Firebase Project: Go to Firebase and create a new project for web applications. Follow the provided instructions to set up Firebase for your project.
  • Clone and Install the Project:

    Instructions to Run the Ionic Project in IDE:

    1. Clone and Install the Project:
      • Clone the project from GitHub to your local machine.
      • Open a terminal or command prompt in the project directory.
      • Run npm install to install all required dependencies.
    2. Create the environments folder in the src folder.
    3. In the environments folder, create the environment.ts file and place the Firebase key there.
    4. Important: Due to a misconfiguration issue between the latest version of AngularFire and Ionic, which operates on the latest version of Angular in my project, an error occurs when attempting to run the project using Ionic serve. This can be easily fixed by following the advice provided in this GitHub issue: angular/angularfire#3255.
    5. After completing these steps, run ionic serve.
    6. Run the Ionic App:
      • Within the project directory, run ionic serve to start the app in development mode.
      • Open your web browser and navigate to http://localhost:8100 to view the app.
    7. Build the Ionic App:
      • Run ionic build to build the app for production.
      • For Android APK, ensure you have Android Studio installed and then follow Ionic's native build instructions to generate an APK file. Check the link for more details Build app info

    Note: Ensure that your Firebase project settings and configuration are correctly integrated into the Ionic app. This includes updating the Firebase configuration in the appropriate files within the Ionic project.

    Usage

    The Home-Sphere app offers a comprehensive and user-friendly interface for monitoring various environmental parameters. Here's how you can navigate and utilize the app:

    • Signing Up and Logging In: Users can easily sign up for an account and log in to access the app's features. There's also an option to reset the password if needed.
    • Main Dashboard: Upon logging in, users are greeted with the Home page, which serves as the central control panel. Here, users can view the latest updates from the connected sensors.
    • Real-Time Data Display: The Home page displays key environmental data such as temperature, humidity, pressure, moisture, and CO2 levels. Each parameter is presented in a dedicated card with a clear and concise layout.
    • Detailed View: Users can click on 'View Details' for each parameter to navigate to a more detailed view, providing in-depth information and historical data.
    • Interactive Charts: In the detailed view, users can interact with dynamic charts that display trends over different timeframes such as the last hour, day, week, month, or year.
    • Security Monitoring: The app also provides a security section where users can monitor the PIR sensor status, enhancing the home's security system.
    • Logout Functionality: Users can securely log out of the app using the Logout button located in the top-right corner of the Home page.

    The app's intuitive design and interactive features make it easy for users to monitor and analyze environmental conditions in real-time, ensuring a comfortable and safe home environment.

    Features

    Home-Sphere is not only a comprehensive solution for home monitoring and automation but also a cost-effective approach for households aiming to enhance their living environment. Here are the key features:

    • Cost-Effective Solution: Designed to be affordable, Home-Sphere is an ideal choice for households looking to monitor their environment and wellbeing without incurring significant expenses.
    • Real-Time Sensor Data Monitoring: Utilizes the Arduino MKR IoT Carrier Rev2 to continuously monitor various environmental conditions, providing valuable insights.
    • Firebase Integration: Seamlessly integrates with Firebase for efficient, reliable, and secure data storage and retrieval.
    • Interactive Data Visualization: Features an intuitive and user-friendly interface in the Ionic app, complete with real-time charts and graphs for easy data interpretation.
    • Motion Detection: Includes a PIR sensor for enhanced security and through motion detection.
    • Holiday Mode: Offers a 'holiday mode' for additional monitoring and alerts, ensuring peace of mind while away from home.
    • Mobile App Functionality: Employs the Ionic framework to create a cross-platform mobile application, facilitating remote monitoring and control.
    • Android APK Generation: Enables the building of an Android APK from the Ionic app, simplifying installation and use on Android devices.
  • You can also generate the project on IOS, feel free to follow the instructions for the IOS

Home-Sphere brings together these features to offer a versatile and robust system suitable for a wide range of home monitoring tasks. It stands out as an accessible and budget-friendly option for enhancing home safety, comfort, and efficiency.

App Demo And Image samples

Image samples

Image 5 Image 4 Image 1 Image 2 Image 3

Video Sample

Contribution Guidelines and Contact Information

For support or queries, feel free to contact me at andrian.barbulat@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published