Write camera docs for PTZ

This commit is contained in:
Nick Mowen 2023-01-20 08:52:38 -07:00
parent 27ebd8407c
commit 6dc1d3e906
2 changed files with 31 additions and 13 deletions

View File

@ -48,3 +48,21 @@ cameras:
``` ```
For camera model specific settings check the [camera specific](camera_specific.md) infos. For camera model specific settings check the [camera specific](camera_specific.md) infos.
## Setting up camera PTZ controls
Add onvif config to camera
```yaml
cameras:
back:
ffmpeg:
...
onvif:
host: 10.0.10.10
port: 8000
user: admin
password: "{FRIGATE_RTSP_PASSWORD}"
```
then PTZ controls will be available in the cameras WebUI.

View File

@ -409,19 +409,6 @@ timestamp_style:
# "shadow" (shadow for font) # "shadow" (shadow for font)
effect: None effect: None
# Optional: connect to ONVIF camera
# to enable PTZ controls.
onvif:
# Required: host of the camera being connected to.
host: 0.0.0.0
# Optional: ONVIF port for device (default: shown below).
port: 8000
# Optional: username for login.
# NOTE: Some devices require admin to access ONVIF.
user: admin
# Optional: password for login.
password: admin
# Required # Required
cameras: cameras:
# Required: name of the camera # Required: name of the camera
@ -510,6 +497,19 @@ cameras:
# Optional: Whether or not to show the camera in the Frigate UI (default: shown below) # Optional: Whether or not to show the camera in the Frigate UI (default: shown below)
dashboard: True dashboard: True
# Optional: connect to ONVIF camera
# to enable PTZ controls.
onvif:
# Required: host of the camera being connected to.
host: 0.0.0.0
# Optional: ONVIF port for device (default: shown below).
port: 8000
# Optional: username for login.
# NOTE: Some devices require admin to access ONVIF.
user: admin
# Optional: password for login.
password: admin
# Optional # Optional
ui: ui:
# Optional: Set the default live mode for cameras in the UI (default: shown below) # Optional: Set the default live mode for cameras in the UI (default: shown below)