Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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


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

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

# iot-weather-sensor

## Requirements
* MQTT broker
* BME280 temperature, humidity and pressure sensor

## 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-weather-sensor.service /etc/systemd/system/
```

Edit the service file and point it to the correct directory:
```
sudo nano /etc/systemd/system/iot-weather-sensor.service
```