Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to auto detect WeMo wall light switch #274

Open
buddingmonkey opened this issue Jul 14, 2021 · 2 comments
Open

Unable to auto detect WeMo wall light switch #274

buddingmonkey opened this issue Jul 14, 2021 · 2 comments

Comments

@buddingmonkey
Copy link

I wrote a script to detect if my WeMo light switch is pressed, and to turn another WeMo switch. It's been working fine until a week or two ago. Here is a snippet of the code I wrote:

import pywemo

devices = pywemo.discover_devices()

vanity = next(x for x in devices if x.name == "Vanity")

The code no longer detects my wall switch (Vanity)

Even using the debug mode produces the following output:

[<WeMo Switch "Upstairs Hallway">, <WeMo Switch "Bathroom Hutch">, <WeMo Switch "Nursery Night Light">]
@esev
Copy link
Member

esev commented Jul 14, 2021

Just to help us debug, can you still control the 'Vanity' device from the WeMo mobile app?

@buddingmonkey
Copy link
Author

Yes. It works on the iOS app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants