mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Updated Amcrest component documentation to include support for switches (#4862)
* Updated Amcrest component documentation to include support for switches
* ✏️ Tweaks
* Update release
This commit is contained in:
parent
e0540d27dc
commit
ce94c3bc6d
@ -28,6 +28,9 @@ amcrest:
|
|||||||
sensors:
|
sensors:
|
||||||
- motion_detector
|
- motion_detector
|
||||||
- sdcard
|
- sdcard
|
||||||
|
switches:
|
||||||
|
- motion_detection
|
||||||
|
- motion_recording
|
||||||
|
|
||||||
- host: IP_ADDRESS_CAMERA_2
|
- host: IP_ADDRESS_CAMERA_2
|
||||||
username: YOUR_USERNAME
|
username: YOUR_USERNAME
|
||||||
@ -54,6 +57,9 @@ Configuration variables:
|
|||||||
- **motion_detector**: Return True/False when a motion is detected
|
- **motion_detector**: Return True/False when a motion is detected
|
||||||
- **sdcard**: Return the SD card usage by reporting the total and used space
|
- **sdcard**: Return the SD card usage by reporting the total and used space
|
||||||
- **ptz_preset**: Return the number of PTZ preset positions configured for the given camera
|
- **ptz_preset**: Return the number of PTZ preset positions configured for the given camera
|
||||||
|
- **switches** array (*Optional*): Switches to display in the frontend. By default, *none* of the switches are shown. The following switches can be monitored.
|
||||||
|
- **motion_detection**: Enable/disable motion detection setting
|
||||||
|
- **motion_recording**: Enable/disable recording on motion detection setting
|
||||||
|
|
||||||
**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.
|
**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.
|
||||||
|
|
||||||
|
18
source/_components/switch.amcrest.markdown
Normal file
18
source/_components/switch.amcrest.markdown
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "Amcrest IP Camera Settings"
|
||||||
|
description: "Instructions on how to integrate settings for Amcrest IP Camera as switches within Home Assistant."
|
||||||
|
date: 2018-03-08 00:00
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: amcrest.png
|
||||||
|
ha_category: Switch
|
||||||
|
ha_release: 0.67
|
||||||
|
ha_iot_class: "Local Polling"
|
||||||
|
---
|
||||||
|
|
||||||
|
The `amcrest` switch platform lets you control settings of [Amcrest IP Camera](https://home-assistant.io/components/camera.amcrest/) through Home Assistant.
|
||||||
|
|
||||||
|
Switches will be configured automatically. Please refer to the [component](/components/amcrest/) configuration on how to setup.
|
Loading…
x
Reference in New Issue
Block a user