From ebc20943476d8a83ca4b9b3a78df66970883d87d Mon Sep 17 00:00:00 2001 From: karlkar Date: Wed, 21 Feb 2018 16:06:39 +0100 Subject: [PATCH] Support for PTZ in Onvif cameras (#4409) * Service PTZ description * Changed attribute names --- source/_components/camera.onvif.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_components/camera.onvif.markdown b/source/_components/camera.onvif.markdown index 0cfa7cf4534..f4281405bc8 100644 --- a/source/_components/camera.onvif.markdown +++ b/source/_components/camera.onvif.markdown @@ -33,4 +33,15 @@ Configuration variables: - **port** (*Optional*): The port for the camera. This defaults to 5000 - **extra_arguments** (*Optional*): Extra options to pass to `ffmpeg`, e.g. image quality or video filter options. More details in [FFmpeg component](/components/ffmpeg). +### {% linkable_title Service `camera.onvif_ptz` %} + +If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your camera. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Else targets all. +| `tilt` | Tilt direction. Allowed values: `UP`, `DOWN` +| `pan` | Pan direction. Allowed values: `RIGHT`, `LEFT` +| `zoom` | Zoom. Allowed values: `ZOOM_IN`, `ZOOM_OUT` + If you are running into trouble with this sensor, please refer to the [Troubleshooting section](/components/ffmpeg/#troubleshooting).