homebridge-mi-led-desk-lamp
v1.3.1
Published
[![npm version](https://badge.fury.io/js/homebridge-mi-led-desk-lamp.svg)](https://badge.fury.io/js/homebridge-mi-led-desk-lamp) # homebridge-mi-led-desk-lamp
Downloads
29
Readme
homebridge-mi-led-desk-lamp
This is a Homebridge plugin for exposing the Xiaomi Led Desk Lamp to HomeKit
Get your token and IP
Good luck!!! (Because it's the hard part), some links to help you:
- https://github.com/jghaanstra/com.xiaomi-miio/blob/master/docs/obtain_token.md
- https://github.com/mediter/miio/blob/master/docs/ios-token-without-reset.md
npm
npm install -g homebridge-mi-led-desk-lamp
Example Configuration
{
"bridge": {
"name": "Homebridge",
"username": "Thibaut",
"port": 51826,
"pin": "111-11-111"
},
"accessories": [
{
"accessory": "mi-led-desk-lamp",
"name": "My desk lamp",
"ip": "192.168.0.132",
"token": "6591d0ad2003ddd2da75815f5d7def26"
}
],
"platforms": []
}