mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-06 05:27:44 +03:00
Capitalize Add-on in more places
This commit is contained in:
parent
46f95c05b2
commit
b8dde60c18
@ -61,7 +61,7 @@ if [[ ! -f "/dev/shm/go2rtc.yaml" ]]; then
|
|||||||
echo "[INFO] Preparing new go2rtc config..."
|
echo "[INFO] Preparing new go2rtc config..."
|
||||||
|
|
||||||
if [[ -n "${SUPERVISOR_TOKEN:-}" ]]; then
|
if [[ -n "${SUPERVISOR_TOKEN:-}" ]]; then
|
||||||
# Running as a Home Assistant add-on, infer the IP address and port
|
# Running as a Home Assistant Add-on, infer the IP address and port
|
||||||
get_ip_and_port_from_supervisor
|
get_ip_and_port_from_supervisor
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@ function migrate_addon_config_dir() {
|
|||||||
local home_assistant_config_dir="/homeassistant"
|
local home_assistant_config_dir="/homeassistant"
|
||||||
|
|
||||||
if ! mountpoint --quiet "${home_assistant_config_dir}"; then
|
if ! mountpoint --quiet "${home_assistant_config_dir}"; then
|
||||||
# Not running as a Home Assistant add-on
|
# Not running as a Home Assistant Add-on
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -99,7 +99,7 @@ function migrate_addon_config_dir() {
|
|||||||
echo "[INFO] Migrating config file from '${old_config_file}' to '${new_config_file}'..."
|
echo "[INFO] Migrating config file from '${old_config_file}' to '${new_config_file}'..."
|
||||||
mv -vf "${old_config_file}" "${new_config_file}"
|
mv -vf "${old_config_file}" "${new_config_file}"
|
||||||
|
|
||||||
echo "[INFO] Migration from Home Assistant config dir to add-on config dir completed."
|
echo "[INFO] Migration from Home Assistant config dir to Add-on config dir completed."
|
||||||
}
|
}
|
||||||
|
|
||||||
function migrate_db_from_media_to_config() {
|
function migrate_db_from_media_to_config() {
|
||||||
|
|||||||
@ -121,9 +121,9 @@ WebRTC works by creating a TCP or UDP connection on port `8555`. However, it req
|
|||||||
|
|
||||||
:::tip
|
:::tip
|
||||||
|
|
||||||
This extra configuration may not be required if Frigate has been installed as a Home Assistant add-on, as Frigate uses the Supervisor's API to generate a WebRTC candidate.
|
This extra configuration may not be required if Frigate has been installed as a Home Assistant Add-on, as Frigate uses the Supervisor's API to generate a WebRTC candidate.
|
||||||
|
|
||||||
However, it is recommended if issues occur to define the candidates manually. You should do this if the Frigate add-on fails to generate a valid candidate. If an error occurs you will see some warnings like the below in the add-on logs page during the initialization:
|
However, it is recommended if issues occur to define the candidates manually. You should do this if the Frigate Add-on fails to generate a valid candidate. If an error occurs you will see some warnings like the below in the Add-on logs page during the initialization:
|
||||||
|
|
||||||
```log
|
```log
|
||||||
[WARN] Failed to get IP address from supervisor
|
[WARN] Failed to get IP address from supervisor
|
||||||
|
|||||||
@ -93,7 +93,7 @@ services:
|
|||||||
|
|
||||||
### Home Assistant Add-on
|
### Home Assistant Add-on
|
||||||
|
|
||||||
If you are using Home Assistant Add-on, the URL should be one of the following depending on which add-on variant you are using. Note that if you are using the Proxy Add-on, you should NOT point the integration at the proxy URL. Just enter the same URL used to access Frigate directly from your network.
|
If you are using Home Assistant Add-on, the URL should be one of the following depending on which Add-on variant you are using. Note that if you are using the Proxy Add-on, you should NOT point the integration at the proxy URL. Just enter the same URL used to access Frigate directly from your network.
|
||||||
|
|
||||||
| Add-on Variant | URL |
|
| Add-on Variant | URL |
|
||||||
| -------------------------- | ----------------------------------------- |
|
| -------------------------- | ----------------------------------------- |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user