I created a test switch to test my google assistant. When I switch it from off to on, the UI seems to lock up.
I am running (70.1), hass.io (105), and resin (Resin OS 2.3.0+rev1).
I have a terminal up and running, I have to “hassio ha restart” to get it back up.
Again, the UI runs till I switch the testswitch.
Here is my ymal …
switch:
- platform: template
switches:
testswitch:
value_template: "{{ is_state('switch.testswitch', 'on') }}"
turn_on:
service: switch.turn_on
entity_id: switch.testswitch
turn_off:
service: switch.turn_off
entity_id: switch.testswitch
Here is the log after it happen. Not sure if it is related or not.
root@hassio:/mnt/data/resin-data/homeassistant# cat home-assistant.log
2018-06-04 08:43:10 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2018-06-04 08:43:11 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2018-06-04 08:43:12 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.1 seconds.
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setting up http
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setting up system_log
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.0 seconds.
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setting up api
2018-06-04 08:43:13 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2018-06-04 08:43:15 INFO (MainThread) [homeassistant.setup] Setting up recorder
2018-06-04 08:43:18 INFO (MainThread) [homeassistant.setup] Setting up frontend
2018-06-04 08:43:19 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=129 from 2018-06-04 13:38:59.582362)
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 5.6 seconds.
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up history
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 2.6 seconds.
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up input_select
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up sensor
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up group
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up sun
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2018-06-04 08:43:21 INFO (MainThread) [homeassistant.setup] Setting up notify
2018-06-04 08:43:22 INFO (MainThread) [homeassistant.components.notify] Setting up notify.smtp
2018-06-04 08:43:22 INFO (MainThread) [homeassistant.setup] Setting up zone
2018-06-04 08:43:22 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.0 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up conversation
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.1 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up alexa
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain alexa took 0.0 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up logbook
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up google_assistant
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain google_assistant took 0.0 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up config
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.1 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 1.8 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 1.3 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain group took 1.8 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up automation
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setting up switch
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain switch took 0.0 seconds.
2018-06-04 08:43:23 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.2 seconds.
2018-06-04 08:43:24 INFO (MainThread) [homeassistant.setup] Setting up updater
2018-06-04 08:43:24 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2018-06-04 08:43:26 INFO (MainThread) [homeassistant.setup] Setting up discovery
2018-06-04 08:43:26 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2018-06-04 08:43:29 INFO (MainThread) [homeassistant.setup] Setting up zwave
2018-06-04 08:43:33 INFO (MainThread) [homeassistant.components.zwave] Z-Wave network autoheal is enabled
2018-06-04 08:43:33 INFO (MainThread) [homeassistant.setup] Setup of domain zwave took 3.5 seconds.
2018-06-04 08:43:33 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-06-04 08:43:35 INFO (MainThread) [homeassistant.setup] Setting up python_script
2018-06-04 08:43:35 INFO (MainThread) [homeassistant.setup] Setup of domain python_script took 0.0 seconds.
2018-06-04 08:43:38 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 16.6 seconds.
2018-06-04 08:43:38 INFO (MainThread) [homeassistant.setup] Setting up tts
2018-06-04 08:43:40 INFO (MainThread) [homeassistant.setup] Setup of domain config took 17.5 seconds.
2018-06-04 08:43:42 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.google_maps
2018-06-04 08:43:44 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 21.4 seconds.
2018-06-04 08:43:44 INFO (MainThread) [homeassistant.setup] Setup of domain tts took 5.9 seconds.
2018-06-04 08:43:44 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 36.24s
2018-06-04 08:43:44 INFO (SyncWorker_3) [homeassistant.components.zwave] Starting Z-Wave network...
2018-06-04 08:43:44 INFO (SyncWorker_3) [openzwave] Start Openzwave network.
2018-06-04 08:43:44 INFO (MainThread) [homeassistant.components.automation] Initialized trigger Log Level
2018-06-04 08:43:44 INFO (MainThread) [homeassistant.setup] Setting up hassio
2018-06-04 08:43:45 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.1 seconds.
2018-06-04 08:43:45 INFO (Dummy-3) [openzwave] Driver ready using library Static Controller version Z-Wave 3.95
2018-06-04 08:43:45 INFO (Dummy-3) [openzwave] home_id 0xd995c89e, controller node id is 1
2018-06-04 08:43:45 INFO (MainThread) [homeassistant.setup] Setting up climate
2018-06-04 08:43:45 INFO (MainThread) [homeassistant.setup] Setup of domain climate took 0.0 seconds.
2018-06-04 08:43:45 INFO (MainThread) [homeassistant.components.climate] Setting up climate.zwave
2018-06-04 08:43:45 INFO (MainThread) [homeassistant.components.climate] Setting up climate.zwave
2018-06-04 08:43:49 INFO (Dummy-3) [homeassistant.components.zwave] Zwave network is ready for use. All awake nodes have been queried. Sleeping nodes will be queried when they awake.
2018-06-04 08:43:49 INFO (MainThread) [homeassistant.components.zwave] Z-Wave ready after 5 seconds
2018-06-04 08:43:49 INFO (SyncWorker_17) [homeassistant.components.zwave] Z-Wave polling interval set to 60000 ms
2018-06-04 08:43:58 INFO (MainThread) [homeassistant.setup] Setting up media_player
2018-06-04 08:43:58 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.1 seconds.
2018-06-04 08:44:00 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.directv
2018-06-04 08:44:00 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform directv
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
return fut.result()
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/directv.py", line 75, in setup_platform
dtvs.append(DirecTvDevice(*host))
File "/usr/lib/python3.6/site-packages/homeassistant/components/media_player/directv.py", line 90, in __init__
self.dtv = DIRECTV(host, port, device)
File "/usr/lib/python3.6/site-packages/DirectPy.py", line 33, in __init__
self.get_tuned()
File "/usr/lib/python3.6/site-packages/DirectPy.py", line 74, in get_tuned
self.channel = self._combine_channel(jResp['major'],jResp['minor'])
KeyError: 'major'
2018-06-04 08:44:23 INFO (SyncWorker_9) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:44:24 INFO (SyncWorker_19) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:45:24 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:46:25 INFO (SyncWorker_6) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:46:26 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:47:26 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:48:27 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:49:28 INFO (SyncWorker_12) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:50:29 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:50:30 INFO (SyncWorker_12) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:51:30 INFO (SyncWorker_12) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:52:30 INFO (SyncWorker_12) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:53:31 INFO (SyncWorker_12) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:53:32 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:54:32 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:55:33 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:56:34 INFO (SyncWorker_10) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:56:35 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:57:35 INFO (SyncWorker_10) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:58:36 INFO (SyncWorker_13) [custom_components.sensor.google_geocode] google request sent
2018-06-04 08:59:37 INFO (SyncWorker_4) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:00:38 INFO (SyncWorker_2) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:00:39 INFO (SyncWorker_14) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:01:39 INFO (SyncWorker_2) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:01:40 INFO (SyncWorker_14) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:02:40 INFO (SyncWorker_14) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:03:41 INFO (SyncWorker_14) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:04:42 INFO (SyncWorker_14) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:04:46 INFO (SyncWorker_15) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:06:53 INFO (SyncWorker_16) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:09:25 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 322, in _handle
resp = await handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 76, in staticresource_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 25, in real_ip_middleware
ip_address(request.transport.get_extra_info('peername')[0])
AttributeError: 'NoneType' object has no attribute 'get_extra_info'
2018-06-04 09:09:25 WARNING (MainThread) [aiohttp.websocket] websocket connection is closing.
2018-06-04 09:09:25 INFO (SyncWorker_18) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:09:26 INFO (SyncWorker_19) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:12:30 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_app.py", line 322, in _handle
resp = await handler(request)
File "/usr/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 88, in impl
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 76, in staticresource_middleware
return await handler(request)
File "/usr/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 25, in real_ip_middleware
ip_address(request.transport.get_extra_info('peername')[0])
AttributeError: 'NoneType' object has no attribute 'get_extra_info'
2018-06-04 09:12:31 INFO (SyncWorker_12) [homeassistant.components.zwave] Stopping Z-Wave network
2018-06-04 09:12:31 INFO (SyncWorker_12) [openzwave] Stop Openzwave network.
2018-06-04 09:12:31 INFO (SyncWorker_3) [custom_components.sensor.google_geocode] google request sent
2018-06-04 09:12:31 INFO (SyncWorker_12) [openzwave] ZWave configuration written to user directory.
root@hassio:/mnt/data/resin-data/homeassistant#