Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Help needed - awaiting game  #179

Copy link
Copy link
@yu-conn

Description

@yu-conn
Issue body actions

I've been trying just to use the sample code in the API documentation (copied and pasted this directly, except changing to my kasa plug's IP address)

Screen Shot 2021-07-05 at 4 47 43 PM

but I keep getting this error from the await update line

Screen Shot 2021-07-05 at 4 50 30 PM

I've also tried the super simple code example:

import asyncio
dev = SmartDevice("<my plug's IP address>")
asyncio.run(dev.update())

but it stalls on the third line until outputting the same error. The update() line seems to be holding everything up whatever I try, since I need to await it before accessing any info about the SmartDevice. Any advice on how to address this? Thank you in advance.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.