Closed lucasteligioridis closed 1 year ago
you named your go2rtc stream my_camera
and don't have a matching camera in the cameras section. Like the docs say, these need to match to be used in home assistant and the live view
you named your go2rtc stream
my_camera
and don't have a matching camera in the cameras section. Like the docs say, these need to match to be used in home assistant and the live view
I just edited that, and modified it to correct, I just changed the camera names to be more general for this issue
So the config file as it is right now is what you have? Because it is wrong
Yeah essentially, can you help explain whats wrong please?
The go2rtc stream is named my_camera
and the camera in cameras
is named garage_cctv
. These need to match like the docs say.
The go2rtc stream is named
my_camera
and the camera incameras
is namedgarage_cctv
. These need to match like the docs say.
Sorry like I said in the early comment. I renamed the cameras before hitting post on this issue, so in reality it's named the same, it was just an error in my post. Which I've edited in the config as you can see now.
I have about 6 cameras setup and they're all setup in this exact same way, with 2 streams for each of them, one for high quality record and the other for lower 720p for detect.
I renamed the cameras before hitting post on this issue, so in reality it's named the same, it was just an error in my post
in general changing the config from what you actually have will ONLY cause confusion as you could easily be changing something that is important.
I have about 6 cameras setup and they're all setup in this exact same way, with 2 streams for each of them, one for high quality record and the other for lower 720p for detect.
so all of your cameras are called my_camera ?
Please just put the config file as you actually have it (minus passwords) so it is easy to see the actual file instead of the possibility that you edited out the problem
Please just put the config file as you actually have it (minus passwords) so it is easy to see the actual file instead of the possibility that you edited out the problem
Done, I just redacted the sensitive information and updated both the config and the stats output directly from my system with no further editing.
Okay, and do the MSE / WebRTC live views work in frigate webUI?
Yep, all the views within Frigate work perfectly.
Okay, check the frigate integration diagnostics and post them here
Okay the version looks good, in that case I would suggest checking the HA logs for errors.
Here is an example of me opening a stream right now in HA:
2023-07-14 08:29:07.814 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:29:37.816 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:30:17.818 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:31:07.820 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:32:07.822 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:33:17.824 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:34:37.826 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
2023-07-14 08:36:07.828 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.backdoor_cctv] Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused) rtsp://frigate.home:8554/backdoor_cctv
Oh my god I'm embarrassed, I think I know the issue :( nothing to do with Frigate at all
It's 100% a port issue with my reverse proxy, its not forwarding the go2rtc/stream port, just the Web UI of Frigate via port 80.
I'll go dig into that and sorry for wasting your time!
While I have you and my config is all here, is there anything in regards to my input/output args and the way I'm using my camera streams here that is not correct (high quality for record and low for detect)? Or all looks hunky dory?
Ah yeah, that will do it. and no I think it looks fine
Great thanks mate and sorry again for time wasting!
Describe the problem you are having
When trying to open a stream via HomeAssistant entity, I can see the camera entity for my inputs, but when I click to open it the stream is never active. It only ever has a thumbnail showing the last still image and eventually it just errors with a time out" error.
I am actually wondering if I've configured my Unifi cameras correctly in frigate / something to do with my go2rtc config? I have a feeling perhaps my input/output args are not set correctly?
Any help or direction would be appreciated :)
Version
0.12.1-367d724
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
UNRAID
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
Unifi G4 Pro and Unifi G4 Instant
Any other information that may be helpful
No response