Arlo: replacement pyarlo module

@tomcoleman

Change your backend to sse. See here.

Arlo has been changing things around a lot recently.

1 Like

Hi Collse,

How did you do that?
I can’t connect without 2FA…

1 Like

havent changed my integration really since @sherrell build this

My battery level for my cameras are starting to show something strange. The values look to be good, but every two hours it will then show an invalid value for a few minutes before returning back to the true reading. It seems to be fixed on a specific value that is different between each camera and jumping to it. See some examples below.

image
image

I had the same problem.
Doubled camera section is not allowed.

Just add both Plattform config to the same camera section, e.g.

How did you get it to work?

got anything? Arlo just stopped working

Any hints for opening the rtsps streams outside of the lovelace card? I’m trying to get the streams hooked up to an NVR, but I have so far been unable to actually open the stream outside of the HA frontend.

Here are some things I did that helped:

  1. Use the latest beta v0.7.4b18
  2. Set mqtt_host: mqtt-cluster-z1.arloxcld.com (this may break at any time)
  3. Mess around with the user_agent

But I was able to get it working from the above

I’m going to answer my own question and say I got this working with go2rtc and proxying a regular rtsp stream into motionEye

Can someone please post the steps on how to get tfa to work.
I have been struggling with for more than a month now.
Something is not getting through on the tfa side of things.
this is my arlo setup in the configuration.yaml file

aarlo:
  host: https://my.arlo.com
  username: !secret arlo_ha_user
  password: !secret arlo_ha_password
  backend: sse
  tfa_source: imap
  tfa_type: email
  tfa_host: imap.gmail.com
  tfa_username: !secret arlo_tfa_user
  tfa_password: !secret arlo_tfa_pas

Preformatted textsword
this is in my logs

No devices returned from /hmsweb/v2/users/devices?t=1695044008654
9:33:28 AM – (WARNING) Arlo Camera Support (custom integration)
body-error=JSONDecodeError
9:33:28 AM – (WARNING) Arlo Camera Support (custom integration) - message first occurred at 9:33:28 AM and shows up 2 times

Hi.

One thing to try: make sure your HA login works by using the Arlo website to view your cameras, this will also test the HA

But, it looks like you’ve logged in, we don’t read /hmsweb/v2/users/devices unless we’ve logged in so the error might be else where. Can you capture some logs for me? You can see here how to do it. Feel free to send me a direct message with them attached.

Truthfully the whole streaming piece is a bit broken on the Arlo side, at one point they broke streaming on Macs. Finding the best combination of user agent and intermediates to get this working can be, for want of a better word, interesting.

And sorry I didn’t respond earlier, I’ve been busy at work.

not sure how to attach my log, it only allows picture files, I can’t send you an email because the email address is a no-reply email address. How can I get the log file to you?

I think my problem is with “granting access” in my arlo portal. After granting access to a newly created user an email is sent to the email address setup at the time. I accepted it and in the arlo portal it shows accepted. Here is where it gets interesting, when I try to login with the credentials setup it goes to a arlo screen showing a dashboard setup then it logs me out and states “you have been logged out because you logged in another device”. I can’t get by this, I have tried re-creating the “grant access” use several time with no luck

The login followed by a quick logout indicates that account (granted access user) is logged in somewhere else. If you’ve only logged into that user with HA, then it appears to be working. You could try shutting down HA and logging into the Arlo account again and see if it kicks you out still.

squirtbrnr

Thank you for your reply…I shut down my HA server and tried logging into my arlo account using the “granted access” user and it didn’t kick me out like before. But this is the screen I get, not sure what to do with this

this is the arlo portal screen I normally get

looks like the first picture is the “new user experience” Arlo has been rolling out. The second picture is what I’m used to as well. Make sure you have granted the user access to the cameras. But you may also have to upgrade your login to the new user experience as well.

Thank you for your help
Yeah my version of arlo portal is 4.8.1_1 with a release date of Sept 15 2023.
I have deleted and re-created the “grant access” user several times. I even created a new gmail account to link to and setup the gmail tfa stuff, thinking it was that, it wasn’t. Each time I deleting the aarlo.pickle and the session.pickle, re-booted my arlo base station and then re-started HA. But that hasn’t worked so far.

my Grant Access user

I have been using the aarlo integration since it came out and never had a problem until arlo added tfa

OMG!!! All but one camera is showing up in HA again. I updating to the “new experience” on my arlo portal. I had to add a (new device) camera which I selected Pro 5S and the dialog box came up telling me I need to update to the new experience to use that camera, so I did. After that was completed I when into HA and deleted the aarlo.pickle and the session.pickle, cleared the logs in HA, rebooted the arlo base station and once that came back up I re-started HA. Now I need to find out why one camera is showing unavailable.

The aarlo intergeration has not worked in over a month and I tried many of things…

this is the error I get now for the one camera that show up unavailable

Well that was short lived, aarlo in down again, tfa showed up over night.

Re-started HA and there back, but still only 3 of 4 cameras are showing up. Anyone have any idea what might be happening? Why the aarlo integration just dropped off after working for awhile?

I got the 4th camera working by deleting it from the arlo portal and re-adding it and then re-booting the base station. Then in HA deleting the aarlo.pickle file and re-starting HA