1
0
mirror of https://github.com/softScheck/tplink-smartplug synced 2026-07-10 00:49:03 +02:00

52 Commits

Author SHA1 Message Date
softScheck GmbH 958542f5d3 Added pretty print tip to readme 2024-10-15 12:48:09 +02:00
willi 1512e110a3 Code refactoring 2024-10-15 12:43:07 +02:00
willi ce7739564d Revised readme
* Formated/Linted
* Added KP115
* Added Note about Wireshark dissector
2024-10-15 11:14:43 +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
softScheck GmbH 3246a8d6ad Merge pull request #85 from oheim/patch-1
Fix character encoding of response
2024-10-08 16:44:13 +02:00
softScheck GmbH 2e4b5e76bd Merge pull request #95 from robertyoung81/master
Add ledon/ledoff to commands list in README.md
2022-08-29 11:04:44 +02:00
softScheck GmbH bb7e671816 Merge pull request #93 from smford/adding_led_command
Adds command to turn on Device LED (Night mode)
2022-08-29 11:03:38 +02:00
Robert Young 293d744f0a Add ledon/ledoff to commands list in README.md 2021-11-29 12:51:35 -08:00
smford d2578df1c8 Adds command to turn on Device LED (Night mode)
- simply adds the command to the documentation to turn on the LED
2021-11-07 23:56:57 +00: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
willi e975f579b3 Fixed issue #63 2020-11-05 17:57:12 +01:00
willi 5cc3ed22c0 Converted TDDP client to Python 3 2020-11-05 17:55:41 +01:00
softScheck GmbH dcf978b970 Merge pull request #72 from fuegas/master
Add timeout argument
2020-06-04 17:17:20 +02: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 1f85d61dc8 Merge pull request #67 from AMDHome/master
Refactored for native python3 support (maintain python2 support with version detection)
2020-05-07 12:57:01 +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 e070995ad6 Merge pull request #47 from rirethy/patch-1
Add "port" parameter
2020-05-07 11:39:49 +02:00
softScheck GmbH a50800ebab Merge branch 'master' into patch-1 2020-05-07 11:39:24 +02:00
softScheck GmbH 02d66dccfa Merge pull request #53 from leifnel/master
Default to JSON output.
2020-05-07 11:28:13 +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 395c352100 Readme now displays the screenshot again. 2018-07-04 12:40:43 +02:00
willi b2c1833846 Added support for latest HS110 firmware 2018-07-04 12:35:35 +02:00
willi 6f99d26729 Renamed tplink-smartplug to tplink_smartplug to allow loading as module 2018-07-04 12:33:45 +02:00
willi 58f0ab6f1d Merges and coding style improvements 2018-07-04 12:23:05 +02:00
softScheck GmbH 2cbe0cfe70 Merge pull request #43 from fork-as-backup/enhance_commands
feature / Enhance commands
2018-06-28 12:54:04 +02:00
Daniel Bedarf 2d8c28713c Merge pull request #1 from kchiem/master
Add Support for HS105 and add Energy Command
2018-06-24 22:28:28 +02:00
Keith Chiem e2f848e064 add 'energy' command. 2017-11-09 20:20:19 -08:00
Keith Chiem 49cf14d92f add 'energy' command for realtime voltage/current/power stats from hs110. 2017-11-09 20:15:08 -08:00
Keith Chiem 7fabe4574c make it work with hs105 2017-11-08 02:16:45 -08:00
softScheck GmbH a8f9e9d65c Fix Issue #19 2017-09-04 12:21:07 +02:00
softScheck GmbH 6824e1a39f Update for new TDDP client version 2016-10-10 16:23:47 +02:00
softScheck GmbH 448cc28536 Fix Typos 2016-10-10 16:19:43 +02:00
softScheck GmbH ec6c39fe63 Update README to explain new -c switch 2016-10-10 16:19:08 +02:00
softScheck GmbH 336b0dc46f Allow arbitrary command to be issued as hex
- Confirmed working on TP-Link Archer C9 on both W-LAN and LAN
- Changed -c switch to allow arbitrary two-character hex commands to be sent, e.g. -c 0E
- Preliminary Archer C9 commands and return data documented in comments
2016-10-10 16:06:04 +02:00
softScheck GmbH e342b7d688 Merge pull request #1 from LeeXiaolan/bind-receive-in-advance
Binding reply receive socket before send request.
2016-09-26 11:33:23 +02:00
Xiaolan.Lee c5eaa41b64 Binding reply receive socket before send request.
Reply maybe comes fast while we are busy updating the screen or closing the
request socket, in this case replay is missed.
2016-09-23 15:45:08 +08:00
softScheck GmbH c59d92c202 Add link to article 2016-08-08 15:59:51 +02:00
softScheck GmbH 17c554125d Fix typo 2016-08-01 12:50:07 +02:00
softScheck GmbH 7bc9d98e70 Fix typos 2016-08-01 10:48:16 +02:00
softScheck GmbH 66cd5ff3f0 Create README 2016-07-28 14:58:34 +02:00
softScheck GmbH 22368bba89 Add Apache License 2.0 2016-07-28 14:57:29 +02:00
softScheck GmbH c580c2be69 Added content 2016-07-28 14:56:39 +02:00
softScheck GmbH 5cce2703d7 Screenshot of the Wireshark dissector 2016-07-28 14:54:52 +02:00