Skip to content

machsix/homebridge-xiaomi-smart-plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version

Homebridge Mi Smart Plug

Homebridge plugin for Xiaomi Smart Plug

mi

Supporting devices

The following ones should be supported as they share the same API https://github.com/rytilahti/python-miio/blob/master/miio/chuangmi_plug.py

  • MODEL_CHUANGMI_PLUG_V3 = "chuangmi.plug.v3"
  • MODEL_CHUANGMI_PLUG_V1 = "chuangmi.plug.v1"
  • MODEL_CHUANGMI_PLUG_M1 = "chuangmi.plug.m1"
  • MODEL_CHUANGMI_PLUG_M3 = "chuangmi.plug.m3"
  • MODEL_CHUANGMI_PLUG_V2 = "chuangmi.plug.v2"
  • MODEL_CHUANGMI_PLUG_HMI205 = "chuangmi.plug.hmi205" [Walmart]
  • MODEL_CHUANGMI_PLUG_HMI206 = "chuangmi.plug.hmi206"
  • MODEL_CHUANGMI_PLUG_HMI208 = "chuangmi.plug.hmi208"

Get your token and IP

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

Installation

npm install -g homebridge-xiaomi-smart-plug

Example Configuration

{
  "accessories": [
    {
    "accessory": "homebridge-xiaomi-smart-plug", // don't change this
    "name": "My Smart Plug",
    "ip": "192.168.0.101",
    "token": "6591d0ad2003ddd2da75815f5d7def26"
    }
  ]
}

Thanks to

homebridge-mi-led-desk-lamp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published