twrecked / hass-aarlo

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

Having a few intermittent issues #615

Open dobest67 opened 2 years ago

dobest67 commented 2 years ago

First thanks for the great work on keeping this component aarlo alive.

I am having intermittent issues and I get this error in the homeassistant log consistently when it happens:

2022-07-11 18:55:06 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.aarlo_east_side] Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input) rtsps://arlostreaming2421-z2-prod.wowza.arlo.com:443/vzmodulelive/A4730B7LA3D67_1657583650257?egressToken=05d40468_e943_439d_9bb2_71eea45cb473&userAgent=iOS&cameraId=A4730B7LA3D67_1657583650257&txnId=be!e79f3c80-3696-4b21-b394-7e457a17d726

But with all my cameras. Also can't seem to get consistent snapshots to work.

Once again thank you for all the work you do home-assistant.log !

dobest67 commented 2 years ago

Well adding backend: sse to my config file has fixed all my woes. Your doing a great job in supporting and documenting this thing twrecked, keep up the awesome work.

georgejung commented 2 years ago

Thanks for mentioning this I was having the exact same issues and set aside some time this evening and the sse fixed my missing events. I'll see if it fixes all of my issues but its definitely most. I thought it may have been login related because for me it would work if i rebooted HA, but after starting it would start dropping events.

kylepyke commented 2 years ago

I'm also having this same issue. Would @dobest67 or @georgejung mind posting some details or resources about "sse to my config file"? I'm not familiar with SSE. Thanks!

georgejung commented 2 years ago

I missed it too when I read through the guide:

Missing Events

Arlo is in the middle of (or seems to be in the middle of) changing their back end event system. The original system used a Server Side Event socket but they now support a MQTT broker system. The problem aarlo can't currently automatically determine which to use.

By default, the system will use the MQTT back end. If aren't seeing the events you expect to see then try changing to the Server Side Event back end. Add this to your configuration and restart the system.

aarlo: ..your current config.. backend: sse

kylepyke commented 2 years ago

Ah, got it! Thanks! The fix doesn't seem to work for me. Both mqtt and sse backends are broken for me, but sse seems to break more things than mqtt.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 365 days with no activity. This issue will be automatically closed within 28 days if there is no further activity.