Arlo: replacement pyarlo module

In saying that I am noticing more battery drain than normal, but certainly nothing like last week from full charge to literally nothing overnight.

Any known issues with the aarlo.camera_start_recording service? Getting the following errors all of a sudden. Using the latest beta, so it may be a beta issue, but nothing in breaking changes.

2021-01-03 14:37:15 WARNING (SyncWorker_2) [pyaarlo] error in response={‘data’: {‘error’: ‘5011’, ‘message’: ‘The device failed to connect. Please try again.’, ‘reason’: ‘Camera did not stream’}, ‘success’: False}
2021-01-03 14:37:15 WARNING (SyncWorker_2) [custom_components.aarlo.camera] failed to start recording for Alfresco
2021-01-03 14:38:35 WARNING (SyncWorker_31) [pyaarlo] error in response={‘data’: {‘error’: ‘5011’, ‘message’: ‘The device failed to connect. Please try again.’, ‘reason’: ‘Camera did not stream’}, ‘success’: False}
2021-01-03 14:38:35 WARNING (SyncWorker_31) [custom_components.aarlo.camera] failed to start recording for Alfresco
2021-01-03 14:42:29 WARNING (SyncWorker_36) [pyaarlo] error in response={‘data’: {‘error’: ‘5011’, ‘message’: ‘The device failed to connect. Please try again.’, ‘reason’: ‘Camera did not stream’}, ‘success’: False}
2021-01-03 14:42:29 WARNING (SyncWorker_36) [custom_components.aarlo.camera] failed to start recording for Driveway

I’ll take a look but that 5011 error is coming from Arlo.

Does the web interface work?

edit: There also might be some streaming issues going on - the whole switch over from rtsps to mpeg-dash was already giving me some headaches. I’m going to look and see if I can remove the stream: component from these interactions, or pass in options to make it work.

Thanks, real hit and miss lately wether it works or not - spoke too soon about the battery drain issue… 100% to 7% overnight. Not sure if the readings are accurate as it will still run for a few days regardless.

yes the web interface is/was working fine.

Bummer on the battery, did you change anything?

For the recording, what is your user agent set to?

No nothing has been changed on my end. It seems like the battery is not drained but the indicator appears to be a false reading. Battery levels have not changed.

User agent setting? Do you mean what privileges they are set to on the arlo app?

battery level

Just to clarify, aarlo is giving you the wrong value? Where did you check for the real battery level? And if it wasn’t the my.arlo.com web page, can you look on there?

user agent

It’s a configuration settings. See here. If you use linux you can enable direct streaming from Arlo. Might be worth while changing it and trying again.

No, the aarlo CC is reflecting the battery levels on the arlo website correctly. Just weird how they are draining so quickly and then sit there at very low battery level for a few days and don’t continue to drain completely or become unavailable. So from 100% to 7% overnight and stay like that for a few days. Weird. After that they become unavailable due to battery levels.

Thanks Steve,

The streaming/ recording issues that appeared for whatever reason have been resolved. Thanks for your help regarding this.

Hey just wondering if you have any control over the snapshot resolution or quality? I’m using some other python scripts but want to move over to this, but the snapshot to file seems to be lower quality? (~640x360 vs ~1920 x 1080 for the same camera)

Ps, thanks so much for your work on this, and glance - epic

Update : Seems that the snapshots resolution varies on the same camera? I’ve been taking hourly snapshots to file, and i get 640x360 on some, and 1920x1080 on others. Wondering if maybe the stream quality is reduced at the time of snapshot?

Hello,
does anyone know how to set Arlo mode to “Geofencing” through Aarlo module (like this is a mode possible in the original Arlo app)?

Thanks, Ralf

How do we determine current mode? e.g. Armed / Away / Home/ Geofencing / Schedule etc

Hi, did you solve the battery drain problem? I’m still try to find a solution.
Thanks in advance

It resolved itself somehow, sorry that is not much help for you.

Is anyone else having issues with the request snapshot not creating new ones?

Previously the two switches that I created in the config file would, if pressed, create a snapshot and then turn off.
Now although they turn off none of the images update either in HA or Arlo.

This is on Arlo Pro running v0.7.0.5 aarlo version

Hi, all

Anyone else having issues with the servive alarm_control_panel.alarm_arm_away not working with Aarlo?

If I try to reinstall the component it works first try, but after some time it just doesn’t arm.

Here are the automations I’m running, very straightforward: https://hatebin.com/wukfpignug

@Carlos_Roldao A couple of things:

  • Does it work if you try to do it manually?
  • What is your config? It’s quite possible something has timed out.
  • Can you turn on some debug? It’s the only way to see what is happening. See here for the full “how-to” but you can get away with these for now:
logger:
  default: info
  logs:
    custom_components.aarlo: debug
    custom_components.aarlo.alarm_control_panel: debug
    pyaarlo: debug

With this enabled we’ll be able to see at what place the set is being rejected.

@plainmad: What’s your snapshot config? Are you trying to take streaming snapshots or noon-streaming ones?

@mistere I don’t have any control over it but it does depend on a few different factors. See here for a list I made a while back.