eufy_security icon indicating copy to clipboard operation
eufy_security copied to clipboard

Stream not auto-starting when accessed through the Apple Home app

Open legsak1mbo opened this issue 2 years ago • 14 comments

Describe the bug

Stream no longer auto-starts through HomeKit

To reproduce

Steps to reproduce the behavior:

  1. Go to Home app on iOS or macOS
  2. Tap or click on camera
  3. Spinner appears and after a while a "No Response" message is shown.
  4. Home Assistant's HomeKit logs show "Camera has no stream source"

Expected behavior

The camera should open and begin streaming in the Home app.

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

  • Home Assistant Installation Type: Supvervised
  • Home Assistant Core Version: core-2023.1.4
  • Eufy Security Add-on Version: 1.3.0
  • Eufy Security Integration Version: 6.2.0

Hardware Information;

  • Camera Model: Video Doorbell 1080p

  • Live Streaming Protocol (RTSP/P2P): P2P

  • Debug Logs from Home Assistant: I can get these later if required.

  • Logs from Eufy Security Add-on (either from Add-ons page of Home Assistant or Docker output):

2023-01-16 17:12:32.900 INFO Client disconnected with ip: 172.30.32.1 port: 49774 code: 1006 reason: Abnormal Closure

Additional context

This issue only occurred when I updated to the latest release. Everything still works fine through Lovelace, streams start etc. and if I manually start the stream there first and then access the camera through the Apple Home app then everything works as expected.

legsak1mbo avatar Jan 16 '23 17:01 legsak1mbo

They are not supposed to auto start, you should call respective services to start streaming.

If your camera supports continuous streaming, start them on home assistant startup, this way, they will work in alexa, google and homekit

fuatakgun avatar Jan 16 '23 19:01 fuatakgun

Thanks. It's a battery-powered doorbell so I don't really want it streaming all the time. Prior to the latest release, tapping on the camera from within the Apple Home app would start the stream - that no longer works.

legsak1mbo avatar Jan 16 '23 19:01 legsak1mbo

are you an active home assistant user? or you are purely relying on Apple Home?

fuatakgun avatar Jan 23 '23 15:01 fuatakgun

Yes, active Home Assistant. But also using the native Home Assistant HomeKit integration.

Again, if I tap on the video card in HA it starts streaming fine. This also used to work in the Apple Home app but the stream no longer auto-starts via Apple Home. If I start the stream in Home Assistant and then switch to HomeKit then the camera is accessible and works as expected.

Prior to the latest eufy_security update this worked fine.

legsak1mbo avatar Jan 24 '23 21:01 legsak1mbo

I have the same issue. It used to start automatically. Since the update I need to start the stream first.

This is complicated. Would like to have an option to decide myself if stream autostart and stops or if I have to to that manually.

Can you please change that back as it used to be?

superpower10 avatar Feb 09 '23 13:02 superpower10

Yes, active Home Assistant. But also using the native Home Assistant HomeKit integration.

Again, if I tap on the video card in HA it starts streaming fine. This also used to work in the Apple Home app but the stream no longer auto-starts via Apple Home. If I start the stream in Home Assistant and then switch to HomeKit then the camera is accessible and works as expected.

Prior to the latest eufy_security update this worked fine.

Would you mind sharing your Homekit Config with me? I haven't been able to get my camera to stream in Apple Home at all, even with starting the stream in Home Assistant first.

MaxChlan avatar Feb 10 '23 23:02 MaxChlan

Sure. Not sure there's too much to share though - from memory I had to create a new HomeKit bridge, put it into "Accessory" mode, set the inclusion mode to "Include" and select the Camera domain. Then on the next screen I chose my doorbell.

Does that help at all?

legsak1mbo avatar Feb 21 '23 19:02 legsak1mbo

I am seeing the exact same issue. Cameras stream fine in HA, but in Apple Home (or on the AppleTV which is a great use-case for using these cameras with Homekit, by the way) they only work if I first start the stream in HA.

phurth avatar Mar 10 '23 01:03 phurth

Just checking in on this one. I restored an old HA backup that I had and the streams would happily auto-start in Apple Home.

legsak1mbo avatar May 20 '23 08:05 legsak1mbo

Me again. @fuatakgun are you waiting for logs from me? If so, which ones would you like? I just set up my doorbell on a Homebridge (non-HA) instance and I can start and stop the stream from within the Apple Home app.

legsak1mbo avatar Nov 08 '23 13:11 legsak1mbo

No, this just deserves some love from me :-)

fuatakgun avatar Nov 08 '23 13:11 fuatakgun

@fuatakgun sorry, is this something that's still on the roadmap?

It'd be really nice to be able to get the live feed via Apple Home app / native push notifications without restarting the stream manually.

valzevul avatar Mar 06 '24 19:03 valzevul

@fuatakgun it would be really nice if you have any updates for this. thanks!

irharrier2 avatar May 05 '24 15:05 irharrier2