From 6f99d2672957f7a51ae92ece98b3508f7ea93603 Mon Sep 17 00:00:00 2001 From: willi Date: Wed, 4 Jul 2018 12:33:45 +0200 Subject: [PATCH] Renamed tplink-smartplug to tplink_smartplug to allow loading as module --- README.md | 4 ++-- tplink-smartplug.py => tplink_smartplug.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tplink-smartplug.py => tplink_smartplug.py (100%) diff --git a/README.md b/README.md index 21d2686..6ed37ad 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ For the full story, see [Reverse Engineering the TP-Link HS110](https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/) -## tplink-smartplug.py ## +## tplink_smartplug.py ## A python client for the proprietary TP-Link Smart Home protocol to control TP-Link HS100 and HS110 WiFi Smart Plugs. The SmartHome protocol runs on TCP port 9999 and uses a trivial XOR autokey encryption that provides no security. @@ -23,7 +23,7 @@ A full list of commands is provided in [tplink-smarthome-commands.txt](tplink-sm #### Usage #### - `./tplink-smartplug.py -t [-c || -j ]` + `./tplink_smartplug.py -t [-c || -j ]` Provide the target IP using `-t` and a command to send using either `-c` or `-j`. Commands for the `-c` flag: diff --git a/tplink-smartplug.py b/tplink_smartplug.py similarity index 100% rename from tplink-smartplug.py rename to tplink_smartplug.py