![]() Install your desired Frigate NVR Addon and navigate to it's page.Navigate to Supervisor > Add-on Store > Repositories.HassOS users can install via the addon repository. See the network storage guide for instructions to setup network storage for frigate. type : tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear dev/dri/renderD128 : /dev/dri/renderD128 # For intel hwaccel, needs to be updated for your hardware dev/video11 : /dev/video11 # For Raspberry Pi 4B dev/apex_0 : /dev/apex_0 # Passes a PCIe Coral, follow driver instructions here dev/bus/usb : /dev/bus/usb # Passes the USB Coral, needs to be modified for other versions Shm_size : "64mb" # update for your cameras based on calculation above Image : ghcr.io/blakeblackshear/frigate : stable Privileged : true # this may not be necessary for all setups Running in Docker with compose is the recommended install method. Some have reported success with this (affiliate link). You will need to purchase an external USB hub with it's own power supply. If using any other USB devices such as an SSD, you will experience instability due to the Pi not providing enough power to USB devices. In order to use ffmpeg hardware acceleration, you must increase the available memory by setting gpu_mem to the maximum recommended value in config.txt as described in the official docs.Īdditionally, the USB Coral draws a considerable amount of power. Raspberry Pi 3/4 īy default, the Raspberry Pi limits the amount of memory available to the GPU. If your machine has 8GB of memory, chances are that Frigate will have access to up to 4GB without any additional configuration. However, this is probably not required since by default Home Assistant Supervisor allocates /dev/shm with half the size of your total memory. ![]() The shm size cannot be set per container for Home Assistant add-ons. Writing to a local disk or external USB drive: The minimum size is impacted by the shm-size calculations below.Ĭommon docker compose storage configurations It is not recommended to modify this directory or map it with docker. /dev/shm: Internal cache for raw decoded frames in shared memory.It is recommended to use a tmpfs mount for this. Segments generated via the clip.mp4 endpoints are also concatenated and processed here. Initial recordings are written here before being checked and converted to mp4 and moved to the recordings folder. /tmp/cache: Cache location for recording segments. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |