Skip to content

trekawek/air-quality-info

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
img
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Air Quality Info

This PHP-based page allows to display the current PM10 and PM2.5 measurements made by the Sensor.Community-compatible device.

Screenshot

Live demo

This is the code of the SaaS product now, available live on https://aqi.eco.

Features

  • Nice and clean interface
  • Records stored in MySQL
  • Graphs rendered with ChartJS
  • Support for multiple devices
  • Locale support
  • Progressive Web App

Setup

In the project root directory, create the directory structure and assign the right permissions, so it'll be writeable by Docker containers:

mkdir -p var-data/s3
mkdir -p var-data/beanstalkd
mkdir -p var-data/var-aqi
mkdir -p var-data/log
chmod -R 777 var-data # or other settings, depending on your setup

Create config:

mv config-DEFAULT.php config.php

Start containers:

docker-compose up

is enough to start the project. The admin dashboard will be available under: http://aqi.eco.localhost:8080/, while the actual Air Quality Info pages will use http://NAME.aqi.eco.localhost:8080 naming schema.

Resources

This project is supported by:

About

An attractive way to display air quality in your neighbourhood.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published