2
0
mirror of https://github.com/softScheck/tplink-smartplug synced 2026-01-11 23:38:46 +01:00
Files
tplink-smartplug/tplink_smartplug.py
Ferdi van der Werf 58d8959fc2 Add timeout argument
If you're polling a smartplug and it's not connected to your WiFi you're waiting for a timeout which is not set by default ( https://docs.python.org/3/library/socket.html#socket.getdefaulttimeout ). This change adds an argument `--timeout` so you can provide you own timeout or use the default timeout of 10 seconds.
2020-05-23 19:08:36 +02:00

4.3 KiB
Executable File