update documentation

This commit is contained in:
simon 2022-10-21 16:44:58 +07:00
parent 664de9ce11
commit 0aaca43f72
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 11 additions and 1 deletions

View File

@ -10,7 +10,11 @@ This site is under constant development. The main purpose is educational.
The webserver is a simple VPS, provisioned with docker-compose.yml.
## aqi_monitor
*aqi_monitor.ino* is the arduino script running on the **nodeMCU ESP8266** microcontroller. The microcontroller posts data to the flask backend on a regular interval.
*aqi_monitor.ino* is the arduino script running on the **nodeMCU ESP8266** microcontroller. The microcontroller posts data to the flask backend on a regular interval. This is a legacy option, not in use any more now due to it's limitations.
## aqi_monitor_py
Rewritten sensor script in Python, runs on a raspberry pi instead.
Connected to that is:
* SDS011: pm2.5 and pm10 sensor from Nova Fitness.
* BME280: Pressure Humidity Temperature Sensor Module.

View File

@ -5,3 +5,9 @@ Updated script running on a RaspberryPi. Pure python implementation.
```
pip install -r requirements.txt
```
# Install service
```bash
sudo cp aqi_monitor_py/service/sensor.* /etc/systemd/system
sudo systemctl enable --now sensor.timer
```