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

Variables

string ABSOLUTE_MOVE = "AbsoluteMove"
 
string ATTR_CONTINUOUS_DURATION = "continuous_duration"
 
string ATTR_DISTANCE = "distance"
 
string ATTR_MOVE_MODE = "move_mode"
 
string ATTR_PAN = "pan"
 
string ATTR_PRESET = "preset"
 
string ATTR_SPEED = "speed"
 
string ATTR_TILT = "tilt"
 
string ATTR_ZOOM = "zoom"
 
string CONF_DEVICE_ID = "deviceid"
 
string CONF_ENABLE_WEBHOOKS = "enable_webhooks"
 
string CONF_HARDWARE = "hardware"
 
string CONF_SNAPSHOT_AUTH = "snapshot_auth"
 
string CONTINUOUS_MOVE = "ContinuousMove"
 
string DEFAULT_ARGUMENTS = "-pred 1"
 
bool DEFAULT_ENABLE_WEBHOOKS = True
 
int DEFAULT_PORT = 80
 
string DIR_DOWN = "DOWN"
 
string DIR_LEFT = "LEFT"
 
string DIR_RIGHT = "RIGHT"
 
string DIR_UP = "UP"
 
string DOMAIN = "onvif"
 
tuple GET_CAPABILITIES_EXCEPTIONS = (ONVIFError, Fault, RequestError, TransportError)
 
string GOTOPRESET_MOVE = "GotoPreset"
 
 LOGGER = logging.getLogger(__package__)
 
dictionary PAN_FACTOR = {DIR_RIGHT: 1, DIR_LEFT: -1}
 
string RELATIVE_MOVE = "RelativeMove"
 
string SERVICE_PTZ = "ptz"
 
string STOP_MOVE = "Stop"
 
dictionary TILT_FACTOR = {DIR_UP: 1, DIR_DOWN: -1}
 
dictionary ZOOM_FACTOR = {ZOOM_IN: 1, ZOOM_OUT: -1}
 
string ZOOM_IN = "ZOOM_IN"
 
string ZOOM_OUT = "ZOOM_OUT"
 

Detailed Description

Constants for the onvif component.

Variable Documentation

◆ ABSOLUTE_MOVE

string homeassistant.components.onvif.const.ABSOLUTE_MOVE = "AbsoluteMove"

Definition at line 42 of file const.py.

◆ ATTR_CONTINUOUS_DURATION

string homeassistant.components.onvif.const.ATTR_CONTINUOUS_DURATION = "continuous_duration"

Definition at line 28 of file const.py.

◆ ATTR_DISTANCE

string homeassistant.components.onvif.const.ATTR_DISTANCE = "distance"

Definition at line 25 of file const.py.

◆ ATTR_MOVE_MODE

string homeassistant.components.onvif.const.ATTR_MOVE_MODE = "move_mode"

Definition at line 27 of file const.py.

◆ ATTR_PAN

string homeassistant.components.onvif.const.ATTR_PAN = "pan"

Definition at line 22 of file const.py.

◆ ATTR_PRESET

string homeassistant.components.onvif.const.ATTR_PRESET = "preset"

Definition at line 29 of file const.py.

◆ ATTR_SPEED

string homeassistant.components.onvif.const.ATTR_SPEED = "speed"

Definition at line 26 of file const.py.

◆ ATTR_TILT

string homeassistant.components.onvif.const.ATTR_TILT = "tilt"

Definition at line 23 of file const.py.

◆ ATTR_ZOOM

string homeassistant.components.onvif.const.ATTR_ZOOM = "zoom"

Definition at line 24 of file const.py.

◆ CONF_DEVICE_ID

string homeassistant.components.onvif.const.CONF_DEVICE_ID = "deviceid"

Definition at line 16 of file const.py.

◆ CONF_ENABLE_WEBHOOKS

string homeassistant.components.onvif.const.CONF_ENABLE_WEBHOOKS = "enable_webhooks"

Definition at line 19 of file const.py.

◆ CONF_HARDWARE

string homeassistant.components.onvif.const.CONF_HARDWARE = "hardware"

Definition at line 17 of file const.py.

◆ CONF_SNAPSHOT_AUTH

string homeassistant.components.onvif.const.CONF_SNAPSHOT_AUTH = "snapshot_auth"

Definition at line 18 of file const.py.

◆ CONTINUOUS_MOVE

string homeassistant.components.onvif.const.CONTINUOUS_MOVE = "ContinuousMove"

Definition at line 40 of file const.py.

◆ DEFAULT_ARGUMENTS

string homeassistant.components.onvif.const.DEFAULT_ARGUMENTS = "-pred 1"

Definition at line 14 of file const.py.

◆ DEFAULT_ENABLE_WEBHOOKS

bool homeassistant.components.onvif.const.DEFAULT_ENABLE_WEBHOOKS = True

Definition at line 20 of file const.py.

◆ DEFAULT_PORT

int homeassistant.components.onvif.const.DEFAULT_PORT = 80

Definition at line 13 of file const.py.

◆ DIR_DOWN

string homeassistant.components.onvif.const.DIR_DOWN = "DOWN"

Definition at line 32 of file const.py.

◆ DIR_LEFT

string homeassistant.components.onvif.const.DIR_LEFT = "LEFT"

Definition at line 33 of file const.py.

◆ DIR_RIGHT

string homeassistant.components.onvif.const.DIR_RIGHT = "RIGHT"

Definition at line 34 of file const.py.

◆ DIR_UP

string homeassistant.components.onvif.const.DIR_UP = "UP"

Definition at line 31 of file const.py.

◆ DOMAIN

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

Definition at line 11 of file const.py.

◆ GET_CAPABILITIES_EXCEPTIONS

tuple homeassistant.components.onvif.const.GET_CAPABILITIES_EXCEPTIONS = (ONVIFError, Fault, RequestError, TransportError)

Definition at line 51 of file const.py.

◆ GOTOPRESET_MOVE

string homeassistant.components.onvif.const.GOTOPRESET_MOVE = "GotoPreset"

Definition at line 43 of file const.py.

◆ LOGGER

homeassistant.components.onvif.const.LOGGER = logging.getLogger(__package__)

Definition at line 9 of file const.py.

◆ PAN_FACTOR

dictionary homeassistant.components.onvif.const.PAN_FACTOR = {DIR_RIGHT: 1, DIR_LEFT: -1}

Definition at line 37 of file const.py.

◆ RELATIVE_MOVE

string homeassistant.components.onvif.const.RELATIVE_MOVE = "RelativeMove"

Definition at line 41 of file const.py.

◆ SERVICE_PTZ

string homeassistant.components.onvif.const.SERVICE_PTZ = "ptz"

Definition at line 46 of file const.py.

◆ STOP_MOVE

string homeassistant.components.onvif.const.STOP_MOVE = "Stop"

Definition at line 44 of file const.py.

◆ TILT_FACTOR

dictionary homeassistant.components.onvif.const.TILT_FACTOR = {DIR_UP: 1, DIR_DOWN: -1}

Definition at line 38 of file const.py.

◆ ZOOM_FACTOR

dictionary homeassistant.components.onvif.const.ZOOM_FACTOR = {ZOOM_IN: 1, ZOOM_OUT: -1}

Definition at line 39 of file const.py.

◆ ZOOM_IN

string homeassistant.components.onvif.const.ZOOM_IN = "ZOOM_IN"

Definition at line 36 of file const.py.

◆ ZOOM_OUT

string homeassistant.components.onvif.const.ZOOM_OUT = "ZOOM_OUT"

Definition at line 35 of file const.py.