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

Control device with alias via python api? · Issue #285 · python-kasa/python-kasa · GitHub

Repository navigation

Control device with alias via python api? #285

Closed

Description

Hi, is it possible to connect to and control devices using their alias in python like you can in the command line? If so, how?

Thanks.

Activity

  1. rytilahti commented on Jan 11, 2022

    Member

    Hi, there is no device management in the lib, so there is no direct way to do that.

    You could take a look how the command line util is doing it (https://github.com/python-kasa/python-kasa/blob/master/kasa/cli.py#L168), or you could perform discovery (https://python-kasa.readthedocs.io/en/latest/discover.html) and filter the results based on the alias yourself.

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