Zone creation in settings #20600
-
Describe the problem you are havingHi, As an example, i can not close the polygone (i've tried with 3 points, 5 points, 7 points, 10 points etc) : And if I set on the last point (but no correctly closed) : Even if i'm trying to move the last point on the first point, the polygon is not recognized and closed automatically... Any idea ? Version0.16.2-4d58206 Frigate config filemqtt:
enabled: true
host: 192.168.2.90
port: 1883
user: jeedom
password: jeedom06!
detectors:
coral:
type: edgetpu
device: pci
ffmpeg:
hwaccel_args: []
birdseye:
enabled: true
mode: continuous
width: 1920
height: 1080
quality: 5
record:
enabled: true
retain:
days: 2
mode: active_objects
snapshots:
enabled: true
clean_copy: true
timestamp: true
bounding_box: true
crop: false
retain:
default: 180
timestamp_style:
position: tr
format: '%d/%m/%Y %H:%M:%S'
environment_vars:
TZ: Europe/Paris
go2rtc:
log:
exec: trace
streams:
nord_parking: rtsp://login:[email protected]:554/stream1
sud_portail: rtsp://login:[email protected]:554/stream1
ouest_foret: rtsp://login:[email protected]:554/stream1
nord_carport: rtsp://login:[email protected]:554/stream1
int_veranda: rtsp://login:[email protected]:554/stream1
int_garage: rtsp://login:[email protected]:554/stream1
cameras:
sud_portail:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/sud_portail
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
stationary:
interval: 50
threshold: 50
motion:
threshold: 25
objects:
track: [person, car, cat, dog, bird, horse, sheep, cow, bicycle,
motorcycle, truck, bus]
int_veranda:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/int_veranda
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
stationary:
interval: 50
threshold: 50
motion:
threshold: 25
objects:
track: [person, cat]
int_garage:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/int_garage
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
stationary:
interval: 50
threshold: 50
motion:
threshold: 25
objects:
track: [person, cat]
nord_carport:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/nord_carport
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
stationary:
interval: 50
threshold: 50
motion:
threshold: 25
objects:
track: [person, car, cat, dog, bird, horse, sheep, cow, bicycle,
motorcycle, truck, bus]
nord_parking:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/nord_parking
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
motion:
threshold: 25
objects:
track: [person, cat, dog, bird, horse, sheep, cow]
ouest_foret:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/ouest_foret
input_args: preset-rtsp-restream
roles: [detect, record]
detect:
enabled: true
width: 1280
height: 720
fps: 4
motion:
threshold: 25
objects:
track: [person, cat, dog, bird, horse, sheep, cow]
tablette_entree:
snapshots:
enabled: true
record:
enabled: false
ffmpeg:
inputs:
- path: http://192.168.2.210:8090/stream/video_delayed.mjpg
input_args: -f mjpeg -r 2
hwaccel_args: []
roles: [detect]
detect:
enabled: true
width: 640
height: 480
fps: 1
motion:
threshold: 25
objects:
track: [person, cat]
tablette_cuisine:
snapshots:
enabled: true
record:
enabled: false
ffmpeg:
inputs:
- path: http://192.168.2.208:8090/stream/video_delayed.mjpg
input_args: -f mjpeg -r 2
hwaccel_args: []
roles: [detect]
detect:
enabled: true
width: 640
height: 480
fps: 1
motion:
threshold: 25
objects:
track: [person, cat]
tablette_couloir:
snapshots:
enabled: true
record:
enabled: false
ffmpeg:
inputs:
- path: http://192.168.2.209:8090/stream/video_delayed.mjpg
input_args: -f mjpeg -r 2
hwaccel_args: []
roles: [detect]
detect:
enabled: true
width: 640
height: 480
fps: 1
motion:
threshold: 25
objects:
track: [person, cat]
version: 0.16-0
camera_groups:
Extérieur:
order: 1
icon: LuTrees
cameras:
- sud_portail
- ouest_foret
- nord_parking
- nord_carport
Intérieur:
order: 2
icon: LuHouse
cameras:
- int_veranda
- int_garage
- tablette_entree
- tablette_cuisine
- tablette_couloirRelevant Frigate log output2025-10-21 14:17:52.435558117 [INFO] Preparing Frigate...
2025-10-21 14:17:52.953071778 [INFO] Starting Frigate...
2025-10-21 14:17:55.513264850 [2025-10-21 14:17:55] frigate.util.config INFO : Checking if frigate config needs migration...
2025-10-21 14:17:55.561991896 [2025-10-21 14:17:55] frigate.util.config INFO : frigate config does not need migration...
2025-10-21 14:17:55.600978257 [2025-10-21 14:17:55] frigate.config.config WARNING : sud_portail: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.601983200 [2025-10-21 14:17:55] frigate.config.config WARNING : sud_portail: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.602425592 [2025-10-21 14:17:55] frigate.config.config WARNING : sud_portail is configured to track ['truck'] objects, which are not supported by the current model.
2025-10-21 14:17:55.603079345 [2025-10-21 14:17:55] frigate.config.config WARNING : int_veranda: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.603865098 [2025-10-21 14:17:55] frigate.config.config WARNING : int_veranda: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.604947409 [2025-10-21 14:17:55] frigate.config.config WARNING : int_garage: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.605734562 [2025-10-21 14:17:55] frigate.config.config WARNING : int_garage: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.606330863 [2025-10-21 14:17:55] frigate.config.config WARNING : nord_carport: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.607109001 [2025-10-21 14:17:55] frigate.config.config WARNING : nord_carport: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.607423886 [2025-10-21 14:17:55] frigate.config.config WARNING : nord_carport is configured to track ['truck'] objects, which are not supported by the current model.
2025-10-21 14:17:55.608496889 [2025-10-21 14:17:55] frigate.config.config WARNING : nord_parking: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.608817650 [2025-10-21 14:17:55] frigate.config.config WARNING : nord_parking: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.609433438 [2025-10-21 14:17:55] frigate.config.config WARNING : ouest_foret: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.611138812 [2025-10-21 14:17:55] frigate.config.config WARNING : ouest_foret: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.611855839 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_entree: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.612765376 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_entree: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.614438112 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_cuisine: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.615947536 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_cuisine: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.616508267 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_couloir: Recording retention is configured for RetainModeEnum.active_objects and alert retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.616893086 [2025-10-21 14:17:55] frigate.config.config WARNING : tablette_couloir: Recording retention is configured for RetainModeEnum.active_objects and detection retention is configured for RetainModeEnum.motion. The more restrictive retention policy will be applied.
2025-10-21 14:17:55.617332364 [2025-10-21 14:17:55] frigate.app INFO : Starting Frigate (0.16.2-4d58206)
2025-10-21 14:17:55.642971674 [2025-10-21 14:17:55] peewee_migrate.logs INFO : Starting migrations
2025-10-21 14:17:55.644910216 [2025-10-21 14:17:55] peewee_migrate.logs INFO : There is nothing to migrate
2025-10-21 14:17:55.653958363 [2025-10-21 14:17:55] frigate.app INFO : Recording process started: 376
2025-10-21 14:17:55.662677742 [2025-10-21 14:17:55] frigate.app INFO : Review process started: 379
2025-10-21 14:17:55.666351293 [2025-10-21 14:17:55] frigate.app INFO : go2rtc process pid: 115
2025-10-21 14:17:55.810500953 [2025-10-21 14:17:55] detector.coral INFO : Starting detection process: 401
2025-10-21 14:17:55.812826875 [2025-10-21 14:17:55] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci
2025-10-21 14:17:55.833086021 [2025-10-21 14:17:55] frigate.app INFO : Output process started: 421
2025-10-21 14:17:55.837832171 [2025-10-21 14:17:55] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-10-21 14:17:55.839820577 INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
2025-10-21 14:17:55.887567702 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for sud_portail: 452
2025-10-21 14:17:55.948140272 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for int_veranda: 457
2025-10-21 14:17:55.975456854 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for int_garage: 470
2025-10-21 14:17:56.009652631 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for nord_carport: 478
2025-10-21 14:17:56.012198376 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for nord_parking: 489
2025-10-21 14:17:56.012380026 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for ouest_foret: 500
2025-10-21 14:17:56.013572577 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for tablette_entree: 511
2025-10-21 14:17:56.014799042 [2025-10-21 14:17:55] frigate.app INFO : Camera processor started for tablette_cuisine: 517
2025-10-21 14:17:56.015505841 [2025-10-21 14:17:56] frigate.app INFO : Camera processor started for tablette_couloir: 536
2025-10-21 14:17:56.046998530 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for sud_portail: 553
2025-10-21 14:17:56.061400893 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for int_veranda: 560
2025-10-21 14:17:56.095878879 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for int_garage: 573
2025-10-21 14:17:56.110123375 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for nord_carport: 579
2025-10-21 14:17:56.133906330 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for nord_parking: 593
2025-10-21 14:17:56.156789247 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for ouest_foret: 603
2025-10-21 14:17:56.173575370 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for tablette_entree: 614
2025-10-21 14:17:56.211170447 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for tablette_cuisine: 625
2025-10-21 14:17:56.225086881 [2025-10-21 14:17:56] frigate.app INFO : Capture process started for tablette_couloir: 627
2025-10-21 14:17:56.430784063 [2025-10-21 14:17:56] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-10-21 14:17:56.663404699 [2025-10-21 14:17:56] frigate.api.fastapi_app INFO : FastAPI startedRelevant go2rtc log output2025-10-21 14:17:52.871755706 [INFO] Preparing new go2rtc config...
2025-10-21 14:17:53.367776902 [INFO] Starting go2rtc...
2025-10-21 14:17:53.443787436 14:17:53.443 INF go2rtc platform=linux/amd64 revision=fa580c5 version=1.9.9
2025-10-21 14:17:53.443791100 14:17:53.443 INF config path=/dev/shm/go2rtc.yaml
2025-10-21 14:17:53.444244188 14:17:53.444 INF [api] listen addr=:1984
2025-10-21 14:17:53.444383411 14:17:53.444 INF [rtsp] listen addr=:8554
2025-10-21 14:17:53.444708276 14:17:53.444 INF [webrtc] listen addr=:8555
2025-10-21 14:18:02.339730050 [INFO] Starting go2rtc healthcheck service...
2025-10-21 14:18:14.061361431 14:18:14.061 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=blabla.blabla.com origin=https://blabla.blabla.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"
2025-10-21 14:18:15.129077305 14:18:15.128 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=blabla.blabla.com origin=https://blabla.blabla.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"
2025-10-21 14:18:16.209771176 14:18:16.209 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=frigate.blabla.ovh origin=https://blabla.blabla.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"
2025-10-21 14:18:17.278958429 14:18:17.278 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=frigate.blabla.ovh origin=https://blabla.blabla.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"Frigate statsNo response Operating systemProxmox Install methodDocker Compose docker-compose file or Docker CLI commandversion: "3.9"
services:
frigate:
container_name: frigate
image: ghcr.io/blakeblackshear/frigate:stable
privileged: true
restart: unless-stopped
stop_grace_period: 30s
shm_size: 1gb
devices:
- /dev/apex_0 # Coral PCIe
volumes:
- /mnt/QNAP/Frigate/config.yml:/config/config.yml
- /mnt/QNAP/Frigate/media:/media
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
ports:
- "5000:5000" # Interface web
- "5001:5001" # Backend API (auth)
- "8554:8554" # RTSP
- "8555:8555" # WebRTCObject DetectorCoral Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
This is a known issue with the Brave browser. The zone creation problems you're experiencing are caused by Brave Shields blocking the polygon closing functionality (1) (2). To fix this issue, you need to disable Brave Shields for your Frigate site (1) (2). Once you disable Brave Shields, you should be able to create zones normally by clicking on points to create a polygon and then clicking the first point again to close it (3). To create a zone using the mask creator (3):
During testing, enable the Zones option for the Debug view of your camera (Settings --> Debug) so you can adjust as needed (4). The zone line will increase in thickness when any object enters the zone (4). Your config file will be updated with the relative coordinates of the mask/zone (3): 📚 Sources:
Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you, i'll confirm. |
Beta Was this translation helpful? Give feedback.



This is a known issue with the Brave browser. The zone creation problems you're experiencing are caused by Brave Shields blocking the polygon closing functionality (1) (2).
To fix this issue, you need to disable Brave Shields for your Frigate site (1) (2). Once you disable Brave Shields, you should be able to create zones normally by clicking on points to create a polygon and then clicking the first point again to close it (3).
To create a zone using the mask creator (3):