Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Discover won't find my devices anymore #193

@blacklight

Description

@blacklight

This is an issue I've been experiencing consistently for 1-2 months after a firmware upgrade.

I have two WeMo devices both running the latest firmware according to the app (WeMo_WW_2.00.11401.PVT-OWRT-SNS), and both can't be discovered anymore neither through the Python API nor wemo list directly.

Example output of wemo -d list (note: my devices are on IP addresses 192.168.1.19 and 192.168.1.20 but neither of them appears in the output):

DEBUG:ouimeaux.discovery:Binding datagram server to 192.168.1.11:54321
INFO:ouimeaux.environment:Discovering devices
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to 239.255.255.250:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:53503
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:53503
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to 239.255.255.250:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.16:52225
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.17:58246
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to 239.255.255.250:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.16:35703
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:57998
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.17:60120
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:60241
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:57998
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:60241
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to 239.255.255.250:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:39442
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.16:47434
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.17:47740
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:39442
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Broadcasting M-SEARCH to 239.255.255.250:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.16:43546
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:58067
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.17:59828
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.253:43970
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.2:58067
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900
DEBUG:ouimeaux.discovery:Received a response from 192.168.1.12:1900

What I have tried already:

  • Tested the command above from at least 3 different computers with the latest GitHub version of ouimeaux

  • Made sure that both my devices and my computer are on the same WiFi network

  • Switched off my VPN

  • Explicitly bound ouimeaux to my wlan interface IP address

  • Increased discovery timeout to up to one minute

None of these options worked, so I guess that something must definitely be broken on ouimeaux/switch sides but I can't figure out what.

  • Any hints on how to investigate what's not working and why the client doesn't receive M_SEARCH replies from the switches?

  • Any way to implement a workaround that allows users to skip discovery and directly connect to the devices via IP address? (it would make things lots faster, btw)

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