jedmeng / python-konkeio

Python library for interfacing with konke smart appliances
Apache License 2.0
19 stars 8 forks source link

This library (and its accompanying cli tool) is used to interface with Konke remote-control devices.

Supported Devices

.. code-block:: bash

pip install pykoneio

API Reference

Demo:

.. code-block:: python

from pykonkeio import Switch

switch = Switch('192.168.0.222')

if switch.status == 'open':
    switch.turn_off()
elif switch.status == 'close':
    switch.turn_on()
elif switch.status == 'offline':
    print('switch is off line')

CLI Command