Skip to content

Real time air quality monitoring system based on MEAN stack that makes use of Raspberry Pi Zero W and Grove sensors

License

Notifications You must be signed in to change notification settings

hamdanmahmoud/SmartAir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartAir


System diagram:


(Outdated)

API-ul poate fi accesat la http://167.71.34.169/api, asa cum este descris in documentatie. Exemplu cu response formatat in powershell:

curl -X GET "http://167.71.34.169/api/devices/sense1/readings" | python3 -m json.tool

sau, acelasi response, dar neformatat:

curl "http://167.71.34.169/api/devices/sense1/readings"

Desigur, functioneaza doar cu curl instalat.

Tips: in powershell, putem executa urmatoarea comanda:

.\postmanerator_windows_amd64.exe -collection collection.json --output=collection.html

...si voila! Documentatia e generata in format HTML.

Air-Sense

Short description

Python library for Seeedstudio Grove sensors that monitors air quality factors in real time.

Prerequisites and instructions

Provided that you have:

  • Raspberry PI OS (32-bit)
  • the Grove Base Hat attached to it
  • MQ2 sensor plugged into analogue port A0
  • BME680 sensor plugged into digital port D5
  • Red LED button plugged into digital port D16
  • Yellow LED button plugged into serial port PWM
  • Blue LED button plugged into serial port UART
  • UART and PWM enabled
  • Bluetooth activated and connected to the speakers

You can follow these instructions:

First, install the official grove library on the Raspberry Pi:

curl -sL https://github.com/Seeed-Studio/grove.py/raw/master/install.sh | sudo bash -s -

Afterwards, you'll need the latest mqtt client implemented by the paho team :

pip3 install paho-mqtt

And you're good to go! Just run the main script:

python3 main.py

Or, in case further access is required:

sudo python3 main.py

UI

About

Real time air quality monitoring system based on MEAN stack that makes use of Raspberry Pi Zero W and Grove sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors