Kankun SmartPlug plugin for homebridge
npm install homebridge-smartplug1. Install homebridge (if not already installed) using: npm install -g homebridge
2. Install plugin - npm install -g homebridge-smartplug
3. Update your configuration file. See below for a sample.
4. ensure sshpass is installed
```
"platforms": [
{
"platform": "smartPlug",
"name": "smartPlug",
"outlets": [
{
"name": "Chrismass Light 3",
"username": "root",
"password": "p9z34c",
"url": "192.168.88.111",
"id": "1"
}
]
}
]
| Parameter | Description |
|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| name | The human-readable name of the device plugged into your outlet |username
| | Your Kankun SmartPlug Controller username |password
| | Your Kankun Controller password |url
| | May be either a hostname or an IP address |id
| | So far one one outlet controler is supported ( ==> id=1 ) |
or off`.