Arlo: replacement pyarlo module

Logs say this:

2020-10-30 16:46:00 ERROR (SyncWorker_12) [pyaarlo] 2fa: no secondary choices available
2020-10-30 16:46:00 ERROR (SyncWorker_12) [custom_components.aarlo] Unable to connect to Arlo: 2fa: no secondary choices available
2020-10-30 16:46:00 ERROR (MainThread) [homeassistant.setup] Setup failed for aarlo: Integration failed to initialize.
2020-10-30 16:46:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform aarlo.alarm_control_panel: Unable to set up component.
2020-10-30 16:46:00 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform aarlo.binary_sensor: Unable to set up component.

What is secondary choices?

Edit: so after 5 reboots it decided to start working again…

Works again, took 5 reboots, but now it works without any issues again.

@ssilence Just a heads up… I was running 116.4 and seeing a notification from aarlo “error: Token Validation Failed”

(On a side note I’m still not sure how to fix this error)

But this error prevented Home Assistant from showing an update as available.

I uninstalled the integration from HACS, restarted and the update was immediately available.

No idea why an integration would block the discoverabiolity of the update???

no secondary choices means Arlo didn’t provide us with any 2fa authentication methods when we asked for them.

Do you have any of the logs before the error? If it happens again turn on verbose debug and we can see what Arlo is returning to us.

Hi, this is going to be my first ever integration with my fresh home assistant install, ive gone as far as installing HACS and the AARLO integrations, but im sort of lost as to where to go from here… does this also need the Arlo integration to get going?

No. This is a replacement for the Arlo integration. To get going configure it the same as arlo but use aarlo instead.

Thanks for the reply Steve, Im completely new to this… I’ve figured out that I need to add the configuration settings into my configuration.yaml but I am really struggling! are the any example configurations I can pillage and make my own? I’m trying to replace using the arlo ios app with the home assistant app with the same sort of functionality of getting notifications, live streaming and viewing recorded videos? later down the track once i’ve figured this out hoping to pipe it into deepstack too

Ah… found it was because I didn’t have spaces before my child objects in the configuration file, doh!
Have it up and running in the lovelace dashboard now woohoo… still have some configuration to go however… how to setup live view? currently can only access last recording.

I know this was asked a couple of times and reading through day 1 of this long thread until now, could not find a conclusive answer.

Is there a way to play the live stream immediately? The use-case I have is a Lovelace that is headless on a TV using CATT to send to the Chromecast. It has other RSTP cameras in a grid mode and is used as a security camera monitor. All feeds live.

@seanharsh sorry for the late reply…

But no, not right now, I think it’s a relatively small change to make to the lovelace card. I’ll add it to the todo list.

1 Like

Awesome! I would love to see your Lovelace layout become more standard with some of the other video services I use (WYZE/Nest), but this will be great and check off the last thing on my grid layout. Thanks for the hard work!

Hi all,

Just wondering if any one is excessive battery drain on their cameras? All of a sudden it appears to be happening.

Yes. Some people are reporting it here.

I’m at a loss to explain why at the moment.

What cameras do you have?

Arlo Pros (2nd Gen)
Thanks for the confirmation

I have a problem setting up my Arlo Essential Spotlight (VMC2030) camera (without a base station). And i don’t see what i’m doing wrong. Suggestions are welcome.

My config:

#To alow video viewing camera
ffmpeg:

#======================#
#     Arlo Camera      #
#======================#
arlo:
  username: [email protected]
  password: xxxxxxxx
alarm_control_panel:
  - platform: arlo 
camera:
  - platform: arlo
    ffmpeg_arguments: '-pred 1 -q:v 2'
sensor:
  - platform: arlo

And the error:

Logger: homeassistant.setup
Source: components/arlo/__init__.py:57
First occurred: 11:27:53 (1 occurrences)
Last logged: 11:27:53

Error during setup of component arlo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 213, in _async_setup_component
    result = await task
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/arlo/__init__.py", line 57, in setup
    arlo_base_station = next((station for station in arlo.base_stations), None)
  File "/usr/local/lib/python3.8/site-packages/pyarlo/__init__.py", line 172, in base_stations
    return self.devices.get('base_station')
  File "/usr/local/lib/python3.8/site-packages/pyarlo/__init__.py", line 187, in devices
    for device in data.get('data'):
AttributeError: 'NoneType' object has no attribute 'get'
1 Like

I had this same error.

I disabled 2FA for my dedicated HA arlo account and the error was resolved.

@sn33ky This thread is about aarlo a replacement for arlo. Assuming that’s what you want, and you’ve installed aarlo, you need to use aarlo in the configuration file.

1 Like

@grantc
I have those and I’m not seeing the drain. Do you have 2FA enabled?

Hi Steve,

Not sure what happened but it has corrected itself - so cant provide anymore information for now. 2FA is not enabled.

Thanks for the update. I’m not sure the problem is with my code so any and all input appreciated!