This plugin allows you to control your Kankun KK-SP3 plugs. You can control plugs individually or in groups.
- Clone the this repo into the plugins directory.
- If Woodhouse isn't already started, start it and skip to the last step
- If you have the shell interface enabled (enabled by default), run
load modules
, otherwise restart Woodhouse - Go to http://localhost:8080, navigate to the plugin page and select the Kankun Plug plugin. Check the enabled box and click save.
- Copy setup.tar.gz to
/tmp
on the plug (scp
,wget
, whatever) - Connect to the plug via
ssh
ortelnet
(defaultssh
passwords are eitheradmin
orp9z34c
) - Navigate to
/tmp
withcd /tmp
- Uncompress the archive with
tar -zxf setup.tar.gz
- Run the install script with
./install.sh
- This will then reboot the plug
- When the plug has rebooted, go to
http://<<your plug's ip>>/cgi-bin/prefs.cgi
and add a name and a group. Click save.
- Via command line, you can simply say
kankun on lounge lamps
- Via chat interfaces, you can say
woodhouse kankun on lounge lamps