Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
config_example.json
index.js
iot-weather-sensor.service
package-lock.json
package.json

README.md

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:

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
You can’t perform that action at this time.