Homebridge plugin for Xiaomi Smart Plug
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"
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 install -g homebridge-xiaomi-smart-plug
{
"accessories": [
{
"accessory": "homebridge-xiaomi-smart-plug", // don't change this
"name": "My Smart Plug",
"ip": "192.168.0.101",
"token": "6591d0ad2003ddd2da75815f5d7def26"
}
]
}