GithubHelp home page GithubHelp logo

tonytwei / environment-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 162 KB

web dashboard for Enviro+ environmental monitoring

Home Page: http://3.104.123.91:3000/

License: MIT License

Dockerfile 2.20% Python 25.83% JavaScript 5.18% HTML 1.61% Svelte 64.92% CSS 0.26%

environment-monitor's Introduction

Environment Monitor

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.

Features

  • 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.

Getting Started

Setting up dashboard:

  1. Clone the repository
  2. Run docker-compose up --build
  3. Access frontend on localhost:3000

Seeding database with local data:

  1. Clone the repository on a Raspberry Pi with Enviro+
  2. Navigate to script: cd .\raspi\
  3. Install requirements: pip install -r requirements.txt
  4. Run script: python populate-db.py

Technologies Used

My Skills

  • Frontend: SvelteKit with Javascript
  • Styling: Tailwind CSS
  • Backend: Flask
  • Database: MySQL
  • Containerised using Docker
  • Hosted via AWS EC2

Project Preview

alt text

License

MIT license @ tonytwei

environment-monitor's People

Contributors

tonytwei avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.