Arlo: replacement pyarlo module

@vormsty
Unfortunately Arlo always needs a cloud connection. I don’t have a “video doorbell” but I’m guessing the answers are:

  1. No
  2. I don’t know. I think they operate without a base but they do it via the cloud.
  3. I have the non-video doorbell, it’s more like a VOIP call and you need the Arlo app for it to work.

Just pulled the latest and it is working. Haven’t played with it much yet but see the last capture in the front-end and setup motion sensors. Really appreciate everyone’s work on this!

Just got the video doorbell.

  1. No - needs cloud connection.
  2. Does not need a base station.
  3. It does make a video call to your phone but I am pretty certain you need the app installed and hence cloud.

When can this be upgraded to the default arlo integration?

You are correct that my original automation would “fall through”. I found that the lights would turn off then back on again if motion was detected after the automation had ran. I ended up adding an and statement that checks if the light is off or already on which solved the issue for me.

Thanks!

@sherrell I finally had time to add the debug and packet dumps to see if the battery information is coming back. Looking at the logs there are no crashed I can see and looking at the set commands batteryLevel is not being outputted to the log so assuming it is not returning.

Looking at the packets.dump file I only have {'status': 'connected'} being shown. Nothing else is being put in the file.

Hello @sherrell. Arlo just released Direct Storage Access which will allow you to view your videos locally, rather than the cloud. It’s relatively new and I haven’t had a chance to test it out yet, but would be neat if we can incorporate this into the Aarlo component. Let me know your thoughts.

https://kb.arlo.com/000062337/What-is-Direct-Storage-Access-and-how-do-I-use-it

I was curious is there a way to have the aarlo lovelace card open up to full screen when you click to view the live image? Similar to the normal picture window for arlo. I’ve tried to click the 4 brackets to the right while watching and it doesn’t do anything. Thank you.

@Gamerayers That should work. At least it does for me… Can you tell me what OS/System and browser your are using?

@bdf0506 I’ll take a look but it looks like it’s not available on my.arlo.com (yet) which we use to interact with Arlo.

@sherrell I’m using the default 32-bit raspberry pi 4 image of Hass. For browsers, I used chrome in Windows 10 and there home assistant on Android. Both had the same result. I can see the 4 corner button to expand, but it does nothing when I click it.

I’m using Chrome on Windows 10 and Android too and I can get it to go full screen on both.

Is it not working on the live stream or recordings library or both? I ask because they work very differently. The live stream comes via the raspberry pi and the recordings are coming directly from Arlo web servers.

I’ve tried both on the Android app and neither seem to do anything. I haven’t had a chance to try on my windows 10 PC for the historical view, simply the live image.

@sherrell Update. I was able to try on my Windows 10 PC again, and seems it works now for Chrome, but I can’t seem to get it to work in the home assistant app on android. And yes, both the live and the historical go to FULL screen, not just expand to the window size of Chrome.

@Gamerayers “Android app”… I missed that bit. I use it under Chrome on Android and it works there - Android even lets you add a short cut to the launcher - I’ll download and try the app.

Is anyone else having trouble with taking a streaming snapshot from a recording camera where it fails and returns the previous snapshot?

The log says that the camera isn’t streaming but it is triggered from a camera recording event with a 2 second delay and the camera should be recording for 10 seconds.

2020-01-14 06:16:26 DEBUG (SyncWorker_21) [pyaarlo] streaming snapshot
2020-01-14 06:16:26 DEBUG (SyncWorker_21) [pyaarlo] set:4XH2737KA7B5D/activityState=fullFrameSnapshot
2020-01-14 06:16:26 DEBUG (SyncWorker_21) [pyaarlo] handle dodgy cameras
2020-01-14 06:16:26 WARNING (ArloBackgroundWorker) [pyaarlo] error in response={‘data’: {‘error’: ‘2503’, ‘message’: ‘The device failed to connect. Try again.’, ‘reason’: ‘Camera is not streaming’}, ‘success’: False}

Idle snapshots work perfectly, any ideas?

The last update broke something for my setup.

homeassistant.components.hassio] Platform error alarm_control_panel.aarlo - cannot import name 'CONF_ATTRIBUTION' from 'custom_components.aarlo' (/config/custom_components/aarlo/__init__.py)
Platform error sensor.aarlo - cannot import name 'CONF_ATTRIBUTION' from 'custom_components.aarlo' (/config/custom_components/aarlo/__init__.py)
Platform error binary_sensor.aarlo - cannot import name 'CONF_ATTRIBUTION' from 'custom_components.aarlo' (/config/custom_components/aarlo/__init__.py)

How are you installing Aarlo?

I use HACS.

Crap. Of course it’s working for me… What version of HA? And what is your aarlo: config, you might have some options different from me.