Sidehistorik
...
Kodeblok |
---|
mkdir /opt/frigate
vi /opt/frigate/config |
The config file can be huge, here is my current:
Kodeblok |
---|
mqtt: host: 10.0.0.183 cameras: frigate_front_door_cam: ffmpeg: inputs: - path: rtsp://view:**********@10.0.0.151:554//h264Preview_01_sub roles: - detect - path: rtsp://view:**********@@10.0.0.151:554//h264Preview_01_main roles: - record rtmp: enabled: False detect: width: 640 height: 480 fps: 5 objects: track: - person snapshots: enabled: True timestamp: false bounding_box: True retain: default: 2 record: enabled: True events: retain: default: 10 frigate_behind_house_cam: ffmpeg: inputs: - path: rtsp://view:**********@@10.0.0.176:554//h264Preview_01_sub roles: - detect - path: rtsp://view:**********@@10.0.0.176:554//h264Preview_01_main roles: - record rtmp: enabled: False detect: width: 640 height: 480 fps: 5 objects: track: - person snapshots: enabled: True timestamp: false bounding_box: True retain: default: 2 record: enabled: True events: retain: default: 10 frigate_carport_cam: ffmpeg: inputs: - path: rtsp://view:**********@@10.0.0.191:554//h264Preview_01_sub roles: - detect - path: rtsp://view:**********@@10.0.0.191:554//h264Preview_01_main roles: - record rtmp: enabled: False detect: width: 640 height: 480 fps: 5 objects: track: - person - car snapshots: enabled: True timestamp: false bounding_box: True retain: default: 2 record: enabled: True events: retain: default: 10 detectors: coral: type: edgetpu device: usb birdseye: enabled: True mode: continuous |
And the database file /opt/frigate/frigate.yml
Kodeblok |
---|
codedatabase:
path: /opt/frigate/frigate.db |
sudo apt-get install gasket-dkms libedgetpu1-std
root@beetle:/home/bnp# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 05ac:1463 Apple, Inc. USB-C Digital AV Multiport Adapter
Bus 001 Device 002: ID 05ac:1017 Apple, Inc. USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 1a6e:089a Global Unichip Corp.
Bus 006 Device 002: ID 05ac:1018 Apple, Inc. USB3.1 Hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@beetle:/home/bnp# lsusb | grep Goole
root@beetle:/home/bnp# lsusb | grep Google
root@beetle:/home/bnp# lspci -nn | grep 089a
root@beetle:/home/bnp#