Aarlo and 2fa

Working on getting aarlo setup but no matter what Ii try, I cant get the 2fa to work. Wondering if I’m missing something. Logs and config Config I’ve got is:

  • unable to connect to Arlo: attempt=1,sleep=15,error=authentication failed
  • unable to connect to Arlo: attempt=2,sleep=30,error=2fa startup failed
  • unable to connect to Arlo: attempt=3,sleep=60,error=authentication failed

aarlo:
host: https://my.arlo.com/
username: !secret arlo_username
password: !secret arlo_password
refresh_devices_every: 2
stream_timeout: 120
tfa_source: imap
tfa_type: email
tfa_host: ‘imap.gmail.com
tfa_username: !secret arlo_2fa_username
tfa_password: !secret arlo_2fa_password

camera:

  • platform: aarlo

#Sensors
sensor:

  • platform: aarlo
    monitored_conditions:
  • total_cameras
  • last_capture
  • recent_activity
  • captured_today
  • battery_level
  • signal_strength
  • temperature
  • humidity
  • air_quality

Curious if anyone has any thoughts?

my config looks the same and was working unit today. I restored from a back up of yesterday and still nothing. I did get a 2FA email yesterday, but I don’t know where to enter the code in HA. The Arlo Glances cars so the signal strength, battery level, etc but the image is broken link.

i can log in to the My arlo website with the same creds and everything looks great, but then it kicks me:

You have been logged out because you logged in from another device.

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/connection.py:89
Integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 12:27:10 PM (12 occurrences)
Last logged: 12:32:50 PM

* [140117938316912] Received invalid command: aarlo_library
* [140117937485184] Received invalid command: aarlo_library
* [140117712345168] Received invalid command: aarlo_library

I am facing a similar issue. 2FA notifications over push are not being sent to the conigured device

2021-11-21 15:25:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140098016537856] Received invalid command: mobile_app/push_notification_channel
2021-11-21 15:25:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140098016537856] Received invalid command: mobile_app/push_notification_channel
2021-11-21 15:25:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140098016537856] Received invalid command: mobile_app/push_notification_channel
2021-11-21 15:25:43 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140098016537856] Received invalid command: mobile_app/push_notification_channel
2021-11-21 15:25:43 WARNING (SyncWorker_0) [pyaarlo] error in new response={'meta': {'code': 400, 'error': 9233, 'message': 'Authentication is not finished yet'}}
2021-11-21 15:25:43 WARNING (SyncWorker_0) [pyaarlo] 2fa finishAuth - tries 1
2021-11-21 15:25:43 INFO (MainThread) [homeassistant.setup] Setup of domain input_datetime took 12.3 seconds
2021-11-21 15:25:43 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for melcloud integration not ready yet; Retrying in background
2021-11-21 15:25:43 INFO (MainThread) [homeassistant.setup] Setup of domain zeroconf took 0.5 seconds
2021-11-21 15:25:43 INFO (Thread-10) [roombapy.roomba] Connecting to Roomba roomba.home.creative-innovation.net
2021-11-21 15:25:43 INFO (MainThread) [homeassistant.setup] Setup of domain camera took 1.7 seconds
2021-11-21 15:25:44 INFO (MainThread) [homeassistant.components.camera] Setting up camera.mjpeg
2021-11-21 15:25:44 ERROR (MainThread) [homeassistant.components.binary_sensor] The octoprint platform for the binary_sensor integration does not support platform setup. Please remove it from your config.
2021-11-21 15:25:44 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.octoprint
2021-11-21 15:25:44 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.octoprint
2021-11-21 15:25:44 ERROR (MainThread) [homeassistant.components.sensor] alpha_vantage: Error on device update!

hi guys, any resolutions for this one? i seem to be getting the same 2fa issues, thanks

Same here… Unable to get the integration to work anymore at all…

Someone already got an answer to this issue ? Having the same problems

I have the same issue as well, I had the push setup working before but it stopped working a while back and I could never get the gmail app password to work either.

any progress on this

Im stuck on this as well

Did anyone get any solution on this?

I’m having the same issue. Has anyone been able to resolve this yet?

No I have a solution to the problem.

Put this into config and make an app password i.e in google mail.

aarlo:
  username: !secret arlo_username
  password: !secret arlo_password
  tfa_host: imap.gmail.com
  tfa_username: !secret aarlogmail
  tfa_password: !secret aarlogmailpassword
  hide_deprecated_services: true

alarm_control_panel:
  - platform: aarlo
    away_mode_name: armed
    home_mode_name: home
    night_mode_name: night
    trigger_time: 30
    alarm_volume: 1

camera:
  - platform: aarlo

binary_sensor:
  - platform: aarlo
    monitored_conditions:
      - motion
      - sound
      - connectivity

sensor:
  - platform: aarlo
    monitored_conditions:
      - total_cameras
      - last_capture
      - recent_activity
      - captured_today
      - battery_level
      - signal_strength

      
media_player:
  - platform: aarlo

light:
  - platform: aarlo

switch:
  - platform: aarlo
    snapshot: true
1 Like

I was messing with this for a few days, but this worked for me. Thanks

I had this working fine after setting the app password in google but now it seems to have mysteriously stopped working. Anyone else have this problem, not sure it it relates to the new Home Assistant OS updates recently?

Here is my current config:

# Arlo
aarlo:
  host: https://my.arlo.com
  username: [email protected]
  password: myemailpassword
  db_motion_time: 30
  db_ding_time: 10
  recent_time: 10
  last_format: "%d-%m %H:%M"
  refresh_devices_every: 2
  verbose_debug: True
  tfa_source: imap
  tfa_type: email
  tfa_host: imap.gmail.com
  tfa_username: [email protected]
  tfa_password: my_tfa_google_app_password

Anyone get this working ?

I have switch the 2fa to push on my phone and it works.

for me also it stopped working for a week.

“2fa startup failed”

is it working again

imap 2fa did not work for me.
Switched it to mobile push like comoundbow83 suggested works me.

how do you change config file for push notification. At my arlo stting default is psuh notification bur when i restart HA it doesnt ask anything