Raspberry Pi Flask REST API utilising DHT11 and SDS011 PM2.5 and PM10 sensor.
The SDS011 module was copied from this repository.
Setup your Raspberry Pi with SDS011 and DHT11 sensors. Install necessary Raspberry Pi modules running following commands:
python3 -m pip install RPi.GPIO adafruit-blinka adafruit-circuitpython-dht
sudo apt install libgpiod2
If any problems occur start looking for solution from here.
Clone the repository
git clone https://github.com/BartlomiejF/ParHumidSensor
Then install dependencies with command
python3 -m pip install -r requirements.txt