Title: Command usage for update-credentials and schedule? · Issue #1624 · python-kasa/python-kasa · GitHub
Open Graph Title: Command usage for update-credentials and schedule? · Issue #1624 · python-kasa/python-kasa
X Title: Command usage for update-credentials and schedule? · Issue #1624 · python-kasa/python-kasa
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 ...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/python-kasa/python-kasa/issues/1624
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Command usage for update-credentials and schedule?","articleBody":"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.\n\nIt makes sense to add a password to prevent unauthorized access, and here is where I hit a problem:\n\n```\n$ kasa --host 192.168.0.1 device update-credentials --username username --password password\nDiscovering device 192.168.0.1 for 10 seconds\n[bold red]Credentials can only be updated on authenticated devices.[/bold red]\n```\n\nThe documentation doesn't seem to address this or define an authenticated device.\n\nI also tried out the schedule commands:\n\n```\n$ /nix/store/*kasa*/bin/kasa --host 192.168.0.1 schedule list\nDiscovering device 192.168.0.1 for 10 seconds\nRaised error: pass_dev_or_child.\u003clocals\u003e.wrapper() missing 2 required keyword-only arguments: 'child' and 'child_index'\nRun with --debug enabled to see stacktrace\n```\n\nThe 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).\n\nThank 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!\n","author":{"url":"https://github.com/acarrico","@type":"Person","name":"acarrico"},"datePublished":"2025-12-18T21:37:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1624/python-kasa/issues/1624"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1b7ceb5-6cff-3388-7e93-a14e1afb7f87 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9CA:2D8D5:8F6A1:BD42B:69827EF2 |
| html-safe-nonce | a0b266cce31d81d6a61c42754078df79d81ec513bbc7a68c88653e1b58604e84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUNBOjJEOEQ1OjhGNkExOkJENDJCOjY5ODI3RUYyIiwidmlzaXRvcl9pZCI6IjE2MjQ2Nzk0Mzg1NjQzNTk5MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f2976fe774c7dc3e08db3897ec21206de6fff6c104371035cd781b43fea5a69 |
| hovercard-subject-tag | issue:3744946168 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-kasa/python-kasa/1624/issue_layout |
| twitter:image | https://opengraph.githubassets.com/689312558e63ffcec42a1e9b55ae45f73baa53bc36f70696615721543b229cdb/python-kasa/python-kasa/issues/1624 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/689312558e63ffcec42a1e9b55ae45f73baa53bc36f70696615721543b229cdb/python-kasa/python-kasa/issues/1624 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | acarrico |
| hostname | github.com |
| expected-hostname | github.com |
| None | 502ff2009aec8671c806fca4ec6d758f90b6b96901b01d5f0ed23cc438efdf0f |
| turbo-cache-control | no-preview |
| go-import | github.com/python-kasa/python-kasa git https://github.com/python-kasa/python-kasa.git |
| octolytics-dimension-user_id | 57733869 |
| octolytics-dimension-user_login | python-kasa |
| octolytics-dimension-repository_id | 221571611 |
| octolytics-dimension-repository_nwo | python-kasa/python-kasa |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 221571611 |
| octolytics-dimension-repository_network_root_nwo | python-kasa/python-kasa |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2e7b93cf13221e895180e11ba3b1028b0b71f0ac |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width