Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 503 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 503 Bytes

kankun

cgi script controls kankun wifi smart plug

Install Scripts

SSH to your device, make folder cgi-bin

mkdir /www/cgi-bin

Copy file to cgi-bin folder by using scp

Control the switch:

http:///cgi-bin/relay.cgi?on

http:///cgi-bin/relay.cgi?off

http:///cgi-bin/relay.cgi?state

There are also:

timing.cgi?online

timing.cgi?offline

light.cgi?state

light.cgi?on

light.cgi?off

power.cgi