Closed gowenfawr closed 7 years ago
I noticed two very minor issues with README.md:
./tplink-smarthome.py -t <ip> [-c <cmd> || -j <json>]
That should be tplink-smartplug.py to match the file in the repo.
system
Returns device info
info
$ ./tplink-smartplug.py -t 192.168.0.229 -c system usage: tplink-smartplug.py [-h] -t <ip> (-c <command> | -j <JSON string>) tplink-smartplug.py: error: argument -c/--command: invalid choice: 'system' (choose from 'reset', 'schedule', 'antitheft', 'wlanscan', 'info', 'on', 'off', 'reboot', 'countdown', 'time', 'cloudinfo') $ ./tplink-smartplug.py -t 192.168.0.229 -c info Sent: {"system":{"get_sysinfo":{}}} Received: {"system":{"get_sysinfo":{"err_code":0,"sw_ver":"1.1.1 Build 160725 Rel.163650","hw_ver":"1.0","type":"IOT.SMARTPLUGSWITCH","model":"HS100(US)",...
Awesome tool, loved the Reverse Engineering document.
Thank you, fixed!
I noticed two very minor issues with README.md:
./tplink-smarthome.py -t <ip> [-c <cmd> || -j <json>]
That should be tplink-smartplug.py to match the file in the repo.
system
command with descriptionReturns device info
. In fact, theinfo
command does that and thesystem
command is not recognized:Awesome tool, loved the Reverse Engineering document.