homebridge-http-temperature-humidity-sensor

2.0.0 • Public • Published

Homebridge Http Temperature Humidity Sensor

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install homebridge-http-temperature-humidity-sensor using: npm install -g homebridge-http-temperature-humidity-sensor
  3. Update your configuration file. See Example Config for a sample.

Configuration

Parameters

parameter description default required
url The url to fetch temperature (and humidity) / true
name Name of the homekit accessory / true
manufacturer Name of the manufacturer of the accessory HttpTemperatureHumidity false
model Name of the model of the accessory Default false
serial Serial of the accessory 18981898 false
disableHumidity Should humidity be disabled? false false

Example Config

{
  "bridge": {
    "name": "Homebridge",
    "username": "CD:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "031-45-156"
  },

  "description": "Example",

  "platforms": [],

  "accessories": [
    {
      "accessory": "HttpTemperatureHumiditySensor",
      "name": "Temperature and Humidity",
      "url": "http://192.168.178.210/temp/status"
    }
  ]
}

Response

The response must be in the following format:

{
    "temperature": 25.8,
    "humidity": 38
}

Package Sidebar

Install

npm i homebridge-http-temperature-humidity-sensor

Weekly Downloads

2

Version

2.0.0

License

ISC

Unpacked Size

16.5 kB

Total Files

9

Last publish

Collaborators

  • unpoiltefal