air-quality-info

air-quality-info

An attractive way to display air quality in your neighbourhood.

Stars: 51

Visit
 screenshot

Air Quality Info is a PHP-based page that displays current PM10 and PM2.5 measurements from Sensor.Community-compatible devices. It features a clean interface, stores records in MySQL, renders graphs with ChartJS, supports multiple devices, offers locale support, and functions as a Progressive Web App. The project setup involves creating directory structures, setting permissions, and starting Docker containers. The admin dashboard is accessible at http://aqi.eco.localhost:8080/, while the Air Quality Info pages use a specific naming schema. The project is supported by Nettigo Air Monitor, Sensor.Community, and a forum thread in Polish.

README:

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:

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for air-quality-info

Similar Open Source Tools

For similar tasks

For similar jobs