Hi,
I configured zoneminder, but get a lot of these messages in the log.
However, the camera is visible in HA.
What can I do to further debug this issue?
Apr 27 19:37:32 hass hass[1406]: --- Logging error ---
Apr 27 19:37:32 hass hass[1406]: Traceback (most recent call last):
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/logging/__init__.py", line 978, in emit
Apr 27 19:37:32 hass hass[1406]: msg = self.format(record)
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/logging/__init__.py", line 828, in format
Apr 27 19:37:32 hass hass[1406]: return fmt.format(record)
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/logging/__init__.py", line 573, in format
Apr 27 19:37:32 hass hass[1406]: record.exc_text = self.formatException(record.exc_info)
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/logging/__init__.py", line 523, in formatException
Apr 27 19:37:32 hass hass[1406]: traceback.print_exception(ei[0], ei[1], tb, None, sio)
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/traceback.py", line 169, in print_exception
Apr 27 19:37:32 hass hass[1406]: for line in _format_exception_iter(etype, value, tb, limit, chain):
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/traceback.py", line 146, in _format_exception_iter
Apr 27 19:37:32 hass hass[1406]: for value, tb in values:
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/traceback.py", line 125, in _iter_chain
Apr 27 19:37:32 hass hass[1406]: context = exc.__context__
Apr 27 19:37:32 hass hass[1406]: AttributeError: 'NoneType' object has no attribute '__context__'
Apr 27 19:37:32 hass hass[1406]: Call stack:
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/threading.py", line 888, in _bootstrap
Apr 27 19:37:32 hass hass[1406]: self._bootstrap_inner()
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
Apr 27 19:37:32 hass hass[1406]: self.run()
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/threading.py", line 868, in run
Apr 27 19:37:32 hass hass[1406]: self._target(*self._args, **self._kwargs)
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 65, in _worker
Apr 27 19:37:32 hass hass[1406]: work_item.run()
Apr 27 19:37:32 hass hass[1406]: File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Apr 27 19:37:32 hass hass[1406]: result = self.fn(*self.args, **self.kwargs)
Apr 27 19:37:32 hass hass[1406]: File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/camera/zoneminder.py", line 102, in update
Apr 27 19:37:32 hass hass[1406]: 'api/monitors/alarm/id:%i/command:status.json' % self._monitor_id
Apr 27 19:37:32 hass hass[1406]: File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zoneminder.py", line 124, in get_state
Apr 27 19:37:32 hass hass[1406]: return _zm_request('get', api_url)
Apr 27 19:37:32 hass hass[1406]: File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/zoneminder.py", line 112, in _zm_request
Apr 27 19:37:32 hass hass[1406]: _LOGGER.exception("Unable to get API response from ZoneMinder")
Apr 27 19:37:32 hass hass[1406]: Message: 'Unable to get API response from ZoneMinder'
Apr 27 19:37:32 hass hass[1406]: Arguments: ()
Apr 27 19:37:32 hass hass[1406]: 17-04-27 19:37:32 WARNING (Thread-8) [homeassistant.components.camera.zoneminder] Alarm status API call failed for monitor 1