Skip to content

Nadalbdh/smartAlarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Smart Alarm System

The Smart Alarm System is an integrated solution for managing alarms and monitoring sleep patterns. It combines an Angular frontend, a Laravel backend, and Python scripts for data collection and analysis. It's main goal is to promote better sleep by collecting enough data about the user's sleep stages to try and wake them up during the optimal stage in their four-stage sleep. This is done to avoid grogginess, fatigue and irritation.

Features

  • User Authentication: Secure user accounts with login and registration.
  • Sleep Data Collection: Collect data on motion and temperature during sleep.
  • Real-Time Monitoring: Monitor sleep patterns and conditions in real time.
  • Data Visualization: Visualize sleep data with graphs and charts.
  • Alarm Management: Set and manage alarms based on sleep patterns.
  • Sleep Analysis: Analyze sleep quality and generate reports.

Technologies Used

  • Angular: A popular frontend framework for building dynamic web applications.
  • Laravel: A PHP web application framework for building the backend.
  • Python: Used for data collection and analysis scripts.
  • MySQL: A relational database for storing sleep data and user information.
  • Flask: A Python micro web framework used for RESTful APIs.
  • Python Libraries: Various libraries for data collection, analysis, and visualization.
  • Matplotlib: Used for plotting graphs and charts.

Installation

  1. Clone the repository:

    git clone <url>
  2. Set up and configure the Angular frontend and Laravel backend.

  3. Create the MySQL database and import the database schema.

  4. Configure the database connection in the Laravel backend.

  5. Install Python dependencies for the data collection and analysis scripts.

  6. Run the Angular frontend and Laravel backend.

  7. Access the application at http://localhost:4200.

Usage

  • Log in or register as a user to access the smart alarm system.
  • Set and manage alarms based on sleep patterns.
  • Monitor sleep data in real time with charts and graphs.
  • Communicate with the system via the built-in chat feature for alarms and support.
  • Analyze sleep quality and generate reports for better sleep management.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published