homebridge-xiaomi-power-strip

    2.2.0 • Public • Published

    homebridge-xiaomi-power-strip

    This is a Xiaomi Power Strip plugin for homebridge.

    It has functionality to turn on/off Xiaomi Mi Smart Power Strip from Apple Homekit.

    Dependency

    *miio with version <0.15.0

    Installation

    1.Install required dependencies and program

    'npm install -g homebridge-xiaomi-power-strip miio@0.14.1'
    

    2.Get token and IP address for your Xiaomi Mi Power Strip by using:

    'miio discover'
    

    3.Modify config.json in your homebridge setup and add following:

    '"accessories": [
    
        {
    
            "accessory": "XiaoMiPowerStrip",
            
            "name": "Power Strip",
            
            "address": **"IP address from step 2"**
            
            "token": **"token from step 2"**
            
            "model": "zimi.powerstrip.v2"
        
        }
    
    ]'

    Install

    npm i homebridge-xiaomi-power-strip

    DownloadsWeekly Downloads

    49

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    5.16 kB

    Total Files

    4

    Last publish

    Collaborators

    • mininny