-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KP400 dual port control #83
Comments
You have to add a "context" section to the json command, specifying the child ID or IDs you wish to control. I do it with this method, where |
Thank you for your answer. I'm a very beginner at Python. So if I understand correctly I must add that string in tplink_smartplug.py The command should look like what? If I do an "Info" on this smart switch this is the answer : (I anonymized it)
Thank you |
Sorry, it's a bit more involved than just adding that to the program. I have a fork of this repo that has diverged too much to be easily merged, but perhaps my version would work for you. https://github.com/sylvandb/tplink-smartplug |
Hi,
I have a KP400 smartswitch. This is a outdoor unit with 2 individually controlable output.
Is there a way to control the port 1 and 2 individually? I'm able to do it by the Kasa app but not using the script.
If I use this command, it control both port. "tplink_smartplug.py -t 192.168.0.221 -c on"
Thank you
The text was updated successfully, but these errors were encountered: