homebridge-mi-led-desk-lamp

This is a Homebridge plugin for exposing the Xiaomi Led Desk Lamp to HomeKit

Usage no npm install needed!

<script type="module">
  import homebridgeMiLedDeskLamp from 'https://cdn.skypack.dev/homebridge-mi-led-desk-lamp';
</script>

README

homebridge-mi-led-desk-lamp

This is a Homebridge plugin for exposing the Xiaomi Led Desk Lamp to HomeKit

mi

Get your token and IP

Good luck!!! (Because it's the hard part), some links to help you:

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": []
}