OctoPrint-KasaCloud
A proof-of-concept plugin to turn on & off a TP-Link (Kasa) switch using the cloud API. This makes it possible to set the state of a switch even if it isn't accessible over the network (or is on a different network).
Setup
Install via the bundled Plugin Manager using this URL:
https://github.com/derekantrican/OctoPrint-KasaCloud/archive/master.zip
After installing, open OctoPrint settings, then go to "Plugins" > "KasaCloud Plugin". The instructions there will help you test it out.
Future Plans
The end goal of this proof-of-concept is to integrate this work into the more widely used TP-Link Smartplug plugin.