This library (and its accompanying cli tool) is used to interface with Konke remote-control devices.
- Mini K
- Mini Pro
- Smart Plug K(untested)
- K2 Pro(untested) Install =======
- class Switch (ip) create a instance of a switch
- check() get switch's status
- turn_on() turn on the switch
- turn_off() turn off the switch
Demo:
search device
check device status
turn on switch
turn off switch