Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivkos/iot-air-sensor


https://github.com/ivkos/iot-air-sensor

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# iot-air-sensor

## Requirements
* MQTT broker
* Nova PM Sensor SDS011

## Configuration
Make a copy of the example configuration file and edit it accordingly:
```bash
cp config_example.json config.json
nano config.json
```

## Install
Install the dependencies:
`npm install`

### Install as a systemd service
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`