hass-aarlo icon indicating copy to clipboard operation
hass-aarlo copied to clipboard

0.8.1.15 and stream not working on all cameras

Open roerigdalgaard opened this issue 9 months ago • 19 comments

I have 3 different types of cammeras at home Essentioal 1 Spotlight Essential 1 indpoor Essential 2

Stream with the essentioal 1 types work fine. Stream with the essential 2 types does not work (windows 10, Chrome browser)

Here debug log: 2025-02-15 11:29:45.528 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:mediaUploadNotification:True 2025-02-15 11:29:47.338 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.355 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.366 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.378 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.388 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.399 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.432 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.443 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.454 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:47.466 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 11:29:49.758 DEBUG (MainThread) [custom_components.aarlo.camera] stream_url for hoveddør 2025-02-15 11:29:51.268 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:startUserStream 2025-02-15 11:29:51.269 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:startUserStream 2025-02-15 11:29:51.278 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:userStreamActive 2025-02-15 11:29:51.279 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:userStreamActive 2025-02-15 11:30:31.578 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:presignedLastImageUrl:https://arlolastimage-z1.arlo.com/fcdb566a1bef4854a9fdd665c557968e/NDKG3W-100-41420535/AGC13B7SDF55B/lastImage.jpg?AWSAc 2025-02-15 11:30:31.580 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Hoveddør:recentActivity:True 2025-02-15 11:30:31.582 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:recentActivity:True 2025-02-15 11:30:31.734 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:lastImageSource:capture/Sat 15. 11:29 2025-02-15 11:30:31.734 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] camera.aarlo_hoveddor capture updated 2025-02-15 11:30:31.740 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:presignedLastImageData:b'\xff\xd8\xff\xfe\x00\x10Lavc58.35.100\x00\xff\xdb\x00C\x00\x08\x0c\x0c\x0e\x0c\x0e\x10\x10\x10\x10\x10\x10\x13\x12\x13 2025-02-15 11:30:31.863 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Hoveddør:recentActivity:True 2025-02-15 11:30:31.864 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:recentActivity:True 2025-02-15 11:30:31.866 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:idle 2025-02-15 11:30:31.867 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:idle 2025-02-15 11:30:38.604 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:mediaUploadNotification:True 2025-02-15 11:30:40.206 DEBUG (MainThread) [custom_components.aarlo.camera] stop_activity for hoveddør

roerigdalgaard avatar Feb 15 '25 10:02 roerigdalgaard

Which version of the component are you on?

And can you turn on verbose debug? It would be nice to capture some of the stream request packets.

twrecked avatar Feb 15 '25 13:02 twrecked

here verbose turned on. (i'm on 0.8.1.16 now):

cam hoveddør and carport (essential 2 cams) are not working. carport2 (essential 1 spotlight) started stream with out a problem.

2025-02-15 16:59:08.239 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.250 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.261 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.272 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.283 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.314 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.326 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.337 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.348 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:08.357 DEBUG (MainThread) [custom_components.aarlo.camera] library+99 2025-02-15 16:59:11.430 DEBUG (MainThread) [custom_components.aarlo.camera] stream_url for hoveddør 2025-02-15 16:59:13.090 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:userStreamActive 2025-02-15 16:59:13.091 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:userStreamActive 2025-02-15 16:59:13.101 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:startUserStream 2025-02-15 16:59:13.102 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:startUserStream 2025-02-15 16:59:45.443 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:presignedLastImageUrl:https://arlolastimage-z1.arlo.com/fcdb566a1bef4854a9fdd665c557968e/NDKG3W-100-41420535/AGC13B7SDF55B/lastImage.jpg?AWSAc 2025-02-15 16:59:45.445 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Hoveddør:recentActivity:True 2025-02-15 16:59:45.447 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:recentActivity:True 2025-02-15 16:59:45.690 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:lastImageSource:capture/Sat 15. 16:59 2025-02-15 16:59:45.694 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:presignedLastImageData:b'\xff\xd8\xff\xfe\x00\x10Lavc58.35.100\x00\xff\xdb\x00C\x00\x08\x0c\x0c\x0e\x0c\x0e\x10\x10\x10\x10\x10\x10\x13\x12\x13 2025-02-15 16:59:45.698 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Hoveddør:recentActivity:True 2025-02-15 16:59:45.700 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:recentActivity:True 2025-02-15 16:59:45.703 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Hoveddør Snapshot:activityState:idle 2025-02-15 16:59:45.703 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:activityState:idle 2025-02-15 16:59:52.830 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:mediaUploadNotification:True 2025-02-15 17:00:02.813 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:mediaUploadNotification:True 2025-02-15 17:00:04.901 DEBUG (MainThread) [custom_components.aarlo.camera] stop_activity for hoveddør 2025-02-15 17:00:08.439 DEBUG (MainThread) [custom_components.aarlo.camera] stream_url for carport 2025-02-15 17:00:09.861 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport Snapshot:activityState:userStreamActive 2025-02-15 17:00:09.861 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:activityState:userStreamActive 2025-02-15 17:00:11.427 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport Snapshot:activityState:startUserStream 2025-02-15 17:00:11.428 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:activityState:startUserStream 2025-02-15 17:00:12.781 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Hoveddør:mediaUploadNotification:True 2025-02-15 17:00:45.207 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:presignedLastImageUrl:https://arlolastimage-z1.arlo.com/fcdb566a1bef4854a9fdd665c557968e/NDKG3W-100-41420535/AGC13B75DED0D/lastImage.jpg?AWSAc 2025-02-15 17:00:45.208 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Carport:recentActivity:True 2025-02-15 17:00:45.210 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:recentActivity:True 2025-02-15 17:00:45.337 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:lastImageSource:capture/Sat 15. 17:00 2025-02-15 17:00:45.340 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:presignedLastImageData:b'\xff\xd8\xff\xfe\x00\x10Lavc58.35.100\x00\xff\xdb\x00C\x00\x08\x0c\x0c\x0e\x0c\x0e\x10\x10\x10\x10\x10\x10\x13\x12\x13 2025-02-15 17:00:45.377 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Carport:recentActivity:True 2025-02-15 17:00:45.378 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:recentActivity:True 2025-02-15 17:00:45.380 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport Snapshot:activityState:idle 2025-02-15 17:00:45.381 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:activityState:idle 2025-02-15 17:00:51.911 DEBUG (MainThread) [custom_components.aarlo.camera] stop_activity for carport 2025-02-15 17:00:52.784 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:mediaUploadNotification:True 2025-02-15 17:00:54.288 DEBUG (MainThread) [custom_components.aarlo.camera] stream_url for carport2 2025-02-15 17:00:55.388 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport2 Snapshot:activityState:startUserStream 2025-02-15 17:00:55.389 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:activityState:startUserStream 2025-02-15 17:00:55.427 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport2 Snapshot:activityState:userStreamActive 2025-02-15 17:00:55.428 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:activityState:userStreamActive 2025-02-15 17:01:02.709 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:mediaUploadNotification:True 2025-02-15 17:01:12.693 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport:mediaUploadNotification:True 2025-02-15 17:01:16.079 DEBUG (MainThread) [custom_components.aarlo.camera] stop_activity for carport2 2025-02-15 17:01:16.214 DEBUG (SyncWorker_1) [custom_components.aarlo.sensor] callback:Recent Activity Carport2:recentActivity:True 2025-02-15 17:01:16.215 DEBUG (SyncWorker_1) [custom_components.aarlo.camera] callback:Carport2:recentActivity:True 2025-02-15 17:01:16.344 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.switch] snapshot-callback:Carport2 Snapshot:activityState:idle 2025-02-15 17:01:16.345 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:activityState:idle 2025-02-15 17:01:16.406 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:presignedLastImageUrl:https://arlolastimage-z1.arlo.com/fcdb566a1bef4854a9fdd665c557968e/NDKG3W-100-41420535/A5JD287PD0DBF/lastImage.jpg?AWSAc 2025-02-15 17:01:16.407 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.sensor] callback:Recent Activity Carport2:recentActivity:True 2025-02-15 17:01:16.409 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:recentActivity:True 2025-02-15 17:01:16.594 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:lastImageSource:capture/Sat 15. 17:00 2025-02-15 17:01:16.597 DEBUG (ArloBackgroundWorker) [custom_components.aarlo.camera] callback:Carport2:presignedLastImageData:b'\xff\xd8\xff\xfe\x00\x10Lavc58.35.100\x00\xff\xdb\x00C\x00\x08\x04\x04\x04\x04\x04\x05\x05\x05\x05\x05\x05\x06\x06\x06

roerigdalgaard avatar Feb 15 '25 16:02 roerigdalgaard

What Lovelace card are you using?

twrecked avatar Feb 15 '25 19:02 twrecked

here the card yaml

square: false type: custom:aarlo-glance entity: camera.aarlo_hoveddor name: null image_view: direct image_top: null image_bottom: name,motion,library,stream image_click: recording library_sizes: 2,3,4

roerigdalgaard avatar Feb 15 '25 21:02 roerigdalgaard

This could be a 2K streaming thing. Do the cameras work on "my.arlo.com" when using the home assistant Arlo account?

I had some cameras I couldn't get to work on Linux with that reason.

twrecked avatar Feb 16 '25 00:02 twrecked

Yes stream works fine on my.arlo.com

(by the way. as i loose contakt to the counters (see issue #1030) i downgrade to 0.8.1.14.1. now as this version was stabel

roerigdalgaard avatar Feb 16 '25 08:02 roerigdalgaard

Yes stream works fine on my.arlo.com

(by the way. as i loose contakt to the counters (see issue #1030) i downgrade to 0.8.1.14.1. now as this version was stabel

Upgrade to 0.8.1.16 now as the issue #1030 arraised again

roerigdalgaard avatar Feb 16 '25 10:02 roerigdalgaard

@roerigdalgaard I need the verbose_debug for this issue. I need to see what packets are being sent to Arlo.

twrecked avatar Feb 16 '25 13:02 twrecked

@roerigdalgaard I need the verbose_debug for this issue. I need to see what packets are being sent to Arlo.

As you can see i have set the verbose flag: did i send an other logfile than the log i get from setting debug true in the integration

Aarlo.yaml: version: 1 aarlo:

user_agent: linux

request_timeout: 120 stream_timeout: 180 refresh_devices_every: 2 reconnect_every: 0 verbose_debug: true

backend: sse

backend: mqtt

mqtt_hostname_check: False

mqtt_host: mqtt-cluster.arloxcld.com

mqtt_host: mqtt-cluster-z1.arloxcld.com

cipher_list: HIGH:!DH:!aNULL

last_format: '%a %d. %H:%M'

roerigdalgaard avatar Feb 16 '25 14:02 roerigdalgaard

I just realised, you might need to add pyaarlo to the logger section of your configuration.yaml

twrecked avatar Feb 16 '25 15:02 twrecked

I just realised, you might need to add pyaarlo to the logger section of your configuration.yaml

sorry for the HA newbe question (i run domoticz normally) how is the correct syntax? My config yaml has no logger section :-)

roerigdalgaard avatar Feb 16 '25 15:02 roerigdalgaard

This is mine when I'm testing aarlo.

logger:
  default: info
  logs:
    pyaarlo: debug
    custom_components.aarlo: debug

twrecked avatar Feb 16 '25 15:02 twrecked

I deleted the logs; you'd hidden things but just in case.

twrecked avatar Feb 16 '25 16:02 twrecked

Which lovelace card version are you using?

twrecked avatar Feb 16 '25 16:02 twrecked

Which lovelace card version are you using?

lovelace-hass-arlo v0.2.6.1

roerigdalgaard avatar Feb 16 '25 16:02 roerigdalgaard

Everything looks ok from my end, the direct is the important piece.

You could try the 0.3 version of lovelace, the internal code is much nicer but I can't see it affecting the streaming issue though.

twrecked avatar Feb 25 '25 13:02 twrecked

Everything looks ok from my end, the direct is the important piece.

You could try the 0.3 version of lovelace, the internal code is much nicer but I can't see it affecting the streaming issue though.

I use this settings: square: false type: custom:aarlo-glance entity: camera.aarlo_hoveddor name: null image_view: direct image_top: null image_bottom: name,motion,library,stream image_click: recording library_sizes: 2,3,4

direct to play the last recoded video works. stream does not?

Something i missconfigure.

I try version 0.3 i avail via HACS...

roerigdalgaard avatar Feb 25 '25 14:02 roerigdalgaard

A couple of things:

direct means the card will connect directly to Arlo, this is the preferred method because it removes some the load from the Home Assistant device.

not specifying direct means the stream will go via the Home Assistant device.

Try removing direct and see if that helps.

I'll boot into Windows later and give this a try as well.

twrecked avatar Feb 25 '25 15:02 twrecked

A couple of things:

direct means the card will connect directly to Arlo, this is the preferred method because it removes some the load from the Home Assistant device.

not specifying direct means the stream will go via the Home Assistant device.

Try removing direct and see if that helps.

I'll boot into Windows later and give this a try as well.

upgraded to 0.3b and tryed with image_view: direct or removed this line. no difference. 2k cams wont stream...

roerigdalgaard avatar Feb 25 '25 16:02 roerigdalgaard