mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-01-23 12:38:29 +03:00
* Move database and config from homeassistant /config to addon /config * Re-implement config migration for the add-on * Align some terms * Improve function name * Use local variables * Add model.path migration * Fix homeassistant config path * Ensure migration scripts run before go2rtc and frigate * Migrate all files I know * Add ffmpeg.path migration * Update docker/main/rootfs/etc/s6-overlay/s6-rc.d/prepare/run Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> * Improve some variable names and organization * Update docs to reflect addon config dir * Update live.md with /addon_configs * Move addon config section to configuration doc * Align several terminologies and improve text * Fix webrtc example config title * Capitalize Add-on in more places * Improve specific add-on config dir docs * Align bash and python scripts to prefer config.yml over config.yaml * Support config.json in migration shell scripts * Change docs to reflect config.yml is preferred over config.yaml * If previous config was yaml, migrate to yaml * Fix typo in edgetpu.md * Fix formatting of Python files * Remove HailoRT Beta add-on variant from docs * Add migration for labelmap and certs * Fix variable name * Fix new_config_file var unset * Fix addon config directories table * Improve db migration to avoid migrating files like .db.bak * Fix echo location --------- Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
1.2 KiB
1.2 KiB
| id | title |
|---|---|
| ha_network_storage | Home Assistant network storage |
As of Home Assistant 2023.6, Network Mounted Storage is supported for Add-ons.
Setting Up Remote Storage For Frigate
Prerequisites
- Home Assistant 2023.6 or newer is installed
- Running Home Assistant Operating System 10.2 or newer OR Running Supervised with latest os-agent installed (this is required for supervised install)
Initial Setup
- Stop the Frigate Add-on
Move current data
Keeping the current data is optional, but the data will need to be moved regardless so the share can be created successfully.
If you want to keep the current data
- Move the frigate.db, frigate.db-shm, frigate.db-wal files to the /config directory
- Rename the /media/frigate folder to /media/frigate_tmp
If you don't want to keep the current data
- Delete the /media/frigate folder and all of its contents
Create the media share
- Go to Settings -> System -> Storage -> Add Network Storage
- Name the share
frigate(this is required) - Choose type
media - Fill out the additional required info for your particular NAS
- Connect
- Move files from
/media/frigate_tmpto/media/frigateif they were kept in previous step - Start the Frigate Add-on