Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivkos/iot-weather-sensor
https://github.com/ivkos/iot-weather-sensor
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivkos/iot-weather-sensor
- Owner: ivkos
- License: mit
- Created: 2018-12-22T09:29:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T21:55:30.000Z (over 2 years ago)
- Last Synced: 2024-04-14T05:14:21.819Z (7 months ago)
- Language: JavaScript
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```