During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/__init__.py", line 101, in async_setup
await radio.connect(usb_path, baudrate)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py", line 30, in connect
self._gw = yield from uart.connect(device, baudrate, self)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/uart.py", line 269, in connect
xonxoff=True,
File "/usr/lib/python3.5/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/srv/homeassistant/lib/python3.5/site-packages/serial_asyncio/__init__.py", line 410, in create_serial_connection
ser = serial.serial_for_url(*args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/srv/homeassistant/lib/python3.5/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/serial/serialposix.py", line 265, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/ttyUSB1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/__init__.py", line 101, in async_setup
await radio.connect(usb_path, baudrate)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/ezsp.py", line 30, in connect
self._gw = yield from uart.connect(device, baudrate, self)
File "/srv/homeassistant/lib/python3.5/site-packages/bellows/uart.py", line 269, in connect
xonxoff=True,
File "/usr/lib/python3.5/asyncio/coroutines.py", line 210, in coro
res = func(*args, **kw)
File "/srv/homeassistant/lib/python3.5/site-packages/serial_asyncio/__init__.py", line 410, in create_serial_connection
ser = serial.serial_for_url(*args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/serial/__init__.py", line 88, in serial_for_url
instance.open()
File "/srv/homeassistant/lib/python3.5/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'
, level=ERROR, timestamp=1524958084.8427458, message=Error during setup of component zha, source=components/zha/__init__.py>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service_call_id=1976282032-2, service=create, service_data=notification_id=invalid_config, message=The following components and platforms could not be set up:
- [zha](https://home-assistant.io/components/zha/)
Please check your config., title=Invalid config>
2018-04-28 23:28:04 ERROR (MainThread) [homeassistant.setup] Error during setup of component zwave
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 78, in __init__
raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: "Zwave Generic Exception : Can't find device /dev/ttyUSB0 : ['NoneType: None\\n']"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 243, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 81, in __init__
raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: 'Zwave Generic Exception : Error when retrieving device /dev/ttyUSB0 : [\'Traceback (most recent call last):\\n\', \' File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 78, in __init__\\n raise ZWaveException(u"Can\\\'t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\\n\', \'openzwave.object.ZWaveException: "Zwave Generic Exception : Can\\\'t find device /dev/ttyUSB0 : [\\\'NoneType: None\\\\\\\\n\\\']"\\n\']'
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up:
- [zha](https://home-assistant.io/components/zha/)
Please check your config., title=Invalid config @ 2018-04-28T19:28:04.945772-04:00>, entity_id=persistent_notification.invalid_config, old_state=None>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976282032-2>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: exception=Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 78, in __init__
raise ZWaveException(u"Can't find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: "Zwave Generic Exception : Can't find device /dev/ttyUSB0 : ['NoneType: None\\n']"
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 145, in _async_setup_component
component.setup, hass, processed_config)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 243, in setup
config_path=config[DOMAIN].get(CONF_CONFIG_PATH))
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 81, in __init__
raise ZWaveException(u"Error when retrieving device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))
openzwave.object.ZWaveException: 'Zwave Generic Exception : Error when retrieving device /dev/ttyUSB0 : [\'Traceback (most recent call last):\\n\', \' File "/srv/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 78, in __init__\\n raise ZWaveException(u"Can\\\'t find device %s : %s" % (device, traceback.format_exception(*sys.exc_info())))\\n\', \'openzwave.object.ZWaveException: "Zwave Generic Exception : Can\\\'t find device /dev/ttyUSB0 : [\\\'NoneType: None\\\\\\\\n\\\']"\\n\']'
, level=ERROR, timestamp=1524958084.8769052, message=Error during setup of component zwave, source=components/zwave/__init__.py>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service_call_id=1976282032-3, service=create, service_data=notification_id=invalid_config, message=The following components and platforms could not be set up:
- [zwave](https://home-assistant.io/components/zwave/)
- [zha](https://home-assistant.io/components/zha/)
Please check your config., title=Invalid config>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up:
- [zwave](https://home-assistant.io/components/zwave/)
- [zha](https://home-assistant.io/components/zha/)
Please check your config., title=Invalid config @ 2018-04-28T19:28:04.945772-04:00>, entity_id=persistent_notification.invalid_config, old_state=<state persistent_notification.invalid_config=notifying; message=The following components and platforms could not be set up:
- [zha](https://home-assistant.io/components/zha/)
Please check your config., title=Invalid config @ 2018-04-28T19:28:04.945772-04:00>>
2018-04-28 23:28:04 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=1976282032-3>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=updater>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.yr
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setting up cloud
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=cloud>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=unknown; entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol, attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute. @ 2018-04-28T19:28:05.644587-04:00>, entity_id=sensor.yr_symbol, old_state=None>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config.config_entries>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setup of domain config took 3.3 seconds.
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=config>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=google_say>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=tts, service=clear_cache>
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 0.3 seconds.
2018-04-28 23:28:05 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=tts>
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sensor.yr_symbol=1; entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=1;content_type=image/png, friendly_name=yr Symbol, attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute. @ 2018-04-28T19:28:07.081712-04:00>, entity_id=sensor.yr_symbol, old_state=<state sensor.yr_symbol=unknown; entity_picture=https://api.met.no/weatherapi/weathericon/1.1/?symbol=None;content_type=image/png, friendly_name=yr Symbol, attribution=Weather forecast from met.no, delivered by the Norwegian Meteorological Institute. @ 2018-04-28T19:28:05.644587-04:00>>
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 5.3 seconds.
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sensor>
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 11.15s
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Starting Home Assistant core loop
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Bus:Handling <Event homeassistant_start[L]>
2018-04-28 23:28:07 INFO (MainThread) [homeassistant.core] Timer:starting
2018-04-28 23:28:10 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 10.0.0.209 (auth: True)
2018-04-28 23:28:10 INFO (MainThread) [homeassistant.components.http.view] Serving /api/translations/en to 10.0.0.209 (auth: True)
2018-04-28 23:28:11 INFO (MainThread) [homeassistant.loader] Loaded deconz from homeassistant.components.deconz
2018-04-28 23:28:11 INFO (MainThread) [homeassistant.loader] Loaded hue from homeassistant.components.hue
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: webos_tv {'model_name': 'LG Smart TV', 'model_number': '65LF6350-UA', 'serial': None, 'udn': 'uuid:6e454a21-226c-01c0-6498-beb382e2ef25', 'host': '10.0.0.177', 'port': 1813, 'name': '[LG] webOS TV LF6350', 'ssdp_description': 'http://10.0.0.177:1813/', 'manufacturer': 'LG Electronics'}
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.components.discovery] Unknown service discovered: spotify_connect {'properties': {'CPath': '/spConn'}, 'hostname': 'PS4-060158.local.', 'host': '10.0.0.228', 'port': 41800}
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.components.discovery] Found new service: google_cast {'properties': {'rs': False, 'id': '1f8f827e7b2a2da179d9ca381ef96871', 'md': 'Chromecast', 'bs': 'FA8FCA3A9C24', 'cd': '562776587E41750291172FA7AD0C2B5C', 'fn': 'Basement Dweller', 'nf': '1', 'ic': '/setup/icon.png', 'st': '0', 'ca': '4101', 've': '05', 'rm': False}, 'hostname': '1f8f827e-7b2a-2da1-79d9-ca381ef96871.local.', 'host': '10.0.0.193', 'port': 8009}
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.setup] Setting up media_player
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=play_media>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=select_source>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_off>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_set>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_previous_track>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_down>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_pause>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_stop>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=shuffle_set>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=toggle>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=turn_on>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=clear_playlist>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_next_track>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_mute>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=volume_up>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_play_pause>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=media_player, service=media_seek>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.0 seconds.
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=media_player>
2018-04-28 23:28:19 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: discovered=properties=rs=False, id=1f8f827e7b2a2da179d9ca381ef96871, md=Chromecast, bs=FA8FCA3A9C24, cd=562776587E41750291172FA7AD0C2B5C, fn=Basement Dweller, nf=1, ic=/setup/icon.png, st=0, ca=4101, ve=05, rm=False, hostname=1f8f827e-7b2a-2da1-79d9-ca381ef96871.local., host=10.0.0.193, port=8009, platform=cast, service=load_platform.media_player>
2018-04-28 23:28:20 INFO (MainThread) [homeassistant.loader] Loaded media_player.cast from homeassistant.components.media_player.cast
2018-04-28 23:28:20 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.cast
2018-04-28 23:28:20 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state media_player.basement_dweller=unavailable; friendly_name=Basement Dweller, supported_features=21437 @ 2018-04-28T19:28:20.512778-04:00>, entity_id=media_player.basement_dweller, old_state=None>
2018-04-28 23:28:20 INFO (Thread-19) [pychromecast] Querying device status
2018-04-28 23:28:20 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state media_player.basement_dweller=off; friendly_name=Basement Dweller, supported_features=21437 @ 2018-04-28T19:28:20.600501-04:00>, entity_id=media_player.basement_dweller, old_state=<state media_player.basement_dweller=unavailable; friendly_name=Basement Dweller, supported_features=21437 @ 2018-04-28T19:28:20.512778-04:00>>
2018-04-28 23:28:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=above_horizon; next_dawn=2018-04-29T10:00:15+00:00, next_dusk=2018-04-29T00:59:11+00:00, friendly_name=Sun, elevation=10.28, next_setting=2018-04-29T00:28:42+00:00, azimuth=280.62, next_rising=2018-04-29T10:30:51+00:00, next_midnight=2018-04-29T05:30:15+00:00, next_noon=2018-04-29T17:30:21+00:00 @ 2018-04-28T19:28:02.297199-04:00>, entity_id=sun.sun, old_state=<state sun.sun=above_horizon; next_dawn=2018-04-29T10:00:15+00:00, next_dusk=2018-04-29T00:59:11+00:00, friendly_name=Sun, elevation=10.37, next_setting=2018-04-29T00:28:42+00:00, azimuth=280.54, next_rising=2018-04-29T10:30:51+00:00, next_midnight=2018-04-29T05:30:15+00:00, next_noon=2018-04-29T17:30:21+00:00 @ 2018-04-28T19:28:02.297199-04:00>>
2018-04-28 23:29:30 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=above_horizon; next_dawn=2018-04-29T10:00:15+00:00, next_dusk=2018-04-29T00:59:11+00:00, friendly_name=Sun, elevation=10.1, next_setting=2018-04-29T00:28:42+00:00, azimuth=280.78, next_rising=2018-04-29T10:30:51+00:00, next_midnight=2018-04-29T05:30:15+00:00, next_noon=2018-04-29T17:30:21+00:00 @ 2018-04-28T19:28:02.297199-04:00>, entity_id=sun.sun, old_state=<state sun.sun=above_horizon; next_dawn=2018-04-29T10:00:15+00:00, next_dusk=2018-04-29T00:59:11+00:00, friendly_name=Sun, elevation=10.28, next_setting=2018-04-29T00:28:42+00:00, azimuth=280.62, next_rising=2018-04-29T10:30:51+00:00, next_midnight=2018-04-29T05:30:15+00:00, next_noon=2018-04-29T17:30:21+00:00 @ 2018-04-28T19:28:02.297199-04:00>>
I realize there are bloated state changes in here, sorry. If you look at these enough (i.e. you’re a dev), I figure you can filter out the crap… I have begun to from pouring over this stuff 