[Config Support]: False Positives or Mis-Configured? #15002
-
Describe the problem you are havingHello, I am trying to add all the information to this post that would be needed: My Problem: I am triggering an "Automation" over in HomeAssistant with "false positives". Thus, if a car or person enters the Frigate zone, then HA sees the count change to >0. Without further ado, below the yml for the HA Automation.
During the day, multiple cars/people will cross the zone. That is why the HA Automation has a time-condition. We have 15 cameras right now in the config file... yet I have simplified it down to the single camera I want to have the zone working. Any and ALL feedback is greatly appreciated! Below the camera in question, with the zones shown. EOF Version0.14.0-da913d8 Frigate config filemqtt:
enabled: true # Set this to true if you want to use MQTT
host: 10.0.0.24
user: mqtt_user
password: pwd_here
database:
path: /config/db/frigate.db
detectors:
nvidia:
type: tensorrt
device: 0
model:
path: /config/model_cache/tensorrt/yolov7-320.trt
input_tensor: nchw
input_pixel_format: rgb
width: 320
height: 320
auth:
enabled: true
tls:
enabled: false
ffmpeg:
hwaccel_args: auto
input_args: preset-rtsp-generic
output_args:
detect: -threads 2 -f rawvideo -pix_fmt yuv420p
record: preset-record-generic
retry_interval: 10
objects:
# List of objects to track from the model's labelmap
track:
- person # Track people in the store
- face # For identifying faces (may need specific face detection model)
- car # Track cars in parking areas
- motorcycle # Track motorcycles in parking areas
- backpack # Useful to identify items carried by customers, e.g., theft prevention
- handbag # Similar to backpack, for theft prevention
- bicycle # For outdoor parking or retail bike areas
- truck # Useful for delivery vehicles
- dog # If you want to identify pets coming into the retail area
- cat # Optionally add if relevant for pet-friendly areas
go2rtc:
rtsp:
username: zmAdmin
password: rtsp_pwd_here
streams:
EntranceLookingOut:
- rtsp://admin:[email protected]:554/h264Preview_01_main
EntranceLookingOut_sub:
- rtsp://admin:[email protected]:554/h264Preview_01_sub
cameras:
EntranceLookingOut: ##############################################
ui:
order: 310
ffmpeg:
hwaccel_args: preset-nvidia-h264
inputs:
- path: rtsp://127.0.0.1:8554/EntranceLookingOut
roles:
- record
- detect # yesterday 2024-11-14 I added the detect to this full-resolution stream. Yet if I use the 'fluent' lower quality stream I still get false-positives.
live:
stream_name: EntranceLookingOut
review:
alerts:
labels:
- person
- car
required_zones:
- zone-People-Cars-Entrada-Looking-Out
- zone-People-Looking-Out
detections:
labels:
- person
- car
required_zones:
- zone-People-Cars-Entrada-Looking-Out
- zone-People-Looking-Out
zones:
zone-People-Looking-Out:
coordinates:
0.699,0.089,0.333,0.421,0.098,0.633,0.014,0.714,0.005,0.457,0.072,0.353,0.047,0.207,0.101,0.186,0.314,0.103,0.492,0.076,0.696,0.061
inertia: 3
loitering_time: 3
objects:
- backpack
- person
zone-People-Cars-Entrada-Looking-Out:
coordinates:
0.017,0.719,0.233,1,0.88,1,0.962,0.728,0.976,0.241,0.67,0.147,0.579,0.216,0.427,0.347
inertia: 3
loitering_time: 10
objects:
- person
- car
- truck
- motorcycle
- backpack
- bicycle
motion:
mask: 0,0.221,0,0,1,0,1,0.067,0.706,0.032,0.311,0.1
threshold: 30
contour_area: 10
improve_contrast: true
version: 0.14
record:
enabled: true
retain:
days: 30
mode: motion
events:
retain:
default: 90
mode: motion Relevant Frigate log output2024-11-14 21:15:48.794274693 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for Escaleras: 1010
2024-11-14 21:15:48.802838027 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for CarlosPiezas: 1025
2024-11-14 21:15:48.810349764 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for FrontParking: 1033
2024-11-14 21:15:48.817489779 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for EntranceLookingOut: 1041
2024-11-14 21:15:48.824285615 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for PiezasLobby: 1042
2024-11-14 21:15:48.831326954 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for TallerLobby: 1049
2024-11-14 21:15:48.838607354 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for TallerArriba: 1056
2024-11-14 21:15:48.845717503 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for TallerAfuera: 1063
2024-11-14 21:15:48.852890050 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for TallerAtras: 1066
2024-11-14 21:15:48.860268285 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for EntranceLookingIn: 1068
2024-11-14 21:15:48.912067838 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for WarehousePeatonal: 1097
2024-11-14 21:15:48.920546432 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for WarehouseOverview1: 1105
2024-11-14 21:15:48.928167285 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for WarehouseOverview2: 1113
2024-11-14 21:15:48.935231177 [2024-11-14 21:15:48] frigate.app INFO : Camera processor started for WarehouseRampa2: 1121
2024-11-14 21:15:48.942388224 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for Entrada: 1129
2024-11-14 21:15:48.949012325 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for ShowroomYamaha: 1132
2024-11-14 21:15:48.959044373 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for Escaleras: 1136
2024-11-14 21:15:48.967125806 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for CarlosPiezas: 1140
2024-11-14 21:15:48.977943006 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for FrontParking: 1147
2024-11-14 21:15:48.986626807 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for EntranceLookingOut: 1154
2024-11-14 21:15:48.997577049 [2024-11-14 21:15:48] frigate.app INFO : Capture process started for PiezasLobby: 1162
2024-11-14 21:15:49.008351880 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for TallerLobby: 1169
2024-11-14 21:15:49.016732919 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for TallerArriba: 1174
2024-11-14 21:15:49.028663552 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for TallerAfuera: 1180
2024-11-14 21:15:49.037650035 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for TallerAtras: 1187
2024-11-14 21:15:49.049028906 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for EntranceLookingIn: 1194
2024-11-14 21:15:49.058475978 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for WarehousePeatonal: 1201
2024-11-14 21:15:49.070287467 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for WarehouseOverview1: 1208
2024-11-14 21:15:49.079691989 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for WarehouseOverview2: 1215
2024-11-14 21:15:49.091196708 [2024-11-14 21:15:49] frigate.app INFO : Capture process started for WarehouseRampa2: 1223
2024-11-14 21:20:19.735648491 [2024-11-14 21:20:19] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:24.656887296 [2024-11-14 21:20:24] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:28.052289783 [2024-11-14 21:20:28] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:30.124077230 [2024-11-14 21:20:30] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:42.315081383 [2024-11-14 21:20:42] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:44.299558668 [2024-11-14 21:20:44] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:20:45.801994393 [2024-11-14 21:20:45] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/01/EntranceLookingOut/20.00.mp4
2024-11-14 21:23:16.480419621 [2024-11-14 21:23:16] frigate.comms.dispatcher INFO : Turning on snapshots for EntranceLookingOut
2024-11-14 23:05:54.603748007 Traceback (most recent call last):
2024-11-14 23:05:54.603750762 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:05:54.603751964 self.result = application(self.environ, self.start_response)
2024-11-14 23:05:54.603766582 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:05:54.603767514 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:05:54.603768225 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:05:54.912878818 Traceback (most recent call last):
2024-11-14 23:05:54.912882044 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:05:54.912883247 self.result = application(self.environ, self.start_response)
2024-11-14 23:05:54.912884158 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:05:54.912886353 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:05:54.912920798 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:00.300357109 Traceback (most recent call last):
2024-11-14 23:06:00.300360866 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:00.300362419 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:00.300379942 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:00.300381205 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:00.300382136 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:05.666674131 Traceback (most recent call last):
2024-11-14 23:06:05.666677367 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:05.666678619 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:05.666679511 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:05.666680262 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:05.666680954 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:11.077395262 Traceback (most recent call last):
2024-11-14 23:06:11.077398748 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:11.077400041 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:11.077400923 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:11.077401714 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:11.077422153 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:11.619171681 [2024-11-14 23:06:11] frigate.api.media WARNING : Recording clip is missing or empty: /media/frigate/recordings/2024-11-15/03/EntranceLookingOut/00.00.mp4
2024-11-14 23:06:16.467831615 Traceback (most recent call last):
2024-11-14 23:06:16.467877171 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:16.467878594 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:16.467887661 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:16.467888613 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:16.467895306 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:21.833833734 Traceback (most recent call last):
2024-11-14 23:06:21.833837551 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:21.833839104 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:21.833857549 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:21.833858711 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:21.833859592 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:27.164391934 Traceback (most recent call last):
2024-11-14 23:06:27.164398146 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:27.164400470 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:27.164402634 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:27.164404267 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:27.164428233 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:32.575982029 Traceback (most recent call last):
2024-11-14 23:06:32.575985345 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:32.575986267 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:32.575986958 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:32.575987550 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:32.576000334 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:37.988240473 Traceback (most recent call last):
2024-11-14 23:06:37.988244912 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:37.988246435 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:37.988264769 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:37.988265941 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:37.988266843 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:43.452572295 Traceback (most recent call last):
2024-11-14 23:06:43.452575791 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:43.452576713 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:43.452577385 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:43.452577986 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:43.452591391 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:49.163249960 Traceback (most recent call last):
2024-11-14 23:06:49.163254558 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:49.163256101 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:49.163274246 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:49.163275418 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:49.163276309 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:06:54.805561098 Traceback (most recent call last):
2024-11-14 23:06:54.805713255 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:06:54.805715029 self.result = application(self.environ, self.start_response)
2024-11-14 23:06:54.805716321 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:06:54.805717233 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:06:54.805728153 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:07:01.091292906 Traceback (most recent call last):
2024-11-14 23:07:01.091296693 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:07:01.091297564 self.result = application(self.environ, self.start_response)
2024-11-14 23:07:01.091298216 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:07:01.091298767 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:07:01.091311461 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:07:08.874838645 Traceback (most recent call last):
2024-11-14 23:07:08.874858002 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:07:08.874859104 self.result = application(self.environ, self.start_response)
2024-11-14 23:07:08.874860066 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:07:08.874861418 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:07:08.874862360 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:07:15.917379460 Traceback (most recent call last):
2024-11-14 23:07:15.917440566 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:07:15.917442299 self.result = application(self.environ, self.start_response)
2024-11-14 23:07:15.917453530 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:07:15.917454682 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:07:15.917495008 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:07:25.970545501 Traceback (most recent call last):
2024-11-14 23:07:25.970587430 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:07:25.970589164 self.result = application(self.environ, self.start_response)
2024-11-14 23:07:25.970590406 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:07:25.970591258 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:07:25.970600906 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:09:54.940391940 Traceback (most recent call last):
2024-11-14 23:09:54.940395006 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:09:54.940395907 self.result = application(self.environ, self.start_response)
2024-11-14 23:09:54.940396569 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:09:54.940397150 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:09:54.940409112 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:10:00.326038711 Traceback (most recent call last):
2024-11-14 23:10:00.326041577 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:10:00.326043020 self.result = application(self.environ, self.start_response)
2024-11-14 23:10:00.326043731 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:10:00.326044232 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:10:00.326061575 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:10:05.698764019 Traceback (most recent call last):
2024-11-14 23:10:05.698767406 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:10:05.698768318 self.result = application(self.environ, self.start_response)
2024-11-14 23:10:05.698768999 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:10:05.698769600 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:10:05.698783336 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:10:11.241415030 Traceback (most recent call last):
2024-11-14 23:10:11.241417965 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:10:11.241418837 self.result = application(self.environ, self.start_response)
2024-11-14 23:10:11.241419568 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:10:11.241420160 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:10:11.241420681 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined
2024-11-14 23:10:16.743612372 Traceback (most recent call last):
2024-11-14 23:10:16.743616530 File "/usr/lib/python3.9/wsgiref/handlers.py", line 137, in run
2024-11-14 23:10:16.743617982 self.result = application(self.environ, self.start_response)
2024-11-14 23:10:16.743635285 File "/usr/local/lib/python3.9/dist-packages/ws4py/server/wsgiutils.py", line 101, in __call__
2024-11-14 23:10:16.743636407 raise HandshakeError('Header %s is not defined' % key)
2024-11-14 23:10:16.743637339 ws4py.exc.HandshakeError: Header HTTP_UPGRADE is not defined Relevant go2rtc log output2024-11-14 21:14:10.276677635 [INFO] Preparing new go2rtc config...
2024-11-14 21:14:10.528311062 [INFO] Starting go2rtc...
2024-11-14 21:14:10.626059087 21:14:10.626 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-11-14 21:14:10.626069927 21:14:10.626 INF config path=/dev/shm/go2rtc.yaml
2024-11-14 21:14:10.626411352 21:14:10.626 INF [api] listen addr=:1984
2024-11-14 21:14:10.626511071 21:14:10.626 INF [rtsp] listen addr=:8554
2024-11-14 21:14:10.626655924 21:14:10.626 INF [webrtc] listen addr=:8555/tcp
2024-11-14 21:14:20.274181916 [INFO] Starting go2rtc healthcheck service...
2024-11-14 21:14:31.437982827 21:14:31.437 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.22.0.2:47842->10.0.30.228:554: i/o timeout" url=rtsp://admin:[email protected]:554/h264Preview_01_sub
2024-11-14 21:20:00.084658402 21:20:00.084 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=nvr.msprcloud.com origin=https://nvr.msprcloud.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"
2024-11-14 23:06:00.889423658 23:06:00.889 ERR github.com/AlexxIT/go2rtc/internal/api/ws/ws.go:105 > host=nvr.msprcloud.com origin=https://nvr.msprcloud.com error="websocket: the client is not using the websocket protocol: 'websocket' token not found in 'Upgrade' header"
2024-11-14 23:12:07.834185003 23:12:07.833 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.22.0.2:34978->10.0.30.235:554: i/o timeout" url=rtsp://admin:[email protected]:554/h264Preview_01_main Frigate stats{
"cameras": {
"CarlosPiezas": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1140,
"detection_enabled": true,
"detection_fps": 0,
"ffmpeg_pid": 1149,
"pid": 1025,
"process_fps": 5,
"skipped_fps": 0
},
"Entrada": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1129,
"detection_enabled": true,
"detection_fps": 5.2,
"ffmpeg_pid": 676286,
"pid": 1001,
"process_fps": 5.1,
"skipped_fps": 0
},
"EntranceLookingIn": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1194,
"detection_enabled": true,
"detection_fps": 0.1,
"ffmpeg_pid": 1202,
"pid": 1068,
"process_fps": 5.1,
"skipped_fps": 0
},
"EntranceLookingOut": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 4.9,
"capture_pid": 1154,
"detection_enabled": true,
"detection_fps": 9,
"ffmpeg_pid": 1161,
"pid": 1041,
"process_fps": 4.9,
"skipped_fps": 0
},
"Escaleras": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1136,
"detection_enabled": true,
"detection_fps": 5.1,
"ffmpeg_pid": 1145,
"pid": 1010,
"process_fps": 5,
"skipped_fps": 0
},
"FrontParking": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1147,
"detection_enabled": true,
"detection_fps": 4.8,
"ffmpeg_pid": 1155,
"pid": 1033,
"process_fps": 5,
"skipped_fps": 0
},
"PiezasLobby": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1162,
"detection_enabled": true,
"detection_fps": 23.1,
"ffmpeg_pid": 1170,
"pid": 1042,
"process_fps": 5,
"skipped_fps": 0
},
"ShowroomYamaha": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1132,
"detection_enabled": true,
"detection_fps": 16.1,
"ffmpeg_pid": 1137,
"pid": 1009,
"process_fps": 5.1,
"skipped_fps": 0
},
"TallerAfuera": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1180,
"detection_enabled": true,
"detection_fps": 0.5,
"ffmpeg_pid": 1188,
"pid": 1063,
"process_fps": 5.1,
"skipped_fps": 0
},
"TallerArriba": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1174,
"detection_enabled": true,
"detection_fps": 0.3,
"ffmpeg_pid": 1181,
"pid": 1056,
"process_fps": 5.1,
"skipped_fps": 0
},
"TallerAtras": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1187,
"detection_enabled": true,
"detection_fps": 5.3,
"ffmpeg_pid": 1195,
"pid": 1066,
"process_fps": 5.1,
"skipped_fps": 0
},
"TallerLobby": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5.1,
"capture_pid": 1169,
"detection_enabled": true,
"detection_fps": 4,
"ffmpeg_pid": 1177,
"pid": 1049,
"process_fps": 5.1,
"skipped_fps": 0
},
"WarehouseOverview1": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1208,
"detection_enabled": true,
"detection_fps": 0,
"ffmpeg_pid": 1219,
"pid": 1105,
"process_fps": 5,
"skipped_fps": 0
},
"WarehouseOverview2": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1215,
"detection_enabled": true,
"detection_fps": 0,
"ffmpeg_pid": 1222,
"pid": 1113,
"process_fps": 5,
"skipped_fps": 0
},
"WarehousePeatonal": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1201,
"detection_enabled": true,
"detection_fps": 0.8,
"ffmpeg_pid": 1209,
"pid": 1097,
"process_fps": 5,
"skipped_fps": 0
},
"WarehouseRampa2": {
"audio_dBFS": 0,
"audio_rms": 0,
"camera_fps": 5,
"capture_pid": 1223,
"detection_enabled": true,
"detection_fps": 4.5,
"ffmpeg_pid": 1234,
"pid": 1121,
"process_fps": 5,
"skipped_fps": 0
}
},
"cpu_usages": {
"1": {
"cmdline": "/package/admin/s6/command/s6-svscan -d4 -- /run/service",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"16": {
"cmdline": "s6-supervise s6-linux-init-shutdownd",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"18": {
"cmdline": "/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"25": {
"cmdline": "s6-supervise frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"26": {
"cmdline": "s6-supervise certsync-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"27": {
"cmdline": "s6-supervise nginx-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"28": {
"cmdline": "s6-supervise nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"29": {
"cmdline": "s6-supervise frigate-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"30": {
"cmdline": "s6-supervise s6rc-oneshot-runner",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"31": {
"cmdline": "s6-supervise s6rc-fdholder",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"32": {
"cmdline": "s6-supervise certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"33": {
"cmdline": "s6-supervise go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"34": {
"cmdline": "s6-supervise go2rtc-log",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"35": {
"cmdline": "s6-supervise go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"46": {
"cmdline": "/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"47": {
"cmdline": "/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"95": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"96": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"97": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"98": {
"cmdline": "s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"104": {
"cmdline": "/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml",
"cpu": "25.9",
"cpu_average": "24",
"mem": "0.2"
},
"114": {
"cmdline": "bash ./run.user go2rtc-healthcheck",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"115": {
"cmdline": "python3 -u -m frigate",
"cpu": "18.6",
"cpu_average": "16",
"mem": "5.5"
},
"130": {
"cmdline": "nginx: master process nginx",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"197": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1"
},
"198": {
"cmdline": "nginx: worker process",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.1"
},
"199": {
"cmdline": "nginx: worker process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.1"
},
"200": {
"cmdline": "nginx: worker process",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.1"
},
"201": {
"cmdline": "nginx: cache manager process",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"334": {
"cmdline": "bash ./run.user certsync",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"430": {
"cmdline": "frigate.logger ",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.2"
},
"866": {
"cmdline": "frigate.recording_manager",
"cpu": "13.2",
"cpu_average": "14",
"mem": "0.4"
},
"870": {
"cmdline": "frigate.review_segment_manager",
"cpu": "1.4",
"cpu_average": "1",
"mem": "0.4"
},
"889": {
"cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(87)",
"cpu": "0.6",
"cpu_average": "0",
"mem": "0.0"
},
"890": {
"cmdline": "frigate.detector.nvidia",
"cpu": "17.7",
"cpu_average": "8",
"mem": "0.8"
},
"892": {
"cmdline": "frigate.output ",
"cpu": "13.0",
"cpu_average": "8",
"mem": "0.4"
},
"904": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"909": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"914": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"919": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"924": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"929": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 2048x1536 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"934": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"939": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"944": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"949": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"954": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"959": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"964": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"969": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"974": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"979": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"984": {
"cmdline": "ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"1001": {
"cmdline": "frigate.process:Entrada",
"cpu": "11.0",
"cpu_average": "1",
"mem": "0.6"
},
"1009": {
"cmdline": "frigate.process:ShowroomYamaha",
"cpu": "50.3",
"cpu_average": "31",
"mem": "0.7"
},
"1010": {
"cmdline": "frigate.process:Escaleras",
"cpu": "9.6",
"cpu_average": "2",
"mem": "0.6"
},
"1025": {
"cmdline": "frigate.process:CarlosPiezas",
"cpu": "0.7",
"cpu_average": "0",
"mem": "0.6"
},
"1033": {
"cmdline": "frigate.process:FrontParking",
"cpu": "5.8",
"cpu_average": "3",
"mem": "0.6"
},
"1041": {
"cmdline": "frigate.process:EntranceLookingOut",
"cpu": "25.0",
"cpu_average": "11",
"mem": "0.6"
},
"1042": {
"cmdline": "frigate.process:PiezasLobby",
"cpu": "80.1",
"cpu_average": "8",
"mem": "0.6"
},
"1049": {
"cmdline": "frigate.process:TallerLobby",
"cpu": "8.2",
"cpu_average": "2",
"mem": "0.6"
},
"1056": {
"cmdline": "frigate.process:TallerArriba",
"cpu": "3.5",
"cpu_average": "22",
"mem": "0.7"
},
"1063": {
"cmdline": "frigate.process:TallerAfuera",
"cpu": "2.5",
"cpu_average": "2",
"mem": "0.6"
},
"1066": {
"cmdline": "frigate.process:TallerAtras",
"cpu": "8.5",
"cpu_average": "1",
"mem": "0.6"
},
"1068": {
"cmdline": "frigate.process:EntranceLookingIn",
"cpu": "1.7",
"cpu_average": "7",
"mem": "0.6"
},
"1097": {
"cmdline": "frigate.process:WarehousePeatonal",
"cpu": "2.3",
"cpu_average": "1",
"mem": "0.6"
},
"1105": {
"cmdline": "frigate.process:WarehouseOverview1",
"cpu": "1.3",
"cpu_average": "1",
"mem": "0.6"
},
"1113": {
"cmdline": "frigate.process:WarehouseOverview2",
"cpu": "1.1",
"cpu_average": "1",
"mem": "0.6"
},
"1121": {
"cmdline": "frigate.process:WarehouseRampa2",
"cpu": "8.4",
"cpu_average": "1",
"mem": "0.6"
},
"1129": {
"cmdline": "frigate.capture:Entrada",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1132": {
"cmdline": "frigate.capture:ShowroomYamaha",
"cpu": "7.0",
"cpu_average": "6",
"mem": "0.6"
},
"1136": {
"cmdline": "frigate.capture:Escaleras",
"cpu": "0.6",
"cpu_average": "0",
"mem": "0.6"
},
"1137": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/ShowroomYamaha -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/ShowroomYamaha@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_cuda=w=2560:h=1920:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "5.9",
"cpu_average": "5",
"mem": "0.4"
},
"1140": {
"cmdline": "frigate.capture:CarlosPiezas",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1145": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Escaleras_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1147": {
"cmdline": "frigate.capture:FrontParking",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1149": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/CarlosPiezas_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1154": {
"cmdline": "frigate.capture:EntranceLookingOut",
"cpu": "4.1",
"cpu_average": "4",
"mem": "0.6"
},
"1155": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/FrontParking_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.9",
"cpu_average": "0",
"mem": "0.3"
},
"1158": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Escaleras -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/Escaleras@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1161": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/EntranceLookingOut -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/EntranceLookingOut@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_cuda=w=2048:h=1536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "3.8",
"cpu_average": "3",
"mem": "0.4"
},
"1162": {
"cmdline": "frigate.capture:PiezasLobby",
"cpu": "6.8",
"cpu_average": "6",
"mem": "0.6"
},
"1167": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/CarlosPiezas -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/CarlosPiezas@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.6",
"cpu_average": "0",
"mem": "0.1"
},
"1168": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/FrontParking -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/FrontParking@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.1"
},
"1169": {
"cmdline": "frigate.capture:TallerLobby",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1170": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/PiezasLobby_sub -r 5 -vf fps=5,scale_cuda=w=2560:h=1920:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "5.6",
"cpu_average": "5",
"mem": "0.3"
},
"1174": {
"cmdline": "frigate.capture:TallerArriba",
"cpu": "0.6",
"cpu_average": "0",
"mem": "0.6"
},
"1177": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerLobby_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.9",
"cpu_average": "0",
"mem": "0.3"
},
"1180": {
"cmdline": "frigate.capture:TallerAfuera",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1181": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerArriba_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1182": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/PiezasLobby -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/PiezasLobby@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1187": {
"cmdline": "frigate.capture:TallerAtras",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1188": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerAfuera_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1191": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerLobby -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/TallerLobby@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.2",
"cpu_average": "0",
"mem": "0.1"
},
"1194": {
"cmdline": "frigate.capture:EntranceLookingIn",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1195": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerAtras_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.9",
"cpu_average": "0",
"mem": "0.3"
},
"1200": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerArriba -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/TallerArriba@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1201": {
"cmdline": "frigate.capture:WarehousePeatonal",
"cpu": "0.6",
"cpu_average": "0",
"mem": "0.6"
},
"1202": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/EntranceLookingIn_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.1",
"cpu_average": "0",
"mem": "0.3"
},
"1205": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerAfuera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/TallerAfuera@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1208": {
"cmdline": "frigate.capture:WarehouseOverview1",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1209": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehousePeatonal_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.9",
"cpu_average": "0",
"mem": "0.3"
},
"1210": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/TallerAtras -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/TallerAtras@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.1"
},
"1215": {
"cmdline": "frigate.capture:WarehouseOverview2",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1216": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/EntranceLookingIn -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/EntranceLookingIn@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1219": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseOverview1_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1222": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseOverview1_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1223": {
"cmdline": "frigate.capture:WarehouseRampa2",
"cpu": "0.5",
"cpu_average": "0",
"mem": "0.6"
},
"1233": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehousePeatonal -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/WarehousePeatonal@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1234": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseRampa2_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "1.0",
"cpu_average": "0",
"mem": "0.3"
},
"1237": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseOverview1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/WarehouseOverview1@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.2",
"cpu_average": "0",
"mem": "0.1"
},
"1238": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseOverview1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/WarehouseOverview2@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.1"
},
"1241": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/WarehouseRampa2 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/WarehouseRampa2@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.3",
"cpu_average": "0",
"mem": "0.1"
},
"1424": {
"cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(76)",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"676286": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Entrada_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
"cpu": "0.9",
"cpu_average": "0",
"mem": "0.3"
},
"676288": {
"cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.14.0-da913d8 -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/Entrada -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/Entrada@%Y%m%d%H%M%S%z.mp4",
"cpu": "0.1",
"cpu_average": "0",
"mem": "0.0"
},
"1085502": {
"cmdline": "sleep 9999",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"1301012": {
"cmdline": "sleep 30s",
"cpu": "0.0",
"cpu_average": "0",
"mem": "0.0"
},
"frigate.full_system": {
"cpu": "12.1",
"mem": "17.0"
}
},
"detection_fps": 78.8,
"detectors": {
"nvidia": {
"detection_start": 0,
"inference_speed": 1.97,
"pid": 890
}
},
"gpu_usages": {
"NVIDIA GeForce RTX 3080 Ti": {
"dec": "4.0%",
"enc": "0.0%",
"gpu": "12.0%",
"mem": "45.63%"
}
},
"processes": {
"go2rtc": {
"pid": 104
},
"logger": {
"pid": 430
},
"recording": {
"pid": 866
},
"review_segment": {
"pid": 870
}
},
"service": {
"last_updated": 1731680694,
"latest_version": "0.14.1",
"storage": {
"/dev/shm": {
"free": 989.9,
"mount_type": "tmpfs",
"total": 1024,
"used": 34.1
},
"/media/frigate/clips": {
"free": 16886340.2,
"mount_type": "ext4",
"total": 20900404.4,
"used": 2964801.6
},
"/media/frigate/recordings": {
"free": 16886340.2,
"mount_type": "ext4",
"total": 20900404.4,
"used": 2964801.6
},
"/tmp/cache": {
"free": 7365.9,
"mount_type": "tmpfs",
"total": 7629.4,
"used": 263.5
}
},
"temperatures": {},
"uptime": 47345,
"version": "0.14.0-da913d8"
}
} Operating systemDebian Install methodDocker Compose docker-compose file or Docker CLI commandaj@frigate:~$ cat docker-compose.yml
services:
frigate:
image: ghcr.io/blakeblackshear/frigate:0.14.0-tensorrt
# image: ghcr.io/blakeblackshear/frigate:stable
# image: ghcr.io/blakeblackshear/frigate:0.14.0-beta4
container_name: frigate
restart: always
privileged: true
shm_size: "1g"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
tmpfs:
- /tmp/cache:size=8000000000
ports:
- "5000:5000"
- "1935:1935"
- "8971:8971"
- "8554:8554"
- "8555:8555/udp"
volumes:
# HOST-MACHINE:CONTAINER-machine
#- ./config.yml:/config/config.yml
- ./:/config/
- /mnt/storage:/media/frigate # Added line to map the storage
# - ./db:/config/db # Database mapped
- /mnt/storage/model_cache:/config/model_cache # Model cache mapped to storage
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- NVIDIA_VISIBLE_DEVICES=all
- TZ=America/Puerto_Rico Object DetectorTensorRT Screenshots of the Frigate UI's System metrics pagesAny other information that may be helpfulI don't know if I am falling down in Frigate's side, or in HomeAssistant's side. Any and all help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Here is the snapshot from HA of Mister Whiskers when he activated last night at 22:59:27. |
Beta Was this translation helpful? Give feedback.
-
along with |
Beta Was this translation helpful? Give feedback.
-
Hello! There were two factors that helped get us there... both of them were a mis-configuration on my side. First, to the zone, I added a section "filters" on the objects of a camera's zone. The config is below.
|
Beta Was this translation helpful? Give feedback.
Hello!
I wanted to update....
First, the system is working absolutely awesome.
There were two factors that helped get us there... both of them were a mis-configuration on my side.
First, to the zone, I added a section "filters" on the objects of a camera's zone. The config is below.
Second, over in HomeAssistant, I was using the "entered_zone"... which obviously would always be present.
I changed "entered_zone" with "current_zone".... after this change, NOW our automation is working awesome.
filters: person: threshold: 0.9 min_score: 0.9 car: threshold: 0.9 min_score: 0.9