It's cool that the Arlo Control Panel and battery status were added today, I've been waiting for a battery status for some time now.
Sadly, neither of these seem to be working as both shows unknown.
And on top of that, the documentation for Arlo Control Panel seems a little sparse so I don't really know how I'd use it anyway.
I have tested the Arlo Control Panel and the Arlo Sensor for battery and they don't like it together. When the battery sensor is active the Arlo Control Panel jumps between disarmed and unknown every couple of minutes and so. When I disable the battery sensor the control panel works great!
Copied from the logbook
17:04 Arlo changed to disarmed
17:03 Arlo changed to unknown
17:01 Arlo changed to disarmed
17:00 Arlo changed to unknown
16:57 Arlo changed to disarmed
16:55 Arlo changed to unknown
16:52 Arlo changed to disarmed
16:50 Arlo changed to unknown
16:49 Arlo changed to disarmed
16:43 Arlo changed to unknown
16:41 Arlo changed to disarmed
16:40 Arlo changed to unknown
However, I cant get the battery sensor to work in any way, the result is unknown
@Nicxe I have both of them enabled and I get nothing (just unknown), I haven't tried them separately though.
I have another problem since the last update. I have two cameras, but i only recieve a camera identity for one of the cameras. However, i get all the sensors correctly for both cameras, except the battery level
Just an update with some errors:
I'm receiving this on startup:
2017-10-23 16:55:45 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.arlo
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(self._args, *self._kwargs)
File "/usr/lib/python3.6/site-packages/pyarlo/base_station.py", line 45, in thread_function
for event in (self.__sseclient).events():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 58, in events
for chunk in self._read():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 48, in _read
for chunk in self._event_source:
TypeError: 'NoneType' object is not iterable
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(self._args, *self._kwargs)
File "/usr/lib/python3.6/site-packages/pyarlo/base_station.py", line 45, in thread_function
for event in (self.__sseclient).events():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 58, in events
for chunk in self._read():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 48, in _read
for chunk in self._event_source:
TypeError: 'NoneType' object is not iterable2017-10-23 16:56:58 WARNING (MainThread) [homeassistant.helpers.entity] Update of alarm_control_panel.arlo_home_hub is taking over 10 seconds
Exception in thread Thread-10:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(self._args, *self._kwargs)
File "/usr/lib/python3.6/site-packages/pyarlo/base_station.py", line 45, in thread_function
for event in (self.__sseclient).events():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 58, in events
for chunk in self._read():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 48, in _read
for chunk in self._event_source:
TypeError: 'NoneType' object is not iterable
Exception in thread Thread-11:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(self._args, *self._kwargs)
File "/usr/lib/python3.6/site-packages/pyarlo/base_station.py", line 45, in thread_function
for event in (self.__sseclient).events():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 58, in events
for chunk in self._read():
File "/usr/lib/python3.6/site-packages/sseclient/__init__.py", line 48, in _read
for chunk in self._event_source:
TypeError: 'NoneType' object is not iterable
I'm also getting these every few minutes:
017-10-23 16:57:19 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Updating arlo alarm_control_panel took longer than the scheduled update interval 0:00:30
2017-10-23 16:57:37 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.battery_level_front_outside_camera is taking over 10 seconds
So there's obviously something wrong here.
I had the full camera/sensor setup as well but was receiving the never-ending 'NoneType' error even after the update to 0.56. I de-configured the camera and sensor and now just have the alarm_control_panel. I'm seeing the same thing with the arlo alarm_control_panel over and over...
2017-10-22 18:07:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of alarm_control_panel.living_room is taking over 10 seconds
2017-10-22 18:08:01 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Updating arlo alarm_control_panel took longer than the scheduled update interval 0:00:30
The WARNING for the alarm panel doesn't seem to begin until I make a change to the state - i.e. alarm_arm_away.
I see there is a possible fix (again) for the NoneType error - https://github.com/home-assistant/home-assistant/pull/9892 - that has not been released yet. However, I'm not seeing anything on the alarm_control_panel warning.
Hi @vickyg3 - not sure if you are aware so FYI on this thread. I see you made the additions for the alarm_control_panel with https://github.com/home-assistant/home-assistant/pull/9711 so wondering if you might have some input. The two warnings below repeat every minute. They do not seem to begin for me until a state change is requested - e.g. alarm_arm_away. The change appears to be successful but the warning repeats and future state changes are not successful. Status of entity states 'Unknown'
2017-10-22 18:07:40 WARNING (MainThread) [homeassistant.helpers.entity] Update of alarm_control_panel.living_room is taking over 10 seconds
2017-10-22 18:08:01 WARNING (MainThread) [homeassistant.components.alarm_control_panel] Updating arlo alarm_control_panel took longer than the scheduled update interval 0:00:30
I just wanted to update this with the latest HASS release, still getting an error and now the camera isn't even loading, here's the error from startup:
2017-10-24 22:57:07 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/usr/lib/python3.6/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.6/asyncio/futures.py", line 331, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
future.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/usr/lib/python3.6/site-packages/pyarlo/camera.py", line 135, in get_battery_level
return base.get_camera_battery_level[self.device_id]
I'm not seeing that https://github.com/home-assistant/home-assistant/pull/9892 was included in either 0.56.1 or .2 so I'm not surprised you're still seeing issues. I updated as well and it doesn't appear that anything Arlo was fixed.
@djmcp Sure, I just got a different response and error after the update so I updated my log just in case it's useful. Hoping this gets fixed as I'd love to do some battery automation with Arlo, also having a automation for setting the mode would be cool and I like being able to view the cameras along with everything else, all in all, it's a pretty cool component.
I get the battery error on my Arlo Q Plus that do not have any battery. Also have same issue that camera/image is not working anymore. Was working without issues 3-4 HA updates ago. Don't remember exactly when the problem started.
Arming and disarming Arlo has stopped working in the latest release as well. (will create separate issue if not fixed in the next release)
Arming and disarming works perfectly for me, both by using camera.enable_motion_detection and by the new Arlo Control Panel component
Manual arming and disarming does work for me, however, if you are going to do any automation, it isn't going to work when stuff like this is happening:

That only happens to me when I have the Arlo Sensor for battery activated. When I disable the battery sensors I don't get the issue that it pending to unknown.
I have automations that works great with arming and disarming the Arlo control panel.
The sensor that it the problem for me is the battery sensor, it will brake up even more component in the Arlo ecosystem so I disabled it for now.
Looked into it quickly, and I'm using camera.enable_motion_detection, which has worked fine for a long time. Now however, the cameras don't even load, so there's nothing under the camera. domain. That explains why the automation can't arm the alarm as well, since it can't find any cameras.
camera:
- platform: arlo
ffmpeg_arguments: '-pred 1 -q:v 2'
Tried disabling the battery sensor, but still getting the camera traceback issue.
2017-10-30 10:38:50 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/usr/src/app/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/usr/local/lib/python3.6/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
I'll investigate further this evening.
I never had the problem that the cameras don't load, are on HASS .56.2? I know there was some issue on .55 so I skipped that version.
I am seeing the same as joch on .56.2.
I replaced arming using the camera.enable_motion_detection method with using the Arlo alarm_control_panel in https://github.com/joch/home-assistant-config/commit/aa5aeafddd2e50c6123c5728601660f02c0b6857, which works fine. Arming and disarming works as expected.
Still can't see the Arlo cameras at all, and I'm unsure how to debug it further. The only issue in the log file is the traceback from my previous post, one for each camera.
I'm not having success with alarm_control_panel arming to a home state or from a home state. I logged https://github.com/home-assistant/home-assistant/issues/10232 to see if someone can track down the problem. If anyone else is having these issues, please feel free to comment over there.
I just commented out the battery sensor, and although it is working better, I still get the occasional "unknown" status, which makes it unusable with automation, especially when using notifications.

Just thought I'd update this with that.
I'm also getting the battery level errors on my cameras in 0.56.2 and none of my arlo cameras are available upon startup.
2017-11-01 21:17:03 WARNING (MainThread) [homeassistant.components.camera] Setup of platform arlo is taking over 10 seconds.
2017-11-01 21:17:07 ERROR (MainThread) [homeassistant.components.camera] Error on device update!
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 216, in async_add_entity
yield from entity.async_device_update(warning=False)
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update
yield from self.hass.async_add_job(self.update)
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 332, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup
future.result()
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/asyncio/futures.py", line 245, in result
raise self._exception
File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
File "/Users/broox/.homeassistant/deps/lib/python/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
$ pip3 show homeassistant
Name: homeassistant
Version: 0.56.2
This has been addressed by https://github.com/home-assistant/home-assistant/pull/9892
This has been released in version 0.58. Issue may be closed.
Most helpful comment
This has been addressed by https://github.com/home-assistant/home-assistant/pull/9892