-
-
Notifications
You must be signed in to change notification settings - Fork 238
Description
I'm testing out a EP10 plug using the command line interface. 'kasa discover' works great. I don't want the plug to connect out to the internet, so I skipped 'kasa wifi'. I set the time with 'kasa time sync'. It is easy to turn the plug on and off with the command line interface.
It makes sense to add a password to prevent unauthorized access, and here is where I hit a problem:
$ kasa --host 192.168.0.1 device update-credentials --username username --password password
Discovering device 192.168.0.1 for 10 seconds
[bold red]Credentials can only be updated on authenticated devices.[/bold red]
The documentation doesn't seem to address this or define an authenticated device.
I also tried out the schedule commands:
$ /nix/store/*kasa*/bin/kasa --host 192.168.0.1 schedule list
Discovering device 192.168.0.1 for 10 seconds
Raised error: pass_dev_or_child.<locals>.wrapper() missing 2 required keyword-only arguments: 'child' and 'child_index'
Run with --debug enabled to see stacktrace
The only ones available listed in the docs are list and delete. It isn't clear how you set a schedule for the plug (or if this is possible just on the device itself).
Thank you for the library. I know that this is more of an experience report than an issue, but perhaps it can inform the project's documentation. I would normally go to IRC or your mailing list---does python-kasa have an IRC channel or mailing list? I didn't see anything listed in the README. Thanks again!