Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md Update README.md Feb 17, 2015
click.mp3 Added index.html Feb 17, 2015
httpget.lua Kankun Wifi smart plug Feb 16, 2015
index.html Update index.html Feb 17, 2015
init.lua Kankun Wifi smart plug Feb 16, 2015
relay.cgi Kankun Wifi smart plug Feb 16, 2015


Kankun smart plug outlet controller

Full tutorial is at http://benlo.com/esp8266/KankunSmartPlug.html

scp to the Kankun

create /www/cgi-bin

chmod 755 cgi-bin

put relay.cgi in cgi-bin

upload init.lua and httpget.lua to the esp8266

/www/index.html and /www/click.mp3 are optional

They make a pretty toggle button for browser control of the Kandun outlet.

Browse to with any web browser.

The toggle will reflect the state of the Kandun switch as well as control it.