core icon indicating copy to clipboard operation
core copied to clipboard

HomeKit, no cameras have a stream source

Open radiocolin opened this issue 3 years ago • 6 comments

The problem

I have three cameras sharing out via HomeKit.

One is a Logitech Circle 2 connected via HomeKit Controller One is a Ring wired doorbell through the Ring integration One is a Blink camera connected through the Blink integration

The cameras can stream in the front end, and show thumbnails in Apple Home.app, but don't show live video in Apple Home.app. All say "camera has no stream source" in the logs.

Circle:

2022-08-25 12:09:13.803 ERROR (MainThread) [homeassistant.components.homekit.type_cameras] Camera has no stream source
2022-08-25 12:09:13.805 ERROR (MainThread) [pyhap.camera] [09a1fe31-f3ee-42e5-a43b-8794945c85d5] Failed to start/reconfigure stream, deleting session.
2022-08-25 12:09:17.632 ERROR (MainThread) [pyhap.camera] Requested to stop stream for session 09a1fe31-f3ee-42e5-a43b-8794945c85d5, but no such session was found

Ring:

2022-08-25 12:09:32.268 ERROR (MainThread) [homeassistant.components.homekit.type_cameras] Camera has no stream source
2022-08-25 12:09:32.271 ERROR (MainThread) [pyhap.camera] [eee8aa8a-b0ce-4578-9922-23ec8cc7b64a] Failed to start/reconfigure stream, deleting session.
2022-08-25 12:09:34.372 ERROR (MainThread) [pyhap.camera] Requested to stop stream for session eee8aa8a-b0ce-4578-9922-23ec8cc7b64a, but no such session was found

Blink:

2022-08-25 12:08:53.694 ERROR (MainThread) [homeassistant.components.homekit.type_cameras] Camera has no stream source
2022-08-25 12:08:53.697 ERROR (MainThread) [pyhap.camera] [700dded3-05a3-4bec-8006-14d033a97929] Failed to start/reconfigure stream, deleting session.
2022-08-25 12:08:56.158 ERROR (MainThread) [pyhap.camera] Requested to stop stream for session 700dded3-05a3-4bec-8006-14d033a97929, but no such session was found

What version of Home Assistant Core has the issue?

core-2022.8.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

HomeKit

Link to integration documentation on our website

No response

Diagnostics information

config_entry-homekit-b91107240efd583b62f07af7e61fbb59.json.txt config_entry-homekit-ef34fea94cc9f0ef6c838be70619a741.json.txt config_entry-homekit-0f5108d01977574c09e02f29af523e9a.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

radiocolin avatar Aug 25 '22 16:08 radiocolin

homekit documentation homekit source (message by IssueLinks)

Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (homekit) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

Similar issue, HomeKit using Unifi Protect integration (4 different cameras). Core-2022.9.7

Logger: homeassistant.components.homekit.type_cameras
Source: components/homekit/type_cameras.py:340 
Integration: HomeKit (documentation, issues) 
First occurred: 8:01:28 AM (114 occurrences) 
Last logged: 4:57:50 PM

Camera has no stream source

Logger: pyhap.camera
Source: runner.py:119 
First occurred: 8:01:28 AM (227 occurrences) 
Last logged: 4:57:50 PM

[84c7e3f9-6740-44c0-ba4d-07c7d4cc815d] Failed to start/reconfigure stream, deleting session.
Requested to stop stream for session 84c7e3f9-6740-44c0-ba4d-07c7d4cc815d, but no such session was found
[1935f0fc-b884-470a-964f-c1849f250b17] Failed to start/reconfigure stream, deleting session.
Requested to stop stream for session 1935f0fc-b884-470a-964f-c1849f250b17, but no such session was found
[7ca127a1-c110-4db1-8ab1-5f9c194c8079] Failed to start/reconfigure stream, deleting session.

scpotter avatar Sep 27 '22 21:09 scpotter

This appears to be related to a viewing of a live stream not displaying. My logs stopped showing new instances.

Open Home app, click to view a camera, live view does not load, error resumes in log. Live view only fails for 1 of 3 cameras.

scpotter avatar Oct 03 '22 12:10 scpotter

This appears to be related to a viewing of a live stream not displaying. My logs stopped showing new instances.

Open Home app, click to view a camera, live view does not load, error resumes in log. Live view only fails for 1 of 3 cameras.

This is also happening to me, one camera is fine, but my eufy doorbell is only showing the last event images in HomeKit, the camera stream is not loading..

Logger: homeassistant.components.homekit.type_cameras Source: components/homekit/type_cameras.py:340 Integration: HomeKit (documentation, issues) First occurred: 09:47:41 (2 occurrences) Last logged: 09:48:41

Camera has no stream source

sythesigh avatar Oct 05 '22 08:10 sythesigh

same problem here, live stream is loading forever.

GuoQPro avatar Oct 24 '22 09:10 GuoQPro

HomeKit requires a stream source. You need to have RTSP enabled on the camera for it to work.

At least for unifi protect, you can do that in app

bdraco avatar Dec 14 '22 20:12 bdraco

Hey there @fronzbot, mind taking a look at this issue as it has been labeled with an integration (blink) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of blink can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign blink Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


blink documentation blink source (message by IssueLinks)

home-assistant[bot] avatar Dec 14 '22 20:12 home-assistant[bot]

Hey there @evanjd, mind taking a look at this issue as it has been labeled with an integration (logi_circle) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of logi_circle can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign logi_circle Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


logi_circle documentation logi_circle source (message by IssueLinks)

home-assistant[bot] avatar Dec 14 '22 20:12 home-assistant[bot]

Hey there @briis, @angellusmortis, mind taking a look at this issue as it has been labeled with an integration (unifiprotect) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of unifiprotect can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Change the title of the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign unifiprotect Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


unifiprotect documentation unifiprotect source (message by IssueLinks)

home-assistant[bot] avatar Dec 14 '22 20:12 home-assistant[bot]

Link to docs for UniFi Protect about the stream source: https://www.home-assistant.io/integrations/unifiprotect#camera-streams

AngellusMortis avatar Dec 14 '22 20:12 AngellusMortis

Link to docs for UniFi Protect about the stream source: https://www.home-assistant.io/integrations/unifiprotect#camera-streams

Resolved, turns out I’m the bug. When I replaced a camera I forgot to enable RSTP for it. Thanks!

scpotter avatar Dec 14 '22 20:12 scpotter