Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.1.15 and stream not working on all cameras #1054

Open
roerigdalgaard opened this issue Feb 15, 2025 · 19 comments
Open

0.8.1.15 and stream not working on all cameras #1054

roerigdalgaard opened this issue Feb 15, 2025 · 19 comments

Comments

@roerigdalgaard
Copy link

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

@twrecked
Copy link
Owner

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.

@roerigdalgaard
Copy link
Author

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

@twrecked
Copy link
Owner

What Lovelace card are you using?

@roerigdalgaard
Copy link
Author

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

@twrecked
Copy link
Owner

twrecked commented Feb 16, 2025

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.

@roerigdalgaard
Copy link
Author

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
Copy link
Author

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

@twrecked
Copy link
Owner

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

@roerigdalgaard
Copy link
Author

@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'

@twrecked
Copy link
Owner

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

@roerigdalgaard
Copy link
Author

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 :-)

@twrecked
Copy link
Owner

This is mine when I'm testing aarlo.

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

Repository owner deleted a comment from roerigdalgaard Feb 16, 2025
@twrecked
Copy link
Owner

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

@twrecked
Copy link
Owner

Which lovelace card version are you using?

@roerigdalgaard
Copy link
Author

Which lovelace card version are you using?

lovelace-hass-arlo
v0.2.6.1

@twrecked
Copy link
Owner

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.

@roerigdalgaard
Copy link
Author

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...

@twrecked
Copy link
Owner

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.

@roerigdalgaard
Copy link
Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants