hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

Arlo Security system isn't showing up in HA

Open xirtamoen opened this issue 2 years ago • 81 comments

I have Arlo integrated in home assistant and recently got the security system for Christmas. It came with window/door sensors and a security hub with a keypad. Has anyone figured out how to integrate this into Home assistant?

xirtamoen avatar Jan 16 '23 23:01 xirtamoen

Are we talking this device?

https://www.arlo.com/en-us/security-system/SS1201-100NAS.html

Because we don't (currently) support it. Does it appear when you log into the web interface?

twrecked avatar Jan 17 '23 12:01 twrecked

Yes, that is the device I am speaking of. Is this something that will be supported soon?

xirtamoen avatar Jan 17 '23 21:01 xirtamoen

First question, have you enabled alarm support?

If you have then we need to add it, and 'when' depends on:

  • how good you are with Chrome or Python or
  • if you don't mind granting me access to the device for a day or two

I don't have the device and everything we support is reverse engineered. The easiest way to start might be to send me some debug, we don't support the device but Arlo should be letting us know it's there.

Can you turn on debugging, the instructions are here. You will need to enable verbose debug as well - the instructions are here. With those turned on restart you system.

There will be a lot of stuff written into homeassistant.log, you can copy out the important pieces, they start with pyaarlo or send me the whole thing. There are instructions here on how to encrypt it so only I can see it.

twrecked avatar Jan 19 '23 01:01 twrecked

I am not the greatest in Python but can grant you access to the device. I did setup debugging and verbose debug but when I encrypt it the window isn't able to scroll to the very beginning. Is there a way for me to output it to a file? Thanks.

xirtamoen avatar Jan 23 '23 00:01 xirtamoen

When you say scroll to the beginning do you mean this website https://pyaarlo-tfa.appspot.com or do you mean the logs from Home Assistant.

If you want to share the devices I should only need half a day or so to get what I need. If you want (or can) share a window sensor, door sensor and the alarm that would be great. My email is [email protected]

I'm on Eastern US time. So GMT -5 hours.

twrecked avatar Jan 24 '23 04:01 twrecked

I am referring to the logs from Home Assistant.

I have shared out the securtiy hub along with a sensor that came with the package.

Thanks!

xirtamoen avatar Jan 24 '23 23:01 xirtamoen

I got the email but I the registration hung and the devices didn't appear. I'm sorry, can you send it again?

twrecked avatar Jan 25 '23 04:01 twrecked

I just sent another invite. Let me know if this one goes through and you can see the devices. Thanks!

xirtamoen avatar Jan 25 '23 04:01 xirtamoen

Do the devices appear on the Arlo web site: https://my.arlo.com/#/cameras

twrecked avatar Jan 25 '23 04:01 twrecked

This request went through but I can't see the devices in the web interface. I'm charging up a phone to check to see if they appear in the app. It maybe I need to upgrade my account to the new v4 interface.

Also, can you make sure my invite was accepted at your end?

It's getting late here so I'll continue to look in the morning.

twrecked avatar Jan 25 '23 04:01 twrecked

It does show that you have accepted the invite. You actually have to go to locations and choose the one that has my devices. Arlo has made this a little difficult with the new app.

xirtamoen avatar Jan 25 '23 04:01 xirtamoen

It's almost working... I just got an update from the an open/close sensor. But the app is still showing the wrong interface and won't let me upgrade to access the locations stuff.

I'm going to bring in some changes that @JeffSteinbok brought in and then I'll see about upgrading my main account, hopefully that will have a knock on effect.

twrecked avatar Jan 25 '23 18:01 twrecked

Sounds good. Note that I've been running with my fork on my HA instance since I published it and it's working flawlessly.

Note you cannnot share devices across versions.

JeffSteinbok avatar Jan 25 '23 18:01 JeffSteinbok

Thanks for the update! Let me know if you need anything further from me to assist.

xirtamoen avatar Jan 25 '23 19:01 xirtamoen

Hi do you have any further updates? Do you still need access? Thanks again!

xirtamoen avatar Jan 27 '23 03:01 xirtamoen

I've not had any luck getting the cameras to appear. You can remove access but I might ask for them again in a day or two.

Thanks to @JeffSteinbok I've just created a new release with v4 API support, can you download that and try. See if any pieces you're expecting appear, your locations should appear.

In the meantime, now v4 API is in I'm going to work on upgrading my Arlo systems here. None of my test accounts have worked so far but I think it might be to with an old base station or being in Canada or both. I'll let you know when I succeed so you can share the devices again and then we should be able to get them working.

twrecked avatar Jan 27 '23 03:01 twrecked

