Wemo Light Bulbs Discovery Error

Hi all,

New member here, I’ve been getting started with Home Assistant over the last few days.

I’ve been getting a few devices together so that I can start trying things out.

Unfortunately my existing LightwaveRF dimmer switches aren’t currently supported by HA, so I picked up a WeMo Lighting Starter Pack (2 x bulbs and 1 x Link) and an Echo Dot to start trying out some voice controlled lamps through HA.

The Echo Dot seems to communicate fine with Home Assistant, and I’ve successfully used my voice to instruct HA to turn off my smart tv.

I am having a problem with the WeMo bulbs though:

I added the WeMo Link to my wifi network, and paired the 2 bulbs to the Link.

I have tried adding the following combinations of entries to my configuration.yaml file:

1. Just auto discovery

discovery:

2. Auto discovery AND the wemo component

discovery:  

wemo:

3. Auto discovery AND the wemo component with IP Address of my Link

discovery:
wemo:
  static:
    - 100.124.245.26

Regardless of the configuration, I get the following error in my home-assistant.log file:

    16-11-18 00:38:53 homeassistant.bootstrap: Error during setup of component wemo
Traceback (most recent call last):
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/bootstrap.py", line 149, in _async_setup_component
    None, component.setup, hass, config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/wemo.py", line 80, in setup
    devices = [(device.host, device) for device in pywemo.discover_devices()]
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 27, in discover_devices
    device = device_from_description(entry.location, mac)
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 39, in device_from_description
    return device_from_uuid_and_location(uuid, mac, description_url)
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 55, in device_from_uuid_and_location
    return Bridge(location, mac)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 39, in __init__
    self.bridge_update()
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 63, in bridge_update
    self.Groups[uniqueID] = Group(self, group)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 266, in __init__
    super(Group, self).__init__(bridge, info)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 92, in __init__
    self._update_state(info)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 280, in _update_state
    for c in capabilities.split(',')
AttributeError: 'NoneType' object has no attribute 'split'
16-11-18 00:39:48 homeassistant.bootstrap: Error during setup of component wemo
Traceback (most recent call last):
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/bootstrap.py", line 149, in _async_setup_component
    None, component.setup, hass, config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/hass/lib/python3.5/site-packages/homeassistant/components/wemo.py", line 80, in setup
    devices = [(device.host, device) for device in pywemo.discover_devices()]
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 27, in discover_devices
    device = device_from_description(entry.location, mac)
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 39, in device_from_description
    return device_from_uuid_and_location(uuid, mac, description_url)
  File "/home/hass/.homeassistant/deps/pywemo/discovery.py", line 55, in device_from_uuid_and_location
    return Bridge(location, mac)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 39, in __init__
    self.bridge_update()
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 63, in bridge_update
    self.Groups[uniqueID] = Group(self, group)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 266, in __init__
    super(Group, self).__init__(bridge, info)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 92, in __init__
    self._update_state(info)
  File "/home/hass/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py", line 280, in _update_state
    for c in capabilities.split(',')
AttributeError: 'NoneType' object has no attribute 'split'
16-11-18 00:39:48 homeassistant.bootstrap: Component wemo failed to setup
16-11-18 00:39:48 homeassistant.components.light.hue: Error connecting to the Hue bridge at 192.127.0.102

Does anyone have an idea of what I might be doing wrong?

Surely methods 1 and 2 should have worked fine on their own?

Thanks in advance

Try adding the IP address for your hub and the ip address for each component attached under static. Worked for someone a couple of days ago when discovery wasn’t working.

1 Like

Thanks for the response!

Turns out my WeMo link is faulty, it dropped off the WiFi and won’t reconnect, even after factory resetting the device and reattempting the initial set up. I am going to return and order a replacement.

I will certainly try your suggestion when the replacement arrives!