From fa3a8db0c7f3696a6178874f14820ec8fcdef9e2 Mon Sep 17 00:00:00 2001 From: pbuckley Date: Mon, 12 Dec 2016 18:31:29 +0000 Subject: [PATCH] Basic update of readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c50ca1d..cf81476 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Instead of `null` we can also write `{}`. Commands can be nested, for example: A full list of commands is provided in [tplink-smarthome-commands.txt](tplink-smarthome-commands.txt). -#### Usage #### +#### Python Usage #### `./tplink-smarthome.py -t [-c || -j ]` @@ -86,3 +86,8 @@ Reading out the WAN link status on an Archer C9 in default configuration shows t Reply Data: Version 02 Type 03 Status 00 Length 00000018 ID 0001 Subtype 0e Decrypted: wan_ph_link 1 0 ``` + +#### Java Usage #### +Java program expects 2 arguments +1) IP Address of the smartplug +2) Java string escaped command ie. {"system"{}} -> {\"system\"{}}