Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.amcrest.const Namespace Reference

Variables

int BINARY_SENSOR_SCAN_INTERVAL_SECS = 5
 
int CAMERA_WEB_SESSION_TIMEOUT = 10
 
string CAMERAS = "cameras"
 
int COMM_RETRIES = 1
 
float COMM_TIMEOUT = 6.05
 
string DATA_AMCREST = DOMAIN
 
string DEVICES = "devices"
 
string DOMAIN = "amcrest"
 
dictionary RESOLUTION_LIST = {"high": 0, "low": 1}
 
dictionary RESOLUTION_TO_STREAM = {0: "Main", 1: "Extra"}
 
int SENSOR_SCAN_INTERVAL_SECS = 10
 
string SERVICE_EVENT = "event"
 
string SERVICE_UPDATE = "update"
 
int SNAPSHOT_TIMEOUT = 20
 

Detailed Description

Constants for amcrest component.

Variable Documentation

◆ BINARY_SENSOR_SCAN_INTERVAL_SECS

int homeassistant.components.amcrest.const.BINARY_SENSOR_SCAN_INTERVAL_SECS = 5

Definition at line 8 of file const.py.

◆ CAMERA_WEB_SESSION_TIMEOUT

int homeassistant.components.amcrest.const.CAMERA_WEB_SESSION_TIMEOUT = 10

Definition at line 9 of file const.py.

◆ CAMERAS

string homeassistant.components.amcrest.const.CAMERAS = "cameras"

Definition at line 5 of file const.py.

◆ COMM_RETRIES

int homeassistant.components.amcrest.const.COMM_RETRIES = 1

Definition at line 10 of file const.py.

◆ COMM_TIMEOUT

float homeassistant.components.amcrest.const.COMM_TIMEOUT = 6.05

Definition at line 11 of file const.py.

◆ DATA_AMCREST

string homeassistant.components.amcrest.const.DATA_AMCREST = DOMAIN

Definition at line 4 of file const.py.

◆ DEVICES

string homeassistant.components.amcrest.const.DEVICES = "devices"

Definition at line 6 of file const.py.

◆ DOMAIN

string homeassistant.components.amcrest.const.DOMAIN = "amcrest"

Definition at line 3 of file const.py.

◆ RESOLUTION_LIST

dictionary homeassistant.components.amcrest.const.RESOLUTION_LIST = {"high": 0, "low": 1}

Definition at line 18 of file const.py.

◆ RESOLUTION_TO_STREAM

dictionary homeassistant.components.amcrest.const.RESOLUTION_TO_STREAM = {0: "Main", 1: "Extra"}

Definition at line 19 of file const.py.

◆ SENSOR_SCAN_INTERVAL_SECS

int homeassistant.components.amcrest.const.SENSOR_SCAN_INTERVAL_SECS = 10

Definition at line 12 of file const.py.

◆ SERVICE_EVENT

string homeassistant.components.amcrest.const.SERVICE_EVENT = "event"

Definition at line 15 of file const.py.

◆ SERVICE_UPDATE

string homeassistant.components.amcrest.const.SERVICE_UPDATE = "update"

Definition at line 16 of file const.py.

◆ SNAPSHOT_TIMEOUT

int homeassistant.components.amcrest.const.SNAPSHOT_TIMEOUT = 20

Definition at line 13 of file const.py.