Arlo Support (Sponsorship)

Just upgraded to 0.48.1, getting the following. I’m assuming the problem here is that I don’t have a base station…

2017-07-06 20:44:29 ERROR (MainThread) [homeassistant.components.camera] Error while setting up platform arlo
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 164, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/local/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/usr/local/lib/python3.5/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/usr/local/lib/python3.5/site-packages/homeassistant/components/camera/arlo.py", line 40, in async_setup_platform
    cameras.append(ArloCam(hass, camera, config))
  File "/usr/local/lib/python3.5/site-packages/homeassistant/components/camera/arlo.py", line 52, in __init__
    self._base_stn = hass.data[DATA_ARLO].base_stations[0]
IndexError: list index out of range

This looks a problem. Can you file bug on HA for this?

How do you connect to your cameras if you don’t have a base_station?

I had the same issue. You need to go to the Arlo dashboard and check “Allow Access Rights” for the user you use in Home Assistant. (it’s under Settings -> Grant access)

Having the same problem here, I’m using my master account to connect, so access rights shouldn’t be an issue. Seems to be since upgrading to 0.48.0.

I have an Arlo Q, which connects directly to my router via WIFI, no base station required.

Thanks for clarifying it. Yes, so that is a problem that needs to be fixed.

Could one of you report the issue on HA? I’ll try to work on this weekend.

Is there a way to see the cameras live from HA? also is there a way to check for motion?

@SuperMiguel we are working on it as we speak :slight_smile:

https://github.com/tchellomello/python-arlo/pull/32

https://github.com/home-assistant/home-assistant/issues/8412

1 Like

Sorry, haven’t been able to get online for a few days.

It is working to arm and disarm the standard modes for Arlo in HA. What I haven’t got to work is to activate a custom mode

Thanks for the awesome job with the component @tchellomello

@tchellomello, is it even possible true the API to arm/disarm custom modes?

How do I arm and disarm Arlo inside HA? I cant find any service calls for this…

The service is enable_motion_detection and disable_motion_detection in the camera domain. I use it in automation as example below. It do not matter what camera ur are point the action at, it still armed and disarms everything

  action:
    - service: camera.enable_motion_detection
      entity_id: camera.baksidan

and

  action:
    - service: camera.disable_motion_detection
      entity_id: camera.baksidan
1 Like

@Stimo where did you see that documented, if you don’t mind…

I have not see any documentation @BendedArrow, I just saw it in the dev tool and tried to call the service and got it to work. Many it is more that I don’t know about, but arming and disarming is working for me.

1 Like

@tchellomello thanks for the great addon. I am however struggling with the setup. I am using HASS.io v.0.50 on a Rasp Pi. New user just learning the ropes :slight_smile:

After much monkeying I can see the two cameras ( ArloQ no base ) I am testing with and have even setup a group so I have a card. Problem is how on earth do i do a playback of the last capture?

My setup is as follows;

ffmpeg:

arlo:
username: ****
password: ****

camera:
platform: arlo
ffmpeg_binary: ‘/usr/bin/ffmpeg’
ffmpeg_arguments: ‘-filter:v setpts=40.0*PTS’

@BendedArrow @Stimo

based on your discussion, I’ve submitted the PR https://github.com/home-assistant/home-assistant.github.io/pull/3107 to extend the documentation by adding an example on how to arm/disable the motion detection service.

Thank you!! :+1:

4 Likes

@HernerKlenthur what happens if you click at the video? Does it start the playback?
Do you get any traceback?

@tchellomello Any clue if it’s possible to arm/disarm custome modes?

1 Like

Played with my settings and also figured out how to enable detailed logging. Altered my settings until the arlo.py error cleared itself and now when I click I get a broken stream image.

Also noticed it is NOT showing the last image triggered by my camera just FYI. It seems to be behind which might be the issue? It is also showing an unknown now for last capture which may be related to it grabbing the wrong last capture.

Settings now look as such for ArloQ;

ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg

arlo:
username: *****
password: *****

camera:
platform: arlo
ffmpeg_arguments: ‘-filter:v setpts=40.0*PTS’

Thanks for the help good sir.