Closed lenoxys closed 2 years ago
Did you check this Common Issues pages ?
Hey all !
Need your help on this. I've enabled some debug into info so we can log when debug disable on beta.28. Can you post your log here like I've done upper.
appreciate your help !
Sure. Thanks very much for your work on this plugin btw! The local streaming is a great addition also. Just will be nice when it works longer than 5 seconds.
[23/02/2022, 21:17:37] [homebridge-eufy-security] Doorbell Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[23/02/2022, 21:17:45] [homebridge-eufy-security] Doorbell Receive Apple HK Stop request{"sessionID":"6abaa162-f6c6-4f8b-bb13-079bd143b367","type":"stop"}
[23/02/2022, 21:17:45] [homebridge-eufy-security] Stopping session with id: 6abaa162-f6c6-4f8b-bb13-079bd143b367
[23/02/2022, 21:17:45] [homebridge-eufy-security] Doorbell Stopped video stream.
[23/02/2022, 21:17:46] [homebridge-eufy-security] Connection closed by Eufy station.
[23/02/2022, 21:17:46] [homebridge-eufy-security] ErrorCode ECONNRESET
and again
[23/02/2022, 21:20:07] [homebridge-eufy-security] Doorbell Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[23/02/2022, 21:20:15] [homebridge-eufy-security] Doorbell Receive Apple HK Stop request{"sessionID":"d1bf8563-27b3-4e45-a35b-cacaf78dc1e5","type":"stop"}
[23/02/2022, 21:20:15] [homebridge-eufy-security] Stopping session with id: d1bf8563-27b3-4e45-a35b-cacaf78dc1e5
[23/02/2022, 21:20:15] [homebridge-eufy-security] Doorbell Stopped video stream.
[23/02/2022, 21:20:15] [homebridge-eufy-security] Connection closed by Eufy station.
[23/02/2022, 21:20:15] [homebridge-eufy-security] ErrorCode ECONNRESET
Same here:
[24/02/2022, 09:53:32] [homebridge-eufy-security] Voordeur Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[24/02/2022, 09:53:39] [homebridge-eufy-security] Voordeur Receive Apple HK Stop request{"sessionID":"f3926f75-2e2b-4fd6-a4ad-ce7e5e8ed03f","type":"stop"}
[24/02/2022, 09:53:39] [homebridge-eufy-security] Stopping session with id: f3926f75-2e2b-4fd6-a4ad-ce7e5e8ed03f
[24/02/2022, 09:53:40] [homebridge-eufy-security] Voordeur Stopped video stream.
[24/02/2022, 09:53:40] [homebridge-eufy-security] Connection closed by Eufy station.
[24/02/2022, 09:53:40] [homebridge-eufy-security] ErrorCode ECONNRESET
and again:
[24/02/2022, 09:54:05] [homebridge-eufy-security] Voordeur Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[24/02/2022, 09:54:13] [homebridge-eufy-security] Voordeur Receive Apple HK Stop request{"sessionID":"85cc35ca-5a7a-4189-be66-cb6d02485da0","type":"stop"}
[24/02/2022, 09:54:13] [homebridge-eufy-security] Stopping session with id: 85cc35ca-5a7a-4189-be66-cb6d02485da0
[24/02/2022, 09:54:13] [homebridge-eufy-security] Voordeur Stopped video stream.
[24/02/2022, 09:54:13] [homebridge-eufy-security] Connection closed by Eufy station.
[24/02/2022, 09:54:13] [homebridge-eufy-security] ErrorCode ECONNRESET
[2/24/2022, 11:09:26 AM] [homebridge-eufy-security] Restoring existing accessory from cache: Front Door
[2/24/2022, 11:09:48 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[2/24/2022, 11:09:55 AM] [homebridge-eufy-security] Doorbell Receive Apple HK Stop request{"sessionID":"43ae93be-f1ec-4958-96d6-4de7482ebfc1","type":"stop"}
[2/24/2022, 11:09:55 AM] [homebridge-eufy-security] Stopping session with id: 43ae93be-f1ec-4958-96d6-4de7482ebfc1
[2/24/2022, 11:09:55 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
[2/24/2022, 11:10:15 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[2/24/2022, 11:10:22 AM] [homebridge-eufy-security] Doorbell Receive Apple HK Stop request{"sessionID":"817c88ce-80e4-4e6a-819f-7a1652c2ddb6","type":"stop"}
[2/24/2022, 11:10:22 AM] [homebridge-eufy-security] Stopping session with id: 817c88ce-80e4-4e6a-819f-7a1652c2ddb6
[2/24/2022, 11:10:22 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
[2/24/2022, 11:10:55 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[2/24/2022, 11:11:02 AM] [homebridge-eufy-security] Doorbell Receive Apple HK Stop request{"sessionID":"5b598a86-9043-4358-a282-3c05a2256533","type":"stop"}
[2/24/2022, 11:11:02 AM] [homebridge-eufy-security] Stopping session with id: 5b598a86-9043-4358-a282-3c05a2256533
[2/24/2022, 11:11:02 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
.//src/accessories/streamingDelegate.ts:639: this.log.info(this.cameraName, 'Receive Apple HK Stop request'+JSON.stringify(request));
Seems like it triggers a stop request, but I am pretty sure I do not trigger that myself ;).
Yeah, there is something we're pushing to Apple HK which make it closing early when debug is disable.
Found the issue but it takes 5-6 sec to get the stream
Let me drop myself in here as well in order to be up to data as well. Thanks.
[eufyCam E 1] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[27/02/2022, 12:26:25] [EufySecurity] eufyCam E 2 Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[27/02/2022, 12:26:30] [EufySecurity] Stopping session with id: cb407b01-...-829b38385c21
[27/02/2022, 12:26:30] [EufySecurity] No session to stop.
[27/02/2022, 12:26:31] [EufySecurity] Stopping session with id: cb407b01-...-829b38385c21
[27/02/2022, 12:26:31] [EufySecurity] eufyCam E 2 Eufy Station stopped the stream. Stopping stream.
[27/02/2022, 12:26:31] [EufySecurity] Stopping session with id: cb407b01-...-829b38385c21
[27/02/2022, 12:26:31] [EufySecurity] eufyCam E 2 Stopped video stream.
[27/02/2022, 12:26:31] [EufySecurity] eufyCam E 2 Error occurred closing socket: Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
[27/02/2022, 12:26:31] [EufySecurity] eufyCam E 2 Stopped video stream.
[27/02/2022, 12:26:31] [EufySecurity] eufyCam E 2_audio FFmpeg exited with code: 1 and signal: null (Error)
[27/02/2022, 12:26:31] [EufySecurity] Stopping session with id: cb407b01-...-829b38385c21
[27/02/2022, 12:26:31] [EufySecurity] No session to stop.
[27/02/2022, 12:26:31] [EufySecurity] Connection closed by Eufy station.
[27/02/2022, 12:26:31] [EufySecurity] ErrorCode ECONNRESET
[27/02/2022, 12:26:42] [EufySecurity] eufyCam E 1 Starting video stream: 1280 x 720, 30 fps, 299 kbps (AAC-eld)
[27/02/2022, 12:26:47] [EufySecurity] Stopping session with id: 9adfcbcd-...-bd80f8c4d1b6
[27/02/2022, 12:26:47] [EufySecurity] No session to stop.
[27/02/2022, 12:26:48] [EufySecurity] Stopping session with id: 9adfcbcd-c694-...-bd80f8c4d1b6
[27/02/2022, 12:26:48] [EufySecurity] eufyCam E 1 Eufy Station stopped the stream. Stopping stream.
[27/02/2022, 12:26:48] [EufySecurity] Stopping session with id: 9adfcbcd-...-bd80f8c4d1b6
[27/02/2022, 12:26:48] [EufySecurity] eufyCam E 1 Stopped video stream.
[27/02/2022, 12:26:48] [EufySecurity] eufyCam E 1 Error occurred closing socket: Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
[27/02/2022, 12:26:48] [EufySecurity] eufyCam E 1 Stopped video stream.
[27/02/2022, 12:26:48] [EufySecurity] eufyCam E 1_audio FFmpeg exited with code: 1 and signal: null (Error)
[27/02/2022, 12:26:48] [EufySecurity] Stopping session with id: 9adfcbcd-...-bd80f8c4d1b6
[27/02/2022, 12:26:48] [EufySecurity] No session to stop.
[27/02/2022, 12:26:48] [EufySecurity] Connection closed by Eufy station.
[27/02/2022, 12:26:48] [EufySecurity] ErrorCode ECONNRESET
[27/02/2022, 12:26:54] [EufySecurity] eufyCam E 2 Eufy Station stopped the stream. Stopping stream.
[27/02/2022, 12:26:54] [EufySecurity] Stopping session with id: cb407b01-...-829b38385c21
[27/02/2022, 12:26:54] [EufySecurity] No session to stop.
@MartinJRS, did you use the latest beta version?
Thank you very much for your commitment. But with the latest Beta 29, the stream starts very slowly. Two out of three attempts to start the camera shows "No response".
!![2/27/2022, 2:54:20 PM] [EufySecurity-1.1.1-beta.29] ERROR: Garage FFmpeg exited with code: 0 and signal: null (Error)!!!
[2/27/2022, 2:54:20 PM] [EufySecurity-1.1.1-beta.29] DEBUG: Stopping session with id: 86baf33e-21ef-4dd5-9a59-d862456e7322 [2/27/2022, 2:54:20 PM] [EufySecurity-1.1.1-beta.29] DEBUG: Garage_video Closed NamePipeStream [2/27/2022, 2:54:20 PM] [EufySecurity-1.1.1-beta.29] DEBUG: Garage_audio Closed NamePipeStream [2/27/2022, 2:54:20 PM] [EufySecurity-1.1.1-beta.29] INFO: Garage Stopped video stream.
Floodlight Cam 2 Pro
@lenoxys No, not yet ... is it recommended to do so or shall I rather wait?
It is not recommended but if you want to help I need feedback on the latest beta.
Alright, have installed it.
Here's what is shown:
[eufyCam E 2] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[eufyCam E 2] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[27/02/2022, 18:28:20] [EufySecurity] Fetching snapshot took 18.325 seconds. It is highly recommended you switch to unbridge mode. eufyCam E 2
[27/02/2022, 18:28:20] [EufySecurity] eufyCam E 2 Failed to fetch snapshot.
[eufyCam E 1] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[27/02/2022, 18:28:30] [EufySecurity] eufyCam E 1 Starting video stream: 1280x720, 30 fps, 299 kbps (AAC-eld)
[27/02/2022, 18:28:35] [EufySecurity] eufyCam E 1 Stopped video stream.
[27/02/2022, 18:28:37] [EufySecurity] eufyCam E 1 FFmpeg exited with code: null and signal: SIGKILL (Forced)
[eufyCam E 2] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[eufyCam E 2] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[27/02/2022, 18:29:01] [EufySecurity] Fetching snapshot took 19.07 seconds. It is highly recommended you switch to unbridge mode. eufyCam E 2
[27/02/2022, 18:29:01] [EufySecurity] eufyCam E 2 Failed to fetch snapshot.
[eufyCam E 1] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[27/02/2022, 18:29:10] [EufySecurity] eufyCam E 2 Starting video stream: 1280x720, 30 fps, 299 kbps (AAC-eld)
[27/02/2022, 18:29:16] [EufySecurity] eufyCam E 2 Stopped video stream.
[27/02/2022, 18:29:18] [EufySecurity] eufyCam E 2 FFmpeg exited with code: null and signal: SIGKILL (Forced)
[eufyCam E 2] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[eufyCam E 2] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[27/02/2022, 18:29:51] [EufySecurity] Fetching snapshot took 19.525 seconds. It is highly recommended you switch to unbridge mode. eufyCam E 2
[27/02/2022, 18:29:51] [EufySecurity] eufyCam E 2 Failed to fetch snapshot.
[eufyCam E 2] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[eufyCam E 2] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
(node:1002) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 livestream start listeners added to [Station]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
[27/02/2022, 18:30:18] [EufySecurity] Fetching snapshot took 18.374 seconds. It is highly recommended you switch to unbridge mode. eufyCam E 2
[27/02/2022, 18:30:18] [EufySecurity] eufyCam E 2 Failed to fetch snapshot.
Let me know when anything is needed to be helped with. Good luck and thanks
I'm not looking for debug log since stream works when debug is enabled.
What the behavior you're facing? does the stream works when debug is disabled ?
No, it doesn't "NO RESPONSE"
There is one error? in the new streamingdelage.ts
The Package size in the Cameraconfig must be 1316 not 1318
If you experience problems with streaming, then less. However, it must be divisible by 188.
If you want you can install my fork and try it again.
npm install github:karesake/homebridge-eufy-security
after that dont forget to restart your homebridge
@karesake, I don't see the difference between both. However, looks like it need to be divided by 188 looking on the Internet. Thanks letting us know. I've pushed a new version to update this.
Almost. If you like, you can download the StreamingDelegate from my fork.
In line 436, I set the maxFPS to 30. HomeKit needs 30FPS and the Eufy cameras also do just under 30.
In line 437, I reduced the MaxStreams to 2.
In line 442, I reduced the package size to 1128.
On line 489 I activated the PreBuffer. Which has a very good effect.
Also in line 517 i put in the package size 1128
The streaming works since this very good and all the time. No „No Response“ since this.
@karesake, I've implemented your recommendations (beta.31). I've tested my self still doesn't see too much difference but will see with others. thanks anyway !
Almost. If you like, you can download the StreamingDelegate from my fork.
In line 436, I set the maxFPS to 30. HomeKit needs 30FPS and the Eufy cameras also do just under 30.
In line 437, I reduced the MaxStreams to 2.
In line 442, I reduced the package size to 1128.
On line 489 I activated the PreBuffer. Which has a very good effect.
Also in line 517 i put in the package size 1128
The streaming works since this very good and all the time. No „No Response“ since this.
Thank you! Finally, I can also call up my stream several times in a row without her not responding to the camera.
Thanks for working on it. I have installed v1.1.1-beta.31 and see some improvement ... even though, it is still not really working. Very slow IF steaming ... but not responding mostly.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
(node:14817) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 livestream start listeners added to [Station]. Use emitter.setMaxListeners() to increase limit
(Use `node --trace-warnings ...` to show where the warning was created)
[28/02/2022, 21:00:34] [EufySecurity] Fetching snapshot took 19.588 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[28/02/2022, 21:00:34] [EufySecurity] Wohnzimmer Kamera Failed to fetch snapshot.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:01:06] [EufySecurity] Fetching snapshot took 18.36 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[28/02/2022, 21:01:06] [EufySecurity] Wohnzimmer Kamera Failed to fetch snapshot.
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Flur Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:01:43] [EufySecurity] Fetching snapshot took 19.205 seconds. It is highly recommended you switch to unbridge mode. Flur Kamera
[28/02/2022, 21:01:43] [EufySecurity] Flur Kamera Failed to fetch snapshot.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[28/02/2022, 21:01:48] [EufySecurity] Fetching snapshot took 5.028 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Flur Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:02:15] [EufySecurity] Fetching snapshot took 19.209 seconds. It is highly recommended you switch to unbridge mode. Flur Kamera
[28/02/2022, 21:02:15] [EufySecurity] Flur Kamera Failed to fetch snapshot.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:02:53] [EufySecurity] Fetching snapshot took 18.789 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[28/02/2022, 21:02:53] [EufySecurity] Wohnzimmer Kamera Failed to fetch snapshot.
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[28/02/2022, 21:02:59] [EufySecurity] Fetching snapshot took 6.142 seconds. It is highly recommended you switch to unbridge mode. Flur Kamera
[28/02/2022, 21:02:59] [EufySecurity] Flur Kamera Failed to fetch snapshot.
[Flur Kamera] Snapshot request handler provided empty image buffer!
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:03:40] [EufySecurity] Fetching snapshot took 19.392 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[28/02/2022, 21:03:40] [EufySecurity] Wohnzimmer Kamera Failed to fetch snapshot.
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[28/02/2022, 21:03:46] [EufySecurity] Fetching snapshot took 5.249 seconds. It is highly recommended you switch to unbridge mode. Flur Kamera
[Wohnzimmer Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Wohnzimmer Kamera] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info.
[28/02/2022, 21:04:12] [EufySecurity] Fetching snapshot took 19.277 seconds. It is highly recommended you switch to unbridge mode. Wohnzimmer Kamera
[28/02/2022, 21:04:12] [EufySecurity] Wohnzimmer Kamera Failed to fetch snapshot.
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[Flur Kamera] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more in
That latest beta (31) fixes the timeout for me. Works perfect now! It does sometimes take 10 seconds or so to start, but that could be limited resources on my pi since it is around 80+% CPU. thanks for your work and fixes! Very happy with this local streaming now. Snapshots and streaming work perfect.
Looking very promising on the dockerized environment as well. I get consistent stream startups of about ~3,5 seconds (don't know if this can be further improved), this is on beta 31. One caveat with regards to local streaming seems to be some audio issues (crackling/noise/static). I can upload a sample if required.
[3/1/2022, 9:33:45 AM] [homebridge-eufy-security] Doorbell Looks like not compatible with isEnabled or this has been disabled within configuration
[3/1/2022, 9:33:45 AM] [homebridge-eufy-security] Doorbell Looks like not compatible with isMotionDetectionEnabled or this has been disabled within configuration
[3/1/2022, 9:33:45 AM] [homebridge-eufy-security] Doorbell Looks like not compatible with DeviceLight
[3/1/2022, 9:33:45 AM] [homebridge-eufy-security] Restoring existing accessory from cache: Doorbell
[3/1/2022, 9:33:45 AM] [homebridge-eufy-security] Restoring existing accessory from cache: Front Door
[Doorbell] The image snapshot handler for the given accessory is slow to respond! See https://git.io/JtMGR for more info.
[3/1/2022, 9:33:57 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280x720, 30 fps, 299 kbps (AAC-eld)
[3/1/2022, 9:34:01 AM] [homebridge-eufy-security] Doorbell Getting the first frames took 3.457 seconds.
[3/1/2022, 9:34:03 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
[3/1/2022, 9:34:05 AM] [homebridge-eufy-security] Connection closed by Eufy station.
[3/1/2022, 9:34:05 AM] [homebridge-eufy-security] ErrorCode ECONNRESET
[3/1/2022, 9:34:05 AM] [homebridge-eufy-security] Doorbell FFmpeg exited with code: null and signal: SIGKILL (Forced)
[3/1/2022, 9:34:12 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280x720, 30 fps, 299 kbps (AAC-eld)
[3/1/2022, 9:34:16 AM] [homebridge-eufy-security] Doorbell Getting the first frames took 3.522 seconds.
[3/1/2022, 9:34:27 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
[3/1/2022, 9:34:29 AM] [homebridge-eufy-security] Connection closed by Eufy station.
[3/1/2022, 9:34:29 AM] [homebridge-eufy-security] ErrorCode ECONNRESET
[3/1/2022, 9:34:29 AM] [homebridge-eufy-security] Doorbell FFmpeg exited with code: null and signal: SIGKILL (Forced)
[3/1/2022, 9:35:52 AM] [homebridge-eufy-security] write EPIPE Doorbell
[3/1/2022, 9:35:55 AM] [homebridge-eufy-security] Doorbell Starting video stream: 1280x720, 30 fps, 299 kbps (AAC-eld)
[3/1/2022, 9:35:58 AM] [homebridge-eufy-security] Doorbell Getting the first frames took 3.424 seconds.
[3/1/2022, 9:36:10 AM] [homebridge-eufy-security] Doorbell Stopped video stream.
[3/1/2022, 9:36:12 AM] [homebridge-eufy-security] Doorbell FFmpeg exited with code: null and signal: SIGKILL (Forced)
Seems stream is better this has now broken the snapshot handler it fails every time and as consequence fails the stream upon first load as it's still dealing with snapshot I think
Keep getting this:
[Doorbell] The image snapshot handler for the given accessory is slow to respond! Se ehttps://git.io/JtMGR for more info. [Doorbell] The image snapshot handler for the given accessory didn't respond at all! See https://git.io/JtMGR for more info. [01/03/2022, 08:51:24] [homebridge-eufy-se curity] Fetching snapshot took 28.044 seco nds. It is highly recommended you switch t o unbridge mode. The request has timed out and the snapshot has not been refreshed n HomeKit. Doorbell [01/03/2022, , 08:51:241 [homebridge-eufy-se curity] Doorbell Failed to fetch snapshot
Got the same stats than @alternativ
I'm thinking about configure the rtsp stream instead of getting streaming by the Eufy App at least for camera who are compatible. This will make it really fast to get stream.
Strange, I don't have the status at all. I just went through everything. Where do you run your HomeBridge? How is this connected? In my case, it is an iMac 5K with 4GHz i7, directly connected via 5GHz WLAN to the mesh system.
Because the set streaming options have nothing to do with the snapshot at first.
Have you set the streaming quality in the Eufy app to Automatic?
Got the same stats than @alternativ
I'm thinking about configure the rtsp stream instead of getting streaming by the Eufy App at least for camera who are compatible. This will make it really fast to get stream.
🥇, Looking forward to this, let me know if I [have to/can] test.
Strange, I don't have the status at all. I just went through everything. Where do you run your HomeBridge? How is this connected? In my case, it is an iMac 5K with 4GHz i7, directly connected via 5GHz WLAN to the mesh system.
Because the set streaming options have nothing to do with the snapshot at first.
Have you set the streaming quality in the Eufy app to Automatic?
I'm running on pi 3b which could be partly issue but can't get hold on 4 at moment. It's Ethernet straight to router and yes eufy settings auto in app
So just discovered if you set the video compression in eufy to low everything works super fast stream snapshots works brilliantly so far I don't know if this was already known and I missed it but I was not aware I had the quality set to auto already but I encoding by default is high changing to low which from my understanding is less compression downside I guess is file size works flawlessly
Got the same stats than @alternativ
I'm thinking about configure the rtsp stream instead of getting streaming by the Eufy App at least for camera who are compatible. This will make it really fast to get stream.
That's a point I've touched on before. The way I see it, the eufy security client also offers this option. And that should be the most reliable way to power most Eufy cameras
The problem with the Eufy RTSP stream is .. at least with the Floodligh Camera 2 Pro that the stream switches off after about three minutes and only records events and is then available for a short time.
FFMPEG should provide everything necessary to configure.
What we need would be a trigger that wakes up the camera before the stream starts and keeps it running beyond those three minutes.
Otherwise you could select the cameras that you want to operate with RTSP using the serial number.
If you like to tinker something and don't want to use the beta version directly for it. I can also offer myself as a tester. We have numerous EUfy cameras.
since we get the motion event, we can trigger it.
Great work @lenoxys and @karesake 👍🏻
What happened?
Camera Stream stopping after 5-10sec when debug is disabled but when debug is enabled no more issue the stream stop after the timeout limit configured within the settings
Device Type
Indoor Camera (Supported)
Plugin Version
beta (Best Effort)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Debian 10+ (Supported)
Relevant log output