Could very well be Canada. I was testing this too when I was overseas this Christmas and an account I made there was v3. When I VPNed via the USA, I got a v4 account. It could be that the relevant products aren't sold in Canada yet? If you want, I can create you a test account from here and send you the info, should trigger the v4 flow.

Also, again sharing from v4 to a v3 user doesn't work. Just won't show up.

JeffSteinbok avatar Jan 27 '23 06:01 JeffSteinbok

@xirtamoen What are you running Home Assistant on? Docker, rapsberry pi?

twrecked avatar Jan 27 '23 17:01 twrecked

@twrecked I am running home assistant on docker.

xirtamoen avatar Jan 27 '23 19:01 xirtamoen

We can get the logs encrypted another way. The following will get you inside the docker container and run a command. Change YOUR_DOCKER_NAME as necessary.

docker exec -it YOUR_DOCKER_NAME bash
cd /config/
cat home-assistant.log | curl -s -F 'plain_text_file=@-;filename=clear.txt' https://pyaarlo-tfa.appspot.com/encrypt > home-assistant.log.enc
exit

You should end up with a file called homeassistant.log.enc that starts something like this:

<!DOCTYPE html>                                                                                                                                  
<html lang="en">                                                                                                                                 
<head>                                                                                                                                           
    <link rel="preconnect" href="https://fonts.googleapis.com">                                                                                  
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>                                                                         
    <link href="https://fonts.googleapis.com/css2?family=Roboto&family=Roboto+Mono&display=swap" rel="stylesheet">                               
    <link rel="stylesheet" href="/static/styles.css">                                                                                            
    <meta charset="UTF-8">                                                                                                                       
    <title>Pyaarlo TFA Helper</title>                                                                                                            
</head>                                                                                                                                          

<body>
    <div style="margin-left: 5%; margin-right: 5%;">
         

<h2>Pyaarlo Output Encryption</h2>

Encrypted logs:

<pre class="language-enc"><code>-----BEGIN PYAARLO DUMP-----
gAN9cQAoWAEAAABrcQFCAAEAAG+0LxkuREMkh16LMa9ENklmhTsYRxpplOMcLd5YyQFssH30hCwa
grp9PQqLrzjhmX7a7uNv++muS83KOdWlWiS/9T3Hs8XFPtjS4O09RGxVsYlj5St0Elh+HnEaDy2L

This is the encrypted logs. Can you attach it to this bug report by dragging and dropping it into this conversation?

twrecked avatar Jan 27 '23 21:01 twrecked

Thanks again!

xirtamoen avatar Jan 28 '23 02:01 xirtamoen

Got it. Thanks. I'll take a look.

twrecked avatar Jan 28 '23 03:01 twrecked

@JeffSteinbok Are you running with just the cameras, or do you have the Arlo Security center and door/window sensors as well?

xirtamoen avatar Jan 29 '23 14:01 xirtamoen

Just cameras and a base station. All my cameras are paired to the single base.

JeffSteinbok avatar Jan 29 '23 18:01 JeffSteinbok

@xirtamoen I think you're the only one using the security center, certainly you're the only one using it with this component.

From you logs I can see the security device, it appears as a new device type hub. I think just adding that check to the code when creating base stations might be enough to get it working. I'll create a new release later.

I can't see the sensors though. Can you send me a debug log but this time arm the system and trip the sensors? I want to see if any messages come in.

@JeffSteinbok Can you create a test account for me? If we get that working then @xirtamoen would you be willing to share temporarily your devices to that account? Hopefully this will let us know what we can do with the new devices in this component.

twrecked avatar Jan 29 '23 19:01 twrecked

Sure. Give me an email address I can bind it to? Will need to verify it and all that jazz. You can do the “+” trick with a gmail account.

JeffSteinbok avatar Jan 29 '23 19:01 JeffSteinbok

home-assistant.log (1).zip @twrecked I still have it shared to your gmail account. Let me know if I need to reshare it to the account you provided earlier or a different one. I have included the new encrypted log after arming the system and triggering the sensor. Thanks!

xirtamoen avatar Jan 29 '23 21:01 xirtamoen

@twrecked / @JeffSteinbok Does anyone have the arlo doorbell? I noticed I don't see anything that will allow me to silence it during certain times of the day. Is that something that has been tested/worked on?

xirtamoen avatar Jan 29 '23 22:01 xirtamoen

@xirtamoen I got an account to upgrade, I set up a VPN and it worked. It wiped out all my camera from my non-upgraded account - I believe @JeffSteinbok mentioned this would happen - so now I can test the code at my end.

I'll leave my connection running. Can you try changing the mode and tripping the sensors again? I should get notifications here. With this information I should be able to get the devices working in a day or two.

@JeffSteinbok I don't need that account at the moment, but thanks for the offer.

twrecked avatar Jan 29 '23 23:01 twrecked