- MQTT broker
- Nova PM Sensor SDS011
Make a copy of the example configuration file and edit it accordingly:
cp config_example.json config.json
nano config.json
Install the dependencies:
npm install
Copy the systemd service file:
sudo cp iot-air-sensor.service /etc/systemd/system/
Edit the service file and point to the correct directory:
sudo nano /etc/systemd/system/iot-air-sensor.service