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

Classes

class  EventManager
 
class  PullPointManager
 
class  WebHookManager
 

Variables

tuple CREATE_ERRORS = (ONVIFError, Fault, RequestError, XMLParseError, ValidationError)
 
float PULLPOINT_COOLDOWN_TIME = 0.75
 
int PULLPOINT_MESSAGE_LIMIT = 100
 
 PULLPOINT_POLL_TIME = dt.timedelta(seconds=60)
 
tuple RENEW_ERRORS = (ONVIFError, RequestError, XMLParseError, *SUBSCRIPTION_ERRORS)
 
tuple SET_SYNCHRONIZATION_POINT_ERRORS = (*SUBSCRIPTION_ERRORS, TypeError)
 
int SUBSCRIPTION_ATTEMPTS = 2
 
tuple SUBSCRIPTION_ERRORS = (Fault, TimeoutError, TransportError)
 
int SUBSCRIPTION_RENEW_INTERVAL = 8 * 60
 
int SUBSCRIPTION_RESTART_INTERVAL_ON_ERROR = 60
 
 SUBSCRIPTION_TIME = dt.timedelta(minutes=10)
 
tuple UNSUBSCRIBE_ERRORS = (XMLParseError, *SUBSCRIPTION_ERRORS)
 

Detailed Description

ONVIF event abstraction.

Variable Documentation

◆ CREATE_ERRORS

tuple homeassistant.components.onvif.event.CREATE_ERRORS = (ONVIFError, Fault, RequestError, XMLParseError, ValidationError)

Definition at line 37 of file event.py.

◆ PULLPOINT_COOLDOWN_TIME

float homeassistant.components.onvif.event.PULLPOINT_COOLDOWN_TIME = 0.75

Definition at line 68 of file event.py.

◆ PULLPOINT_MESSAGE_LIMIT

int homeassistant.components.onvif.event.PULLPOINT_MESSAGE_LIMIT = 100

Definition at line 67 of file event.py.

◆ PULLPOINT_POLL_TIME

homeassistant.components.onvif.event.PULLPOINT_POLL_TIME = dt.timedelta(seconds=60)

Definition at line 66 of file event.py.

◆ RENEW_ERRORS

tuple homeassistant.components.onvif.event.RENEW_ERRORS = (ONVIFError, RequestError, XMLParseError, *SUBSCRIPTION_ERRORS)

Definition at line 40 of file event.py.

◆ SET_SYNCHRONIZATION_POINT_ERRORS

tuple homeassistant.components.onvif.event.SET_SYNCHRONIZATION_POINT_ERRORS = (*SUBSCRIPTION_ERRORS, TypeError)

Definition at line 38 of file event.py.

◆ SUBSCRIPTION_ATTEMPTS

int homeassistant.components.onvif.event.SUBSCRIPTION_ATTEMPTS = 2

Definition at line 61 of file event.py.

◆ SUBSCRIPTION_ERRORS

tuple homeassistant.components.onvif.event.SUBSCRIPTION_ERRORS = (Fault, TimeoutError, TransportError)

Definition at line 36 of file event.py.

◆ SUBSCRIPTION_RENEW_INTERVAL

int homeassistant.components.onvif.event.SUBSCRIPTION_RENEW_INTERVAL = 8 * 60

Definition at line 58 of file event.py.

◆ SUBSCRIPTION_RESTART_INTERVAL_ON_ERROR

int homeassistant.components.onvif.event.SUBSCRIPTION_RESTART_INTERVAL_ON_ERROR = 60

Definition at line 64 of file event.py.

◆ SUBSCRIPTION_TIME

homeassistant.components.onvif.event.SUBSCRIPTION_TIME = dt.timedelta(minutes=10)

Definition at line 51 of file event.py.

◆ UNSUBSCRIBE_ERRORS

tuple homeassistant.components.onvif.event.UNSUBSCRIBE_ERRORS = (XMLParseError, *SUBSCRIPTION_ERRORS)

Definition at line 39 of file event.py.