Also seeing wemo issues where they are discovered but not able to change state. The switch will trigger but not light bulbs.
ERROR:homeassistant.core:BusHandler:Exception doing job
Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/core.py”, line 852, in job_handler
func(*args)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/core.py”, line 717, in _execute_service
service(call)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/core.py”, line 572, in call
self.func(call)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/components/light/init.py”, line 205, in handle_light_service
getattr(light, service_fun)(**params)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/homeassistant/components/light/wemo.py”, line 129, in turn_off
self.device.turn_off(transition=transitiontime)
File “/Users/TVMac/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 236, in turn_off
return self._queuedevicestatus(onoff=OFF)
File “/Users/TVMac/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 179, in _queuedevicestatus
self._setdevicestatus(**self._pending)
File “/Users/TVMac/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 148, in _setdevicestatus
isgroup, self.uniqueID, capids, values)
File “/Users/TVMac/.homeassistant/deps/pywemo/ouimeaux_device/bridge.py”, line 81, in bridge_setdevicestatus
xml_declaration=True)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/xml/etree/ElementTree.py”, line 775, in write
short_empty_elements=short_empty_elements)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py”, line 66, in exit
next(self.gen)
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/xml/etree/ElementTree.py”, line 834, in _get_writer
yield file.write
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py”, line 357, in exit
raise exc_details[1]
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py”, line 342, in exit
if cb(*exc_details):
File “/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/contextlib.py”, line 288, in _exit_wrapper
callback(*args, **kwds)
TypeError: string argument expected, got ‘bytes’
No luck for me 0.27 brought a new error, now none of my wemo devices are discovered.
16-08-28 20:42:33 homeassistant.bootstrap: Unable to prepare setup for platform light.wemo because dependency wemo could not be initialized
16-08-28 20:42:41 homeassistant.bootstrap: Error during setup of component wemo
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/bootstrap.py”, line 157, in _setup_component
result = component.setup(hass, config)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/wemo.py”, line 84, in setup
for address in config.get(DOMAIN, {}).get(CONF_STATIC))
TypeError: ‘NoneType’ object is not iterable
UPDATE: Seems the discovery: component is not working correctly, at least as it did before. I had to add wemo: to my configuration.yaml to get HA to discover my wemo devices without error.
I have another problem that all the wemo devices disappeared by itself at the same time. It happen second time, see the log below:
16-08-30 06:55:41 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Kids Toilet”> (HTTPConnectionPool(host=‘192.168.115.212’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x71c6bbf0>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:44 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Kid Toilet Rack”> (HTTPConnectionPool(host=‘192.168.115.213’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x5dcef650>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:47 pywemo.subscribe: Resubscribe error for <WeMo Switch “Outdoor Cam”> (HTTPConnectionPool(host=‘192.168.115.208’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x635d7cf0>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:50 pywemo.subscribe: Resubscribe error for <WeMo Switch “Steamer”> (HTTPConnectionPool(host=‘192.168.115.205’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x63a08850>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:53 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Toilet Rack”> (HTTPConnectionPool(host=‘192.168.115.214’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x71c12690>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:56 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Study Light Switch”> (HTTPConnectionPool(host=‘192.168.115.209’, port=49154): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x5dd22d90>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:55:59 pywemo.subscribe: Resubscribe error for <WeMo Motion “Garage Motion”> (HTTPConnectionPool(host=‘192.168.115.216’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x63590690>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:56:02 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Kid Room”> (HTTPConnectionPool(host=‘192.168.115.211’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x635d7a10>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:56:05 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Garage Light”> (HTTPConnectionPool(host=‘192.168.115.210’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x63590690>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:56:08 pywemo.subscribe: Resubscribe error for <WeMo Maker “Garage Door”> (HTTPConnectionPool(host=‘192.168.115.215’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x63a35b90>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:56:44 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Kids Toilet”> (HTTPConnectionPool(host=‘192.168.115.212’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x71c574b0>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:56:53 pywemo.ouimeaux_device: Unable to re-probe wemo at 192.168.115.212
16-08-30 06:56:56 pywemo.subscribe: Resubscribe error for <WeMo LightSwitch “Kid Toilet Rack”> (HTTPConnectionPool(host=‘192.168.115.213’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x637c0b10>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:57:05 pywemo.ouimeaux_device: Unable to re-probe wemo at 192.168.115.213
16-08-30 06:57:08 pywemo.subscribe: Resubscribe error for <WeMo Switch “Outdoor Cam”> (HTTPConnectionPool(host=‘192.168.115.208’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x635b24b0>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:57:17 pywemo.ouimeaux_device: Unable to re-probe wemo at 192.168.115.208
16-08-30 06:58:40 pywemo.ouimeaux_device: Unable to reconnect with Outdoor Cam in 5 tries. Stopping.
16-08-30 06:58:43 pywemo.subscribe: Resubscribe error for <WeMo Switch “Steamer”> (HTTPConnectionPool(host=‘192.168.115.205’, port=49153): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<requests.packages.urllib3.connection.HTTPConnection object at 0x63a20150>: Failed to establish a new connection: [Errno 113] No route to host’,))), will retry in 60s
16-08-30 06:58:52 pywemo.ouimeaux_device: Unable to re-probe wemo at 192.168.115.205
There was no power outage and other product devices were working fine. I wonder if the HASS did sent request to wemo devices that cause it goes down? I had to restart in order to make it working again.
0.27.1 appears to be working on my end. I removed wemo: and went back to discovery: in my configuration and my wemo devices were discovered without any errors.
0.27.1 is also working with my WeMo Link devices. I have discovery disabled, and have all WeMo devices statically assigned. All work without issue, and no errors in the logs.
All-
I’ve noticed since going to 0.77 that ONE of my 2 wemo outlets (both have static ip reservations and are pingable by HASS CLI) changes to UNAVAILABLE. I see the following in the log:
2018-09-11 21:21:12 WARNING (Wemo Events Thread) [pywemo.subscribe] Resubscribe error for <WeMo Switch “Living room”> (HTTPConnectionPool(host=‘192.168.1.XXX’, port=49154): Max retries exceeded with url: /upnp/event/basicevent1 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7ff9be60f978>: Failed to establish a new connection: [Errno 111] Connection refused’,))), will retry in 60s
2018-09-11 21:21:14 ERROR (SyncWorker_4) [pywemo.ouimeaux_device.api.service] Error communicating with Living room. Giving up
2018-09-11 21:21:17 WARNING (SyncWorker_1) [pywemo.ouimeaux_device.api.service] Error communicating with Living room, retry 0
2018-09-11 21:21:22 WARNING (MainThread) [homeassistant.components.switch.wemo] Lost connection to Living room
2018-09-11 21:21:27 WARNING (SyncWorker_1) [pywemo.ouimeaux_device.api.service] Error communicating with Living room, retry 1
2018-09-11 21:21:38 WARNING (SyncWorker_1) [pywemo.ouimeaux_device.api.service] Error communicating with Living room, retry 2
This repeats over and over again.
Restarting the HASS service brings the switch back online