Guten Morgen,
ich habe eine Reolink E1 Outdoor die ich gerne in Frigate nutzen möchte.
Home Assistant läuft auf dedizierter Hardware (Fujitsu Esprimo Q920) mit angeschlossenen Coral.
Grundsätzlich klappt die Einbindung der Kamera, jedoch habe ich extrem viele Fehlermeldungen im Log von Frigate.
Hat jemand eine Idee, was ich falsch mache bzw. was ich verbessern kann?
Frigate
2025-01-29 07:40:27.038949744 [INFO] Starting Frigate...
2025-01-29 07:40:29.806827881 [2025-01-29 08:40:29] frigate.app INFO : Starting Frigate (0.14.1-f4f3cfa)
2025-01-29 07:40:29.806914044 [2025-01-29 08:40:29] frigate.app INFO : Creating directory: /tmp/cache
2025-01-29 07:40:29.806971551 [2025-01-29 08:40:29] frigate.util.config INFO : Checking if frigate config needs migration...
2025-01-29 07:40:29.828569098 [2025-01-29 08:40:29] frigate.util.config INFO : frigate config does not need migration...
2025-01-29 07:40:29.872194681 [2025-01-29 08:40:29] peewee_migrate.logs INFO : Starting migrations
2025-01-29 07:40:29.872975465 [2025-01-29 08:40:29] peewee_migrate.logs INFO : There is nothing to migrate
2025-01-29 07:40:29.893731580 [2025-01-29 08:40:29] frigate.app INFO : Recording process started: 350
2025-01-29 07:40:29.893817580 [2025-01-29 08:40:29] frigate.app INFO : Recording process started: 351
2025-01-29 07:40:29.897121313 [2025-01-29 08:40:29] frigate.app INFO : go2rtc process pid: 95
2025-01-29 07:40:29.923373833 [2025-01-29 08:40:29] detector.coral INFO : Starting detection process: 379
2025-01-29 07:40:29.925186034 [2025-01-29 08:40:29] frigate.app INFO : Output process started: 381
2025-01-29 07:40:30.000953354 [2025-01-29 08:40:29] frigate.app INFO : Camera processor started for E1_Garten: 399
2025-01-29 07:40:30.006356214 [2025-01-29 08:40:30] frigate.app INFO : Capture process started for E1_Garten: 400
2025-01-29 07:40:32.571510293 [2025-01-29 08:40:29] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
2025-01-29 07:40:32.587946006 [2025-01-29 08:40:32] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-01-29 07:42:30.055942048 [2025-01-29 08:42:30] ffmpeg.E1_Garten.record ERROR : [segment @ 0x56187a76e0c0] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2025-01-29 07:42:30.056356884 [2025-01-29 08:42:30] ffmpeg.E1_Garten.record ERROR : rtsp://127.0.0.1:8554/E1_Garten: Connection timed out
2025-01-29 07:42:30.056804406 [2025-01-29 08:42:30] watchdog.E1_Garten INFO : Terminating the existing ffmpeg process...
2025-01-29 07:42:30.067441218 [2025-01-29 08:42:30] watchdog.E1_Garten INFO : Waiting for ffmpeg to exit gracefully...
2025-01-29 07:42:40.078437609 [2025-01-29 08:42:40] watchdog.E1_Garten INFO : No frames received from E1_Garten in 20 seconds. Exiting ffmpeg...
2025-01-29 07:42:40.078642426 [2025-01-29 08:42:40] watchdog.E1_Garten INFO : Waiting for ffmpeg to exit gracefully...
2025-01-29 07:42:40.093351932 [2025-01-29 08:42:40] frigate.video ERROR : E1_Garten: Unable to read frames from ffmpeg process.
2025-01-29 07:42:40.093547914 [2025-01-29 08:42:40] frigate.video ERROR : E1_Garten: ffmpeg process is not running. exiting capture thread...
2025-01-29 07:42:50.096667383 [2025-01-29 08:42:50] watchdog.E1_Garten ERROR : Ffmpeg process crashed unexpectedly for E1_Garten.
2025-01-29 07:42:50.096916720 [2025-01-29 08:42:50] watchdog.E1_Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-01-29 07:42:50.098228864 [2025-01-29 08:42:50] ffmpeg.E1_Garten.detect ERROR : rtsp://127.0.0.1:8554/E1_Garten_Sub: Connection timed out
2025-01-29 07:44:20.121389580 [2025-01-29 08:44:20] ffmpeg.E1_Garten.record ERROR : [segment @ 0x5624214fdf80] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
2025-01-29 07:44:20.121472115 [2025-01-29 08:44:20] ffmpeg.E1_Garten.record ERROR : rtsp://127.0.0.1:8554/E1_Garten: Connection timed out
2025-01-29 07:44:20.125697204 [2025-01-29 08:44:20] watchdog.E1_Garten INFO : Terminating the existing ffmpeg process...
2025-01-29 07:44:20.125785884 [2025-01-29 08:44:20] watchdog.E1_Garten INFO : Waiting for ffmpeg to exit gracefully...
2025-01-29 07:44:40.131685600 [2025-01-29 08:44:40] watchdog.E1_Garten INFO : No frames received from E1_Garten in 20 seconds. Exiting ffmpeg...
2025-01-29 07:44:40.131770026 [2025-01-29 08:44:40] watchdog.E1_Garten INFO : Waiting for ffmpeg to exit gracefully...
2025-01-29 07:44:40.246080878 [2025-01-29 08:44:40] frigate.video ERROR : E1_Garten: Unable to read frames from ffmpeg process.
2025-01-29 07:44:40.246425449 [2025-01-29 08:44:40] frigate.video ERROR : E1_Garten: ffmpeg process is not running. exiting capture thread...
2025-01-29 07:44:50.259720780 [2025-01-29 08:44:50] watchdog.E1_Garten ERROR : Ffmpeg process crashed unexpectedly for E1_Garten.
2025-01-29 07:44:50.259731662 [2025-01-29 08:44:50] watchdog.E1_Garten ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2025-01-29 07:44:50.259867869 [2025-01-29 08:44:50] ffmpeg.E1_Garten.detect ERROR : rtsp://127.0.0.1:8554/E1_Garten_Sub: Connection timed out
2025-01-29 07:44:50.260823289 [2025-01-29 08:44:50] ffmpeg.E1_Garten.detect ERROR : [rtsp @ 0x562e67131e40] RTP: PT=60: bad cseq ade7 expected=1775
2025-01-29 07:44:50.260873422 [2025-01-29 08:44:50] ffmpeg.E1_Garten.detect ERROR : [rtsp @ 0x562e67131e40] RTP: PT=61: bad cseq f436 expected=7a18
Go2rtc
2025-01-29 07:40:26.994113279 [INFO] Preparing new go2rtc config...
2025-01-29 07:40:27.039699188 [INFO] Got IP address from supervisor: 192.168.178.17
2025-01-29 07:40:27.077475260 [INFO] Got WebRTC port from supervisor: 8555
2025-01-29 07:40:27.674556375 [INFO] Starting go2rtc...
2025-01-29 07:40:27.810161059 08:40:27.809 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2025-01-29 07:40:27.810165812 08:40:27.809 INF config path=/dev/shm/go2rtc.yaml
2025-01-29 07:40:27.810168039 08:40:27.809 INF [rtsp] listen addr=:8554
2025-01-29 07:40:27.810170364 08:40:27.809 INF [webrtc] listen addr=:8555/tcp
2025-01-29 07:40:27.810599051 08:40:27.810 INF [api] listen addr=:1984
2025-01-29 07:40:36.990526365 [INFO] Starting go2rtc healthcheck service...
2025-01-29 07:44:09.500180112 08:44:09.499 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:55580->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/Preview_01_sub
2025-01-29 07:44:10.189877380 08:44:10.189 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:48038->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/h265Preview_01_main
2025-01-29 07:45:41.816774458 08:45:41.816 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:40830->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/h265Preview_01_main
2025-01-29 07:45:42.391635138 08:45:42.391 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:34558->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/Preview_01_sub
2025-01-29 07:47:20.230456414 08:47:20.230 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:56130->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/h265Preview_01_main
2025-01-29 07:47:23.031672652 08:47:23.031 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:60588->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/Preview_01_sub
2025-01-29 07:47:35.051334630 08:47:35.051 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error="read tcp 172.30.33.2:45744->192.168.178.160:554: i/o timeout" url=rtsp://homeassistant:R123456789@192.168.178.160:554/Preview_01_sub
Meine Konfiguration sieht momentan so aus:
mqtt:
enabled: true
host: core-mosquitto
topic_prefix: frigate
client_id: frigate
user: user
password: password
detectors:
coral:
device: usb
type: edgetpu
ffmpeg:
hwaccel_args: preset-vaapi
input_args: preset-rtsp-restream
output_args:
record: preset-record-generic-audio-copy
go2rtc:
streams:
E1_Garten:
- rtsp://user:password@192.168.178.160:554/h265Preview_01_main
E1_Garten_Sub:
- rtsp://user:password@192.168.178.160:554/Preview_01_sub
cameras:
E1_Garten:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/E1_Garten
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/E1_Garten_Sub
input_args: preset-rtsp-restream
roles:
- detect
zones: {}
motion: {}
review: {}
detect:
width: 640
height: 480
fps: 10
objects:
track:
- person
- cat
- dog
- bird
- bicycle
snapshots:
enabled: true
timestamp: true
bounding_box: true
retain:
default: 15
record:
enabled: true
expire_interval: 30
sync_recordings: true
retain:
days: 0
mode: motion
events:
pre_capture: 5
post_capture: 5
retain:
default: 15
mode: motion
objects:
- car
- person
- cat
- dog
birdseye:
enabled: true
mode: continuous
width: 1920
height: 1080
version: 0.14