Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.emulated_hue.upnp Namespace Reference

Classes

class  DescriptionXmlView
 
class  UPNPResponderProtocol
 

Functions

UPNPResponderProtocol async_create_upnp_datagram_endpoint (str host_ip_addr, bool upnp_bind_multicast, str advertise_ip, int advertise_port)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string BROADCAST_ADDR = "239.255.255.250"
 
int BROADCAST_PORT = 1900
 

Detailed Description

Support UPNP discovery method that mimics Hue hubs.

Function Documentation

◆ async_create_upnp_datagram_endpoint()

UPNPResponderProtocol homeassistant.components.emulated_hue.upnp.async_create_upnp_datagram_endpoint ( str  host_ip_addr,
bool  upnp_bind_multicast,
str  advertise_ip,
int  advertise_port 
)
Create the UPNP socket and protocol.

Definition at line 143 of file upnp.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.emulated_hue.upnp._LOGGER = logging.getLogger(__name__)
private

Definition at line 19 of file upnp.py.

◆ BROADCAST_ADDR

string homeassistant.components.emulated_hue.upnp.BROADCAST_ADDR = "239.255.255.250"

Definition at line 22 of file upnp.py.

◆ BROADCAST_PORT

int homeassistant.components.emulated_hue.upnp.BROADCAST_PORT = 1900

Definition at line 21 of file upnp.py.