From c9a0a1cc0c97694561a172c8b3f18e5451983f83 Mon Sep 17 00:00:00 2001 From: Nick Touran Date: Fri, 3 Feb 2023 08:46:18 -0800 Subject: [PATCH] Add docs for new ONVIF aux command. (#25370) Co-authored-by: Franck Nijhof --- source/_integrations/onvif.markdown | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/source/_integrations/onvif.markdown b/source/_integrations/onvif.markdown index aa8b219f0f6..c3297eee1a8 100644 --- a/source/_integrations/onvif.markdown +++ b/source/_integrations/onvif.markdown @@ -15,6 +15,7 @@ ha_platforms: - camera - diagnostics - sensor + - switch ha_integration_type: integration --- @@ -72,6 +73,8 @@ To help with development of this component, enable `info` level logging for `hom | Last Clock Synchronization | Sensor | Timestamp | When the device clock was last synchronized. | | Last Backup | Sensor | Timestamp | When the last backup of the device configuration has been retrieved. | +If you are running into trouble with this sensor, please refer to the [Troubleshooting section](/integrations/ffmpeg/#troubleshooting). + ### Service `onvif.ptz` If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your camera. @@ -88,4 +91,12 @@ If your ONVIF camera supports PTZ, you will be able to pan, tilt or zoom your ca | `move_mode` | PTZ moving mode. Allowed values: `ContinuousMove`, `RelativeMove`, `AbsoluteMove`, `GotoPreset`, `Stop`. Default :`RelativeMove` | | `continuous_duration` | Set ContinuousMove delay in seconds before stopping the move. Allowed values: floating point numbers or integer. Default : 0.5 | -If you are running into trouble with this sensor, please refer to the [Troubleshooting section](/integrations/ffmpeg/#troubleshooting). +### Supported Switches + +This integration uses the ONVIF auxiliary command and imaging service to send certain settings and information to the camera via switch entities. Below is a list of currently supported switches. + +| Name | Entity Name | Description | +|----------|-------------|-------------| +| IR lamp | `ir_lamp` | Turn infrared lamp on and off via `IrCutFilter` ONVIF imaging setting. | +| Autofocus | `autofocus` | Turn autofocus on and off via `AutoFocusMode` ONVIF imaging setting. | +| Wiper | `wiper` | Turn on the lens wiper on and off via the `Wiper` ONVIF auxiliary command. |