Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivkos/iot-air-sensor
https://github.com/ivkos/iot-air-sensor
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivkos/iot-air-sensor
- Owner: ivkos
- License: mit
- Created: 2018-12-22T09:17:54.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T21:55:36.000Z (over 2 years ago)
- Last Synced: 2024-04-14T05:14:21.887Z (7 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`