A Xiaomi Mi humidifier plugin for Homebridge.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E4:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [],
"accessories": [
{
"accessory": "MiHumidifier",
"name": "Bedroom Humidifier",
"ip": "192.168.x.x",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"model": "v1",
"nameTemperature": "Bedroom Temperature 1",
"showHumidity": false
}
]
}
ip
– device IP address;token
– device token (32 hex chars);model
(optional) – the model of a humidifier (v1
for Smartmi Humidifier,ca1
orcb1
for Smartmi Evaporative Humidifier). Default is 'v1';name
(optional) – device name. Default is 'Humidifier';showTemperature
(optional) – iftrue
, the temperature sensor will be added. Default istrue
;nameTemperature
(optional) – temperature sensor name. Default is 'Temperature';showHumidity
(optional) – iftrue
, the humidity sensor will be added. Default istrue
;nameHumidity
(optional) – humidity sensor name. Default is 'Humidity'.