Arlo Support (Sponsorship)

That is fantastic news! Awesome work @broox. Can’t wait to implement my pro setup once the changes are released.

Also @broox - does that updated python library provide any chance of motion detection in HASS from pro cams?

sorry, my changes just have improved support for base station mode settings. i definitely second your desire for motion detection though! maybe i’ll try to tackle that soon :slight_smile:

Gotchya - still awesome news for the modes - you da man! I’m excited to incorporate the custom modes after the changes have been released to HASS!

Team. How do you identify your ‘entity_id’ such as seen in the example below? I only have one camera added and can see everything. I just want to ensure I am using right camera name when testing on/off.

#automation.yaml

  • alias: Enable Arlo upton HA start’
    initial_state: ‘on’
    trigger:
    platform: homeassistant
    event: start
    action:
    service: camera.enable_motion_detection
    entity_id: camera.arlo_frontdoor

I see the new arlo python library was released. Is HASS able to control custom modes now (I’m not see any new states or doc on it) or are there still updates on the HASS side needed to control those modes?

That is absolutely awesome @broox How dose the code look like in the Hass config to arm a specific mode?

Hello,

I am getting an error with Arlo Cameras in Home Assistant (version hassbian 0.55.0 stretch) on Raspi 3. Below is the error -

2017-10-09 18:32:01 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py”, line 381, in async_process_entity
new_entity, self, update_before_add=update_before_add
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py”, line 238, in async_add_entity
yield from entity.async_update_ha_state()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py”, line 237, in async_update_ha_state
device_attr = self.device_state_attributes
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/camera/arlo.py”, line 104, in device_state_attributes
self._camera.get_battery_level,
File “/srv/homeassistant/lib/python3.5/site-packages/pyarlo/camera.py”, line 131, in get_battery_level
base = self._session.base_stations[0]
IndexError: list index out of range

I have similar setup running on Pi2 (hassbian 0.53.1 jessie) and it works fine. Not sure what’s causing this error?

Thanks!

Issues introduced in the latest release (0.55) are currently being worked on. These should be resolved for 0.55.1.

Thank you for a quick response. Is there an ETA for new release?

Same, the usual issue with lacking a base station I’m assuming?

Maybe there should be a default instance of the basestation for when one doesnt exist.

Also how does this work if there are multiple base stations attached to an account? How do you find the right one? I noticed that the camera just refers back to a single base station instance.

Home Assistant
0.55.2

I am trying to remove arlo and this error is persisting.
Now the HA hangs because of this.

Need help in removing the arlo component to make my HA work properly, until its resolved in the new release.

2017-10-19 13:49:17 ERROR (MainThread) [homeassistant.setup] Error during setup of component arlo
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
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/arlo.py”, line 38, in setup
conf = config[DOMAIN]
KeyError: ‘arlo’
2017-10-19 13:49:17 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of sensor.arlo. Setup failed for dependencies: arlo
2017-10-19 13:49:17 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform sensor.arlo: Could not setup all dependencies.

Thanks,
Abhay

I am sorry if this already have been discussed.
But I would really like a feature to activate the siren on my basestations from within HA.
Are there any documentation on the Arlo API?

Thank you - But that API is not for Netgear Arlo which this topic is about :slight_smile:

Don’t know what happend with the link, wrong link

What I have found there is no public API

this was the link I thought I posted

http://www.robertogallea.com/blog/netgear-arlo-api

Hi Stimo,

Thank you for the link - I will try to dump some of my web-traffic and see how I can trigger the siren in my base-station.

Br
Rasmus

1 Like

@jwillaz
Has there been any progress on getting the Arlo Q working again? I just picked one up today and set it up only to find an error in my log :frowning: (v58.1 HA)

Thu Nov 30 2017 23:17:32 GMT-0600 (Central Standard Time)

Error while setting up platform arlo
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 171, in 
_async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/lib/python3.4/asyncio/tasks.py", line 372, in wait_for
    return fut.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/usr/lib/python3.4/asyncio/coroutines.py", line 141, in coro
    res = func(*args, **kw)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 61, in 
async_setup_platform
    cameras.append(ArloCam(hass, camera, config))
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/camera/arlo.py", line 78, in __init__
    self._camera.base_station.refresh_rate = SCAN_INTERVAL.total_seconds()
AttributeError: 'NoneType' object has no attribute 'refresh_rate'

Does anyone know if there is work being done for adding a “triggered” state to the Arlo alarm_control_panel when the cameras detect motion?