Arlo Camera Integration

Thanks! I'll definitely have to look into trying this out.

Pity that Arlo seems intent on crippling it, though :frowning:

1 Like

I successfully migrated my Flask app to the more-stable NGINX web server by following the directions here:

I substituted the article directory "flasktest" with my directory "webapp", and I substituted my "app.py" for the author's "testSite1.py".

I contacted the developer of the PyArlo library, who unfortunately is no longer maintaining it. He did refer me to this Home Assistant project which uses the PyArlo library:


He hopes that the Home Assistant folks may be able update the PyArlo library to deal with Arlo's anticipated 2-factor authentication.

1 Like

Looks like Arlo made recent changes to their API that seem to have broken my Hubitat-Arlo integration using the the PyArlo library ;-(

Since the developers of Home Assistant appear to be keeping up-to-date with Arlo's API, I hope there may be a way to adapt their code to work with Hubitat sometime in the future.

I was able to get my Arlo-Hubitat integration working again (for now) by editing the PyArlo file const.py line API_URL from "https://arlo.netgear.com/hmsweb" to "https://my.arlo.com/hmsweb" and removing the removing the "v2" from the end of the LOGIN_ENDPOINT.

2 Likes

Anyone looked at GitHub - twrecked/pyaarlo: Asynchronous Arlo Component for Python - appears to support 2FA too.

I created a Python Flask web app using wrecked pyaarlo library to enable/disable my cameras and to arm/disarm Arlo. I used my Arlo admin account as the login credentials and used a Arlo Friend account to view the results on my iPhone. I used the default asynchronous mode, but so far the web app is working fine. I still haven't enabled 2FA on Arlo using twrecked's amazing 2FA solution, but I may have the confidence to do that soon.

I've attached a jpg of my Flask webapp app.py.

1 Like

Did you find any way to get Arlo video/snapshots into a dashboard (if saved locally to the Arlo Base station)?

Hubitat doesn't support video yet, so there is no way to include video in the dashboard.

Ok, thank you!

There is a solution now for Arlo video feeds on a dashboard via TinyCam (see other posts on this subject)...

But the cameras should be powered (eg. use the USB power) since they will be constantly activate in order to provide the feed via tinyCam and so should not be powered by battery.

2 Likes

Has anyone hear taken a look at the code for Arlopilot that was on the other system. As i understand it, the app should work in this environment since it would be local to each of our homes instead out of their cloud. The joy of hubitat being all local

The good news is that because since you’re using your IP the commands go through and aren’t blocked as not being the official integration from the vendor who shall not be named :sunglasses:. The main hurdle that needs to be overcome is the 2FA that Arlo put into place recently - up until then I had been able to do an ugly simulation through webCore that would allow authentication and a mode change.

I personally think the Hubitat team should be providing out of the box integrations for popular systems like this. Jeez, even Stringify had a really good integration with Arlo. Why is an integration not available here? Would Arlo charge Hubitat loads of dosh for access or something? Or is it really hard to build a camera integration for simple motion detection and arm/disarm functionality? @bcopeland @bravenel

1 Like

My personal opinion is that it is more an Arlo issue and them wanting to keep it closed off more. Feels like they are trying to force people to always use their app and cloud storage service.

This is why I asked about Arlo Pilot. The original author left the other platform a long time ago and has been here for a while. He is already involved with a wonderful app called HubConnect. Yep he is one of those guys. If that app was fully ported and had a log in method that took care of 2FA it could be effectively enabled to allow to allow for Arlo mode control from the Hubitat. It doesn't allow triggers to be used though.

I also agree with @thebearmay in that arlo wants to keep their platform kind of isolated and i don't think they have any published API's for external systems to use. I think this is probably important since they want to charge for certain features that you could possibly try to automate with a external platform like Hubitat.

I implemented twrecked's pyaarlo 2FA solution, and it works just fine for enabling/disabling my Arlo cameras and for arming/disarming Arlo based on wifi and Tile presence sensors.

Interesting, can you give a rundown of how you are doing this, are you doing it via Node-RED? I would love to get off of IFTTT as it has failed to arm/disarm a couple of times for no apparent reason.

Python GitHub - twrecked/hass-aarlo: Asynchronous Arlo Component for Home Assistant

I implemented twrecked's 2FA automatic solution which reads Arlo's token from my Google email. He says it needs testing, but it works for me.

I also needed to get a Google app password for this to work.

See the code for my non-2FA solution above. Below replaces the non-2FA login to arlo:

arlo = pyaarlo.PyArlo(username=USERNAME, password=PASSWORD,
tfa_source='imap',tfa_type='email',
tfa_host=TFA_HOST,tfa_username=TFA_USER,
tfa_password=TFA_PWD,
save_state=False, dump=False, storage_dir='aarlo', verbose_debug=True)