revil-O / homebridge-influxdb-temperature-humidity

HomeBridge plugin that exposes temperature/humidity values stored in an InfluxDB database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

homebridge-influxdb-temperature-humidity npm

HomeBridge plugin that exposes temperature/humidity values stored in an InfluxDB database. Largely inspired by lucacri/homebridge-http-temperature-humidity.

Usage

Install

Install the plugin using:

npm i -g homebridge-influxdb-temperature-humidity

You may have to use either sudo or --unsafe-perm, or both, depending on your env.

Configure

Add this to the accessories field of your Homebridge config.json file (most likely located at ~/.homebride/config.js :

{
  "accessories": [
      ...rest of your acccesories
      {
        "accessory": "InfluxTemperatureHumidity",
        "name": "Weather Sensors", // You can use any name, it's only for the UI
        "influx": {
          "host": "127.0.0.1",
          "database": "homeserver"
        }
      }
    ]
}

The influx configuration object is passed as-is to the influx npm library, so you can use all the options it supports. See here

About

HomeBridge plugin that exposes temperature/humidity values stored in an InfluxDB database.

License:MIT License


Languages

Language:JavaScript 100.0%