I’m also seeing errors and having trouble with amcrest cameras post update.
I am, however, using one of the cameras that are in the supported matrix.
17-01-31 18:16:19 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform amcrest
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, 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/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/amcrest.py", line 83, in setup_platform
add_devices([AmcrestCam(hass, config, camera)])
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/amcrest.py", line 94, in __init__
self._base_url = self._camera.get_base_url()
AttributeError: 'Http' object has no attribute 'get_base_url'
17-01-31 18:16:19 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform amcrest
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, 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/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/amcrest.py", line 83, in setup_platform
add_devices([AmcrestCam(hass, config, camera)])
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/amcrest.py", line 94, in __init__
self._base_url = self._camera.get_base_url()
AttributeError: 'Http' object has no attribute 'get_base_url'
17-01-31 18:16:20 ERROR (Thread-6) [plexapi] http://10.0.0.176:32400: (401) unauthorized
17-01-31 18:16:20 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform plex
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/plexapi/server.py", line 47, in _connect
return self.query('/')
File "/home/homeassistant/.homeassistant/deps/plexapi/server.py", line 110, in query
raise BadRequest('(%s) %s' % (response.status_code, codename))
plexapi.exceptions.BadRequest: (401) unauthorized
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, 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/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/plex.py", line 52, in setup_platform
name, plex_url, plex_user, plex_password, plex_server)])
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/plex.py", line 74, in __init__
self._server = PlexServer(plex_url)
File "/home/homeassistant/.homeassistant/deps/plexapi/server.py", line 27, in __init__
data = self._connect()
File "/home/homeassistant/.homeassistant/deps/plexapi/server.py", line 50, in _connect
raise NotFound('No server found at: %s' % self.baseurl)
plexapi.exceptions.NotFound: No server found at: http://10.0.0.176:32400
17-01-31 18:16:21 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform amcrest
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, 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 "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 76, in setup_platform
sensors.append(AmcrestSensor(config, data, sensor_type))
File "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 99, in __init__
self.update()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 129, in update
version, build_date = self._data.camera.software_information
ValueError: too many values to unpack (expected 2)
17-01-31 18:16:21 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform amcrest
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, 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 "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 76, in setup_platform
sensors.append(AmcrestSensor(config, data, sensor_type))
File "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 99, in __init__
self.update()
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/home/homeassistant/.homeassistant/custom_components/sensor/amcrest.py", line 129, in update
version, build_date = self._data.camera.software_information
ValueError: too many values to unpack (expected 2)