Problem:
I have noticed random crashes over the last few days, usually in the middle of the night when no events are being triggered. I only have one z-wave device connected. Configuration is otherwise working normally, z-wave device is working normally prior to the error.
Software:
Ubuntu Linux 16.04 LTS
Hardware:
Z-Stick Gen 5
Aotec Switch
Log:
Output log is such for the error. There is a repeating loop at the end, which I have truncated. :
17-03-13 00:37:30 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
OSError: [Errno 113] No route to host
17-03-13 09:01:29 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out
17-03-13 09:01:57 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out
17-03-13 09:14:56 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/selector_events.py", line 662, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out
The repeating error is then such:
17-03-13 09:24:09 ERROR (Dummy-14) [openzwave] Error in manager callback
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave-0.3.2-py3.5.egg/openzwave/network.py", line 950, in zwcallback
self._handle_value_changed(args)
File "/srv/homeassistant/lib/python3.5/site-packages/openzwave-0.3.2-py3.5.egg/openzwave/network.py", line 1502, in _handle_value_changed
'value' : self.nodes[args['nodeId']].values[args['valueId']['id']]})
File "/srv/homeassistant/lib/python3.5/site-packages/PyDispatcher-2.0.5-py3.5.egg/pydispatch/dispatcher.py", line 338, in send
**named
File "/srv/homeassistant/lib/python3.5/site-packages/PyDispatcher-2.0.5-py3.5.egg/pydispatch/robustapply.py", line 55, in robustApply
return receiver(*arguments, **named)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 691, in network_value_changed
self.value_changed(value)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zwave/__init__.py", line 697, in value_changed
self.schedule_update_ha_state()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 288, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 178, in add_job
self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 532, in call_soon_threadsafe
handle = self._call_soon(callback, args)
File "/usr/lib/python3.5/asyncio/base_events.py", line 506, in _call_soon
self._check_closed()
File "/usr/lib/python3.5/asyncio/base_events.py", line 334, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Any advice would be appreciated.