twrecked / hass-aarlo

Asynchronous Arlo Component for Home Assistant
GNU Lesser General Public License v3.0
384 stars 78 forks source link

websocket services #172

Open tyr84 opened 4 years ago

tyr84 commented 4 years ago

seems to be something wrong with the websocket services. Tried using aarlo_video_url. First of all it needs an "index" parameter not described in the documentation. From the source i can see this is supposed to be a positive int. Tried different values (0,1,2 etc), makes no difference. The output is a dict in the format described in the docs. However the values are always null (except for thumbnail_type).

I've tried with the camera idle, and streaming

twrecked commented 4 years ago

Out and about for the weekend so sorry for the short reply.

It looks like index isn't used, the websocket just needs the entity_id of the camera. You can check if there is a url available by looking at the state of the camera.

edit: And I'm back now. Sorry for the misleading source I'll get that sorted out. Did you get this going?