I just wanted to report that I've been using the script with the HS103 and KP400, and it's been working perfectly, although I've only used some basic functionality: the "on", "off" and "info" commands, and commands like
tplink_smartplug.py -t 192.168.xx.xx -j '{"netif":{"set_stainfo":{"ssid":"my-iot-ssid","password":"my-iot-wifi-password","key_type":3}}}'"
Incidentally, while I use Home Assistant to control my HS103s on a regular basis, the HA TP-Link integration seems to be badly broken for the KP400, so I'm currently controlling my KP400 via cron jobs firing off tplink-smartplug.py invocations ;)
Thanks very much for this code (and very informative and readable blog post)!
Hi,
I just wanted to report that I've been using the script with the HS103 and KP400, and it's been working perfectly, although I've only used some basic functionality: the "on", "off" and "info" commands, and commands like
tplink_smartplug.py -t 192.168.xx.xx -j '{"netif":{"set_stainfo":{"ssid":"my-iot-ssid","password":"my-iot-wifi-password","key_type":3}}}'"
Incidentally, while I use Home Assistant to control my HS103s on a regular basis, the HA TP-Link integration seems to be badly broken for the KP400, so I'm currently controlling my KP400 via cron jobs firing off
tplink-smartplug.py
invocations ;)Thanks very much for this code (and very informative and readable blog post)!