FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

provisioning format · Issue #290 · python-kasa/python-kasa · GitHub

Repository navigation

provisioning format #290

Closed
Closed

Description

ive used a few kasa smart plugs for a while now and haven't provisioned one to a wifi network in a few months and I am unable to get the correct format down

im joining the tp-link open network then entering kasa --host 192.168.0.1 wifi join my_network
i then enter in my password with the prompt to no avail.

I've tried every conceivable configuration, providing my password as an argument:
kasa --host 192.168.0.1 wifi join --password my_password my_network
entering the information as strings
kasa --host 192.168.0.1 wifi join ssid='my_network'

could someone please provide the correct format for joining wifi with a hypothetical a ssid and password

Activity

  1. rytilahti commented on Jan 14, 2022

    Member

    What type of encryption are you using in your wifi? Try kasa wifi scan to get information about the networks the device sees, it will also show the keytype (if necessary).

    The default --keytype is set to 3 (WPA-2), so you may need to adjust that.

    The correct command is:

    kasa --host <x> wifi join <ssid> --password <password>
    

    and if you leave the password out, it should be prompted.

  2. willyk26 commented on Jan 14, 2022

    Author

    my keytype is 3
    im still having no luck provisioning , so to be clear my SSID and password should not be entered as strings
    this is also a wifi i had previously provisioned to

  3. rytilahti commented on Jan 14, 2022

    Member

    I don't understand what you mean by "should not be entered as strings" as both of those input variables need to be strings...

    That being said, the best I can give is to look at the logs of your AP to see if there are any indications why it's failing. That command just instructs the device to connect to the given wifi, and if that fails (for whatever reason) it'll reopen the initial AP to allow reconfiguration.

  4. willyk26 commented on Jan 14, 2022

    Author

    by entered as strings I meant enclosed by quotation marks

  5. rytilahti commented on Jan 29, 2022

    Member

    The quotation marks are not send to the device, or at least they should not be. You can use --debug flag to see the exact payloads that are send to the device.

  6. willyk26 commented on Jan 29, 2022

    Author
  7. rytilahti commented on Jan 29, 2022

    Member

    Great! Let's close this then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL