Having issues with Arlo cameras. Before moving to .56.1 (I was on .54), I was able to get stills, but no video (last mpeg) from my Arlos. Now, after updating to .56.1, I can’t get anything.
This is the error I get in my log:
2017-10-23 11:40:46 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
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/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/srv/homeassistant/lib/python3.4/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-23 11:40:47 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
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/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/srv/homeassistant/lib/python3.4/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-23 11:40:47 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
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/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/srv/homeassistant/lib/python3.4/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-23 11:40:47 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
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/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/srv/homeassistant/lib/python3.4/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-23 11:40:49 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
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/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 164, in update
self.attrs[ATTR_BRIGHTNESS] = self._camera.get_battery_level
File "/srv/homeassistant/lib/python3.4/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
Config is:
camera:
- platform: arlo
ffmpeg_arguments: ‘-pred 1 -q:v 2’ – this is uncommented out when I am trying to get the video
arlo:
username: !secret arlo_user
password: !secret arlo_password
#mpeg component
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
ffmeg is in my /usr/bin/ffmpeg and it’s in the path for both the pi user and the homeassistant virtual env.
I’ve tried the main arlo user that I login with as well as the separate HA user I created.
Any ideas?