Skip to content

Unable to discover the device  #259

@dvido

Description

@dvido

Hello,

I'm trying to control a Xiaomi smart plug. I'm doing a very simple thing:

print(miio.plug.Plug(token=plug_token, ip=plug_ip).status())

but it's not working. Could anyone point me to a solution here?
Also, I couldn't find any code example of the API usage and the documentation is very limited, would appreciate some help here.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions