Check out repository and run go build
. Run the binary. Please specify the outlets' hostnames using the TPLINK_OUTLET_HOSTS
env variable (as a comma separated string). It supports multiple devices, but remember to give them distinct hostnames in your network (or alternatively specify IP addresses in the variable).
If you have tested more, please send a pull request.
This has been made possible by the great work of softScheck who reverse engineered the protocol and the "encryption".