Environment Monitor is a comprehensive platform designed to provide real-time environmental data monitoring. Using a Raspberry Pi with an Enviro+ sensor, it collects various environmental parameters such as temperature, pressure, humidity, and particulate matter levels.
-
Real-time Environment Monitoring: The application collects real-time data from a Raspberry Pi with Enviro+ sensor.
-
Data Visualization: The frontend, built with SvelteKit and styled with Tailwind CSS, provides a user-friendly interface to visualize the collected data using Chart.js.
-
Local and Remote Access: The application is containerized using Docker Compose, which allows it to be deployed easily for development and deployment.
-
Database Integration: The application uses a MySQL database to store the collected data. This allows for historical data tracking and analysis.
Setting up dashboard:
- Clone the repository
- Run
docker-compose up --build
- Access frontend on
localhost:3000
Seeding database with local data:
- Clone the repository on a Raspberry Pi with Enviro+
- Navigate to script:
cd .\raspi\
- Install requirements:
pip install -r requirements.txt
- Run script:
python populate-db.py
- Frontend: SvelteKit with Javascript
- Styling: Tailwind CSS
- Backend: Flask
- Database: MySQL
- Containerised using Docker
- Hosted via AWS EC2
MIT license @ tonytwei