Arlo: replacement pyarlo module

I found one issue but it doesn’t quite line up with what you are seeing. I’ll push a fix tomorrow.

Can you tell me what user_agent you are using?

@sherrell

user_agent: linux

Thanks Steve, that latest update seems to have fixed the issue I was having.

Still getting these errors though:

2021-12-22 07:53:47 WARNING (recorder_save_worker) [libav.mov,mp4,m4a,3gp,3g2,mj2] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (5000000) options
2021-12-22 07:55:38 WARNING (recorder_save_worker) [libav.mov,mp4,m4a,3gp,3g2,mj2] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (5000000) options
2021-12-22 07:59:12 ERROR (MainThread) [frontend.js.latest.202112200] https://toowong-hass.duckdns.org/lovelace/0:0:0 Uncaught 
2021-12-22 07:59:34 WARNING (recorder_save_worker) [libav.mov,mp4,m4a,3gp,3g2,mj2] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (5000000) options
2021-12-22 08:11:16 WARNING (recorder_save_worker) [libav.mov,mp4,m4a,3gp,3g2,mj2] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (10000000) and 'probesize' (5000000) options

@sherrell,

This started popping up constantly starting from 2 days ago. The odd thing is that it works (at least via Aarlo Glance its status is “Idle”) after reboot but failed (status is “Unavailable”) as soon as I click the video to start stream. I could start one recording playback but then it hangs right after too.

I have tried the following:

  • reinstalling the components, reboot host, reboot supervisor etc to no avail.
  • changed user_agent from Android (which works for me after previous troubleshooting) to Linux but failed as it did not pass the CloudFlare check.
  • Verify credential by login to Arlo Web manually using the same credentials the aarlo is using in HA
  • Verify 2fa was setup correctly - email received and read.

Running Debian 11 Bullseye, core-2021.12.5, supervisor-2021.12.2, aarlo v0.7.2b6.1, lovelace-hass-arlo v0.2.0b5 and Arlo Pro 2 cams.

2021-12-28 11:25:59 ERROR (ArloBackgroundWorker) [pyaarlo] failed to read modes (v2)
2021-12-28 11:35:59 ERROR (ArloBackgroundWorker) [pyaarlo] failed to read modes (v2)
2021-12-28 11:37:01 WARNING (ArloBackgroundWorker) [pyaarlo] No devices returned from /hmsweb/v2/users/devices?t=1640651821045

Not sure the above helps with troubleshooting, but i suspect there might be a code error somewhere?

Regards

Try the newest release. There was a timeout issue causing problems.

It works! :slight_smile:

Hello,

I’m trying to get streaming working with Tileboard. Does anyone have experience with this? Is there an easy way to get the stream URL? I see there is support for aarlo_stream_url websocket request but I’m not sure how to structure my request to return the url.

Thanks!

Edit: I was using a depreciated tile in tile board. I have streaming working now using the stream HA component.

Is everyone on this thread have arlo working??

working fine for me

Ok, great, any chance you can share your yaml config?
What 2fa are you using?

Im getting log error
Error: authentication failed
If error persists you might need to change config and restart.

aarlo:
  username: !secret arlo_hass
  password: !secret arlo_pass
  refresh_devices_every: 2
  stream_timeout: 120
  last_format: '%H:%M - %d %b, %Y'
  packet_dump: True
  db_motion_time: 30
  db_ding_time: 10
  recent_time: 10
  conf_dir: /config/.aarlo
  no_media_upload: True
  mode_api: auto

This is mine as i followed Slacker Labs YT Video
A Better Home Assistant Integration for Arlo Security Cameras. - YouTube

# Aarlo
aarlo:
  host: https://my.arlo.com
  username: *****
  password: ******
  refresh_devices_every: 1
  stream_timeout: 60
  reconnect_every: 1
  save_session: false
  tfa_source: email
  tfa_type: imap.gmail.com
  tfa_username: *****gmail.com
  tfa_password: ******
  user_agent: linux

I dont use TFA and have created an additional account

I created a new account as well. I can disable 2FA in the account? I can remove everything but email?
any other suggestions??

not 100% else just remove and create a new one - I started “simple” first and obviously stayed that way …

ok… no idea what you mean by simple…i have tried you yaml. its telling me to setup 2fa… dunno how you are using this HACS version…:frowning:

looking at your config it should be different

tfa_source: imap
tfa_type: email
tfa_host: imap.host.com:1234
tfa_username: your-user-name
tfa_password: your-imap-password

maybe worth correcting and trying that - by simple I mean, no special authentication

Hey, i still dont know how you removed 2fa from the arlo app. Its now required?

maybe legacy account been using it for quite a while

I finally got it working!!!