python-kasa/pyHS100
Teemu R 60add6fa66
Improve discovery by sending multiple UDP datagrams (#172)
As UDP datagrams may get lost in transit, e.g.,  due to poor network connectivity,
we can improve the detection rate by sending multiple datagrams and hoping some
will get through to the devices.

Confirmed to improve the detection by @scubanarc: https://github.com/home-assistant/home-assistant/issues/21966

This is a new configurable option, defaulting to three discover packets.
2019-05-20 21:56:01 -04:00
..
tests Fix for SmartStrip repr (#169) 2019-04-09 00:19:42 -04:00
__init__.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
cli.py Smartstrip: return on_since state information only when the socket is on (#161) 2019-03-16 21:32:59 +01:00
discover.py Improve discovery by sending multiple UDP datagrams (#172) 2019-05-20 21:56:01 -04:00
protocol.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
smartbulb.py bulb: add the temperature range to state_information, inform the user if the info is missing when calling temperature (#163) 2019-03-16 21:32:25 +01:00
smartdevice.py Fix for SmartStrip repr (#169) 2019-04-09 00:19:42 -04:00
smartplug.py Add support for HS300 power strip (#137) 2019-01-08 20:13:25 +01:00
smartstrip.py Smartstrip: return on_since state information only when the socket is on (#161) 2019-03-16 21:32:59 +01:00