diff --git a/packages/security/README.md b/packages/security/README.md index e5d3df8..ec0c988 100644 --- a/packages/security/README.md +++ b/packages/security/README.md @@ -19,3 +19,10 @@ This package contains configuration information for a Home Assistant powered hom | Bathroom Window | Bathroom | binary_sensor.bathroom_window | | Bedroom Side Window | Bedroom | binary_sensor.bedroom_side_window | | Bedroom Back Window | Bedroom | binary_sensor.bedroom_back_window | + +## Camera Notes + +The Amcrest AD410 doorbell camera expects to have an internet connection to use Amcrest's cloud services. If it detects it is disconnected, it will flash the ring light. The connection state can be read and set via the camera's REST interface. Since Home Assistant does not support digest authentication with the REST service, a command is used to set the connection state. The command is kept in a secret since it includes camera authentication data, but it uses the following cURL command: +```shellscript +$ curl -X POST --digest -u admin:{password} -v 'http://{camera_ip}/cgi-bin/configManager.cgi?action=setConfig&VSP_PaaS.Online=true' +``` diff --git a/packages/security/security.yaml b/packages/security/security.yaml index 0318e78..c380bbc 100644 --- a/packages/security/security.yaml +++ b/packages/security/security.yaml @@ -57,6 +57,7 @@ binary_sensor: action: getConfig name: VSP_PaaS.Online value_template: "{{ value.split('=')[1] }}" + device_class: connectivity # ----------------------------------------------------------------------------- # Door and Window Groups