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
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)
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
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.
@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
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’
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’