Skip to content

Commit ce94c3b

Browse files
adpriebefabaff
authored andcommitted
Updated Amcrest component documentation to include support for switches (home-assistant#4862)
* Updated Amcrest component documentation to include support for switches * ✏️ Tweaks * Update release
1 parent e0540d2 commit ce94c3b

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

source/_components/amcrest.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ amcrest:
2828
sensors:
2929
- motion_detector
3030
- sdcard
31+
switches:
32+
- motion_detection
33+
- motion_recording
3134

3235
- host: IP_ADDRESS_CAMERA_2
3336
username: YOUR_USERNAME
@@ -54,6 +57,9 @@ Configuration variables:
5457
- **motion_detector**: Return True/False when a motion is detected
5558
- **sdcard**: Return the SD card usage by reporting the total and used space
5659
- **ptz_preset**: Return the number of PTZ preset positions configured for the given camera
60+
- **switches** array (*Optional*): Switches to display in the frontend. By default, *none* of the switches are shown. The following switches can be monitored.
61+
- **motion_detection**: Enable/disable motion detection setting
62+
- **motion_recording**: Enable/disable recording on motion detection setting
5763

5864
**Note:** Amcrest cameras with newer firmware no longer have the ability to stream `high` definition video with MJPEG encoding. You may need to use `low` resolution stream or the `snapshot` stream source instead. If the quality seems too poor, lower the `Frame Rate (FPS)` and max out the `Bit Rate` settings in your camera's configuration manager. If you defined the *stream_source* to **mjpeg**, make sure your camera supports *Basic* HTTP authentication. Newer Amcrest firmware may not work, then **rtsp** is recommended instead.
5965

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: "Amcrest IP Camera Settings"
4+
description: "Instructions on how to integrate settings for Amcrest IP Camera as switches within Home Assistant."
5+
date: 2018-03-08 00:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: amcrest.png
11+
ha_category: Switch
12+
ha_release: 0.67
13+
ha_iot_class: "Local Polling"
14+
---
15+
16+
The `amcrest` switch platform lets you control settings of [Amcrest IP Camera](https://home-assistant.io/components/camera.amcrest/) through Home Assistant.
17+
18+
Switches will be configured automatically. Please refer to the [component](/components/amcrest/) configuration on how to setup.

0 commit comments

Comments
 (0)