0.0.2 • Published 3 years ago

homebridge-esphome-mi-flower-care v0.0.2

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

Homebridge esphome Mi Flower care

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install homebridge-esphome-mi-flower-care using: npm install -g homebridge-esphome-mi-flower-care
  3. Update your configuration file. See Example Config for a sample.

Configuration

Parameters

parameterdescriptiondefaultrequired
urlThe url to fetch temperature (and humidity)/true
typeSerial of the accessorytrue
http_methodThe http methodGETfalse
sendimmediatelysee https://github.com/request/request#http-authenticationfalsefalse
usernameUsername for http-authentication/false
passwordPassword for http-authentication/false
nameName of the homekit accessory/true
manufacturerName of the manufacturer of the accessoryHttpTemperatureHumidityfalse
modelName of the model of the accessoryDefaultfalse
serialSerial of the accessory18981898false

Example Config

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

  "description": "Example",

  "platforms": [],

  "accessories": [
    {
      "accessory": "EsphomeMiFlowerCare",
      "name": "Temperature",
      "url": "http://192.168.178.210/sesnor/xiomi_sensor_temperature",
      "type": "temperature"
    }
  ]
}