Unable to setup Arlo in Hassio

I’m unable to get Arlo configured on Hassio. Per the docs, I setup a dedicated user.

title: Invalid config
message: The following components and platforms could not be set up:

 - [arlo](https://home-assistant.io/components/arlo/)
 - arlo.sensor

Please check your config.

In configuration.yaml, it looks like this:

arlo:
  username: "[email protected]"
  password: "password"

sensor:
  - platform: arlo

I increased to Debug, and all I see is:

2019-08-05 16:37:29 INFO (MainThread) [homeassistant.setup] Setup of domain arlo took 1.8 seconds.
2019-08-05 16:37:29 ERROR (MainThread) [homeassistant.setup] Setup failed for arlo: Component failed to initialize.
2019-08-05 16:39:15 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform arlo.sensor: Unable to set up component.

Any other ideas or things to try?

I highly recommend using the aarlo custom component rather than the built-in arlo component. Ideally, aarlo will replace arlo at some point.

Thanks for the pointers, but I’m still out of luck.

I get the following error:

2019-08-17 18:11:45 ERROR (MainThread) [homeassistant.setup] Error during setup of component aarlo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 172, in _async_setup_component
    component.setup, hass, processed_config  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/aarlo/__init__.py", line 128, in setup
    http_connections=http_connections, http_max_size=http_max_size)
  File "/config/custom_components/aarlo/pyaarlo/__init__.py", line 65, in __init__
    self._parse_devices()
  File "/config/custom_components/aarlo/pyaarlo/__init__.py", line 107, in _parse_devices
    for device in self._devices:
TypeError: 'NoneType' object is not iterable

I tried setting the log to debug, but nothing useful:

logger:
  default: info
  logs:
    pyaarlo: debug

I am using this configuration as a base:

aarlo:
  username: [email protected]
  password: actualpasswordhere
  packet_dump: True
  db_motion_time: 30
  db_ding_time: 10
  recent_time: 10
  last_format: '%m-%d %H:%M'
  conf_dir: /config/.aarlo
  no_media_upload: True
  mode_api: auto
  refresh_devices_every: 0
  http_connections: 5
  http_max_size: 10

alarm_control_panel:
  - platform: aarlo
    home_mode_name: home
    away_mode_name: armed
    trigger_time: 30
    alarm_volume: 8

Any ideas on where to go from here?

This turned out to be a parsing issue from the configuration.yaml with username/password. All set here.

Does anyone know how to make @twrecked’s aarlo work with their new doorbell camera?

Hey, I was wondering how specifically you fixed this issue?