Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions examples/Kankun WiFi Plug/README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
Kankun smart plug outlet controller
# Kankun KK-SP3 smart plug outlet controller

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

<hr>

scp to the Kankun

create /www/cgi-bin

create `/www/cgi-bin`:
```sh
chmod 755 cgi-bin

put relay.cgi in cgi-bin
```
put `relay.cgi` in `cgi-bin`


<hr>
upload init.lua and httpget.lua to the esp8266

Upload `init.lua` and `httpget.lua` to the esp8266


<hr>

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

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

Expand All @@ -28,4 +29,7 @@ Browse to http://192.168.10.253 with any web browser.
The toggle will reflect the state of the Kandun switch as well as control it.


## See also
* [Kankun KK-SP3: Complete Guide](https://github.com/yurt-page/Kankun_KK-SP3)