I’m currently trying to understand the following problem:
I have frigate server running under http://nas.lan:30158 with the following configuration:
mqtt:
enabled: true
host: 192.168.1.206
port: 1883
user: frigate
password: dd
tls:
enabled: false
detectors:
ov:
type: openvino
device: CPU
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
path: /openvino-model/ssdlite_mobilenet_v2.xml
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
record:
enabled: true
retain:
days: 3
mode: all
alerts:
retain:
days: 7
detections:
retain:
days: 7
snapshots:
enabled: true
retain:
default: 30
go2rtc:
streams:
stall:
- ffmpeg:rtsp://camera:[email protected]:554/stream1
- ffmpeg:stall#audio=opus
garten:
- ffmpeg:rtsp://camera:[email protected]:554/stream1
- ffmpeg:stall#audio=opus
webrtc:
candidates:
- 192.168.1.7:30161
- stun:30161
cameras:
stall: # <------ Name the camera
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/stall # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- detect
- record
detect:
enabled: false # <---- disable detection until you have a working camera feed
width: 1280
height: 720
garten: # <------ Name the camera
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/garten # <--- the name here must match the name of the camera in restream
input_args: preset-rtsp-restream
roles:
- detect
- record
detect:
enabled: true # <---- disable detection until you have a working camera feed
width: 1280
height: 720
motion:
threshold: 40
contour_area: 15
improve_contrast: 'true'
mask:
- 0.311,0.04,0.311,0,0,0.002,0,0.038
- 0.765,0.166,0.882,0.188,0.858,0.536,0.753,0.427
version: 0.15-1
I then use the Frigate integration into Home Assistant. Furthermore, I access Home Assistant through a reverse proxy. Everything works, except that when I access my Home Assistant from outside my local network, I can not get live video to work. It works however when I’m in the same network.
So it seems that somehow the UI tries to create a connection that is not open on my router (or reverse proxy setup).
Can someone help me out and let me know what might be causing this?