https://github.com/ivkos/iot-air-sensor
https://github.com/ivkos/iot-air-sensor
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivkos/iot-air-sensor
- Owner: ivkos
- License: mit
- Created: 2018-12-22T09:17:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T21:55:36.000Z (about 3 years ago)
- Last Synced: 2025-01-08T12:44:36.793Z (5 months ago)
- Language: JavaScript
- Size: 85 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`