2.0.0 • Published 3 years ago

homebridge-http-temperature-humidity-sensor v2.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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

parameterdescriptiondefaultrequired
urlThe url to fetch temperature (and humidity)/true
nameName of the homekit accessory/true
manufacturerName of the manufacturer of the accessoryHttpTemperatureHumidityfalse
modelName of the model of the accessoryDefaultfalse
serialSerial of the accessory18981898false
disableHumidityShould humidity be disabled?falsefalse

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
}
2.0.0

3 years ago

2.0.0-beta.0

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago