TP-Link Smart Wi-Fi Light Switch

See this post, I wrote up some instructions using someone else’s code.