2
0
mirror of https://github.com/softScheck/tplink-smartplug synced 2026-01-11 23:38:46 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
willi
1512e110a3 Code refactoring 2024-10-15 12:43:07 +02:00
chou2008
21c14b3381 Added energy reset and runtime reset (#103)
* Add energy reset

* add engery_reset and runtime_reset commands
2024-10-08 16:50:11 +02:00
Oliver Heimlich
52fd4bad6d Fix character encoding during decryption 2020-12-29 10:23:49 +01:00
willi
630c777049 Dropped Python2 support; improved code style 2020-11-05 17:58:43 +01:00
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
softScheck GmbH
081280d46d Bump version to 0.3, python3 support 2020-05-07 12:59:45 +02:00
softScheck GmbH
9e8500d54f Merge branch 'master' into master 2020-05-07 12:53:42 +02:00
softScheck GmbH
20f12e043e Added led commands 2020-05-07 12:38:54 +02:00
softScheck GmbH
a50800ebab Merge branch 'master' into patch-1 2020-05-07 11:39:24 +02:00
Samuel Tseng
cef33b8425 Added Comments to easily identify code sections 2020-02-20 00:04:56 -08:00
Samuel Tseng
2ab78544ae Refactored code for py3 while keeping py2 support (not using future) 2020-02-19 23:56:55 -08:00
Leif Neland
0070bb27a1 Added -q for terse output, not command. Output is then only json, makes for easy parsing. 2018-12-04 09:01:18 +01:00
Thierry Laporte
da4835cb64 Add "port" parameter
Add management for a new parameter : "port".
Allows to modify the defalt port, and not use the default one : 9999

This is useful to send a command to a plug that is not on the local network
2018-09-27 11:36:07 +02:00
Leif Neland
8289401ddd Repeat of djhworld Added verbose flag to print verbose output 04bd3b5 on Jun 24, 2017 2018-07-18 23:34:39 +02:00
willi
6f99d26729 Renamed tplink-smartplug to tplink_smartplug to allow loading as module 2018-07-04 12:33:45 +02:00