Hi I’m getting lots of log errors based around zoneminder (I think). I’m displaying 4 cameras (with seems to work fine) but am also getting lots of CPU use.
Here’s the log errors. Any advice on how I might fix this?
IndexError: list index out of range
17-04-27 06:09:46 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.rainradar to 192.168.0.1 (auth: False)
17-04-27 06:09:51 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.backyard to 192.168.0.1 (auth: False)
17-04-27 06:09:51 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.bird_cam_1 to 192.168.0.1 (auth: False)
17-04-27 06:09:51 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.bird_cam_2 to 192.168.0.1 (auth: False)
17-04-27 06:09:51 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.front_door to 192.168.0.1 (auth: False)
17-04-27 06:09:56 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.rainradar to 192.168.0.1 (auth: False)
17-04-27 06:10:01 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.backyard to 192.168.0.1 (auth: False)
17-04-27 06:10:01 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.bird_cam_1 to 192.168.0.1 (auth: False)
17-04-27 06:10:01 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.bird_cam_2 to 192.168.0.1 (auth: False)
17-04-27 06:10:01 INFO (MainThread) [homeassistant.components.http] Serving /api/camera_proxy/camera.front_door to 192.168.0.1 (auth: False)
17-04-27 06:10:02 INFO (Thread-8) [homeassistant.components.sensor.bom] BOM url http://www.bom.gov.au/fwo/IDQ60901/IDQ60901.95591.json
17-04-27 06:10:04 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.bird_cam_1 fails
Traceback (most recent call last):
File "/srv/hass/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/lib/python3.4/site-packages/homeassistant/components/camera/zoneminder.py", line 110, in update
if status_response['success'] is False:
KeyError: 'success'
17-04-27 06:10:04 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.bird_cam_2 fails
Traceback (most recent call last):
File "/srv/hass/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/lib/python3.4/site-packages/homeassistant/components/camera/zoneminder.py", line 110, in update
if status_response['success'] is False:
KeyError: 'success'
17-04-27 06:10:04 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.backyard fails
Traceback (most recent call last):
File "/srv/hass/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/lib/python3.4/site-packages/homeassistant/components/camera/zoneminder.py", line 110, in update
if status_response['success'] is False:
KeyError: 'success'
17-04-27 06:10:04 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.front_door fails
Traceback (most recent call last):
File "/srv/hass/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 386, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 287, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 275, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/hass/lib/python3.4/site-packages/homeassistant/components/camera/zoneminder.py", line 110, in update
if status_response['success'] is False:
KeyError: 'success'