From d4c4d1598262909b6e35a5a12e68e693faabc03a Mon Sep 17 00:00:00 2001 From: RenierM26 <66512715+RenierM26@users.noreply.github.com> Date: Tue, 15 Jun 2021 13:24:07 +0200 Subject: [PATCH] ezviz_services (#18203) Add documentation for new ezviz integration services --- source/_integrations/ezviz.markdown | 60 +++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/source/_integrations/ezviz.markdown b/source/_integrations/ezviz.markdown index d6637130dcc..7bcbb00b3b5 100644 --- a/source/_integrations/ezviz.markdown +++ b/source/_integrations/ezviz.markdown @@ -29,3 +29,63 @@ The password for each camera is usually written near the QR code. This could be Your cameras will now show under integration options as "discovered devices". Please complete the setup for each camera to see the video stream within Home Assistant. You can also change the camera options should you need to access a high or low res stream. Generally, though it will just work without any modification to options. + +### Service `ezviz.alarm_sound` + +If your Ezviz camera supports warning sounds, you can use this service to set the intensity. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | +| `level` | Set the sound level to 0 for Soft, 1 for Intensive or 2 to disable | + +### Service `ezviz.ptz` + +If your Ezviz camera supports PTZ, you will be able to pan or tilt your camera. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | +| `direction` | Direction of the movement. Allowed values: `up`, `down`, `left`, `right` | +| `speed` | (Optional) Speed to in which to move the camera. Allowed values: int from 1 to 9. Default: 5 | + +### Service `ezviz.set_alarm_detection_sensibility` + +If your Ezviz camera supports motion detection, you will be able to set the sensitivity level using this service. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | +| `level` | Sensibility level (1-6) for type 0 (Normal camera) or (1-100) for type 3 (PIR sensor camera). | +| `type_value` | Type of detection. Options : 0 - Camera or 3 - PIR Sensor Camera. | + +### Service `ezviz.sound_alarm` + +If your Ezviz camera has a built-in siren, you can use this service to make a noise. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | +| `enable` | Sound the alarm by setting this to 1 or stop the siren by setting this to 0. | + +### Service `ezviz.wake_device` + +If you have "sleep" mode enabled on your camera, you can use this service to wake it. Especially useful for battery cameras. + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | + +To enable/disable motion detection, use the Home Assistant built in services. + +### Service `camera.enable_motion_detection' + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. | + +### Service `camera.disable_motion_detection' + +| Service data attribute | Description | +| -----------------------| ----------- | +| `entity_id` | String or list of strings that point at `entity_id`s of cameras. Use `entity_id: all` to target all. |