mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-25 22:27:05 +00:00
71ac1f043a
* add (untested) discover mode * Keep discovery and normal communication separate, uppercase magic consts This sepearates the earlier test code for discovering devices, and adds 5 sec timeout for gathering responses from potential devices. This commit also uppercases magic constants. Discovery & communication tested with HS110. * update readme with example how to discover devices, pep8ify
4 lines
162 B
Python
4 lines
162 B
Python
from __future__ import absolute_import
|
|
from __future__ import unicode_literals
|
|
from pyHS100.pyHS100 import SmartPlug, TPLinkSmartHomeProtocol, SmartPlugException
|