*** Backup Mirror *** The web interface and JSON api for the ConnectedHumber Air Quality Monitoring Project. https://github.com/ConnectedHumber/Air-Quality-Web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Starbeamrainbowlabs 1cc285ae53
HTTP API docs: fix link at the top of the page
1 month ago
.github Bugfix: typo 3 years ago
client_src properly handle switching to a reading type that doesn't have any readings at all 9 months ago
design Add application structure SVG diagram 3 years ago
docs HTTP API docs: fix link at the top of the page 1 month ago
lantern-build-engine@aaa2463547 Bugfix: Correct and document GenerateCSSGradient(). 2 years ago
lib/SBRL Drastically optimise the queries behind fetch-data and device-data. 2 years ago
logic api/device-info: drastically optimise by removing a redundant JOIN 9 months ago
test Add heatmap guage to right-hand-side (part of #31) 2 years ago
.gitignore Update db connection info 2 years ago
.gitmodules Remove webgl heatmap, as it doesn't work right. 3 years ago
Changelog.md updated aq. to sensors. 8 months ago
LICENSE Initial commit 3 years ago
README.md Add disclaimer to README 1 year ago
api.php Add CORS header support 1 year ago
beta Add beta version symlink 2 years ago
build build/ci: set TERM if it isn't already 8 months ago
composer.json Add list-devices-near action with appropriate API documentation 2 years ago
composer.lock Add list-devices-near action with appropriate API documentation 2 years ago
di_config.php Bugfix new device sensor list 2 years ago
index.php Add premanent redirect from root to app/ 3 years ago
nightdocs.toml Use nightdocs to generate documentation 3 years ago
package-lock.json Update dependencies & hopefully sort crash on install on the pi 8 months ago
package.json Update dependencies & hopefully sort crash on install on the pi 8 months ago
rollup.config.js Colour the markers instead of having a heatmap 9 months ago
settings.default.toml Add CORS header support 1 year ago
version api/list-reading-types: optimise 9 months ago

README.md

ConnectedHumber-Air-Quality-Interface

The web interface and JSON API for the ConnectedHumber Air Quality Monitoring Project.

This project contains the web interface for the ConnectedHumber sensor system. Despite being called Air Quality Web, it is designed to display any kind of sensor data - not just air quality sensor readings.

It is composed of 2 parts:

  • A PHP-based JSON API server (entry point: api.php) that's backed by a MariaDB server
  • A Javascript client application that runs in the browser

The client-side browser application is powered by Leaflet.

Note that this project is not responsible for entering data into the database. This project's purpose is simply to display the data.

Documentation

Documentation has moved! You can view it here:

Branches

  • master
    • The default branch
    • Should always be stable
  • dev
    • The development branch
    • May not always be stable.

Notes

  • Readings are taken every 6 minutes as standard.

Contributing

Contributions are welcome - feel free to open an issue or (even better) a pull request.

The issue tracker is the place where all the tasks relating to the project are kept.

Please remember: All pull requests should be made against the dev branch, not master! The master branch is the stable version that automatically gets pushed to production.

Disclaimer

This website displays sensor reading from devices created by individuals with an interest in monitoring their environment and is not endorsed or funded in any way by UK government supported bodies such as DEFRA. It is , however, hoped that this work may be useful in educational applications.

The sensors, on the map, are installed in different ways, in different enclosures, at different heights and with different exposures to sunlight and wind . This means that, although individual sensors may use the same detectors, those detectors could produce varying results due to the above and also due to component tolerance spread.

No attempt has been made, by us, to calibrate the sensor readings in any way though the visual representation will include some aggregation of readings.

If you wish to create a device to display data on this map please register with mattermost.connectedhumber.org and we will provide you with direction and designs to build your own sensor device.

Credits

License

This project is licensed under the Mozilla Public License 2.0. The full text of this license can be found in the LICENSE file of this repository, along with a helpful summary of what you can and can't do provided by GitHub.