Command line control of switches and plugs
From what I can tell all the new HS200 switches no longer use port 9999
As in: echo "AAAAtDygfiL/5..." | base64 --decode | nc $IP 9999
There is also a github C program hs100.c that also does the job.
The new switches appear to use port 25 and nmap doesn't show any other open ports. I've tried to explain to tech support that without this control the devices are worthless. As in - a motion sensor detects and via command line runs "hs100 FloodIP on" and after given time period "off". Basicly it was suggested that the motion detection send me an SMS message where on I would bring up the Kasa app on my phone and use it to turn the lights on. So much for "automation".
I have not been able to find anything to tell me how to replace previous method. Has anyone figured out how to soulved this problem?
Thanks in advance.