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.
- 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.
- 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.
-
Clone the repository:
git clone <url>
-
Set up and configure the Angular frontend and Laravel backend.
-
Create the MySQL database and import the database schema.
-
Configure the database connection in the Laravel backend.
-
Install Python dependencies for the data collection and analysis scripts.
-
Run the Angular frontend and Laravel backend.
-
Access the application at
http://localhost:4200
.
- 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.