Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner Class Reference
Inheritance diagram for homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner:
[legend]
Collaboration diagram for homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner:
[legend]

Public Member Functions

def __init__ (self, config)
 
def get_device_name (self, device)
 
def scan_devices (self)
 

Public Attributes

 last_results
 
 success_init
 

Private Member Functions

def _login (self)
 
def _update_info (self)
 

Private Attributes

 _loginurl
 
 _password
 
 _type
 
 _url
 
 _userid
 
 _username
 

Detailed Description

Scanner for devices using the CODA's web interface.

Definition at line 48 of file device_tracker.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner.__init__ (   self,
  config 
)
Initialize the scanner.

Definition at line 51 of file device_tracker.py.

Member Function Documentation

◆ _login()

def homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._login (   self)
private
Log in to the router. This is required for subsequent api calls.

Definition at line 82 of file device_tracker.py.

◆ _update_info()

def homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._update_info (   self)
private
Get ARP from router.

Definition at line 102 of file device_tracker.py.

◆ get_device_name()

def homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner.get_device_name (   self,
  device 
)
Return the name of the device with the given MAC address.

Definition at line 76 of file device_tracker.py.

◆ scan_devices()

def homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner.scan_devices (   self)
Scan for new devices and return a list with found device IDs.

Definition at line 70 of file device_tracker.py.

Member Data Documentation

◆ _loginurl

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._loginurl
private

Definition at line 56 of file device_tracker.py.

◆ _password

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._password
private

Definition at line 59 of file device_tracker.py.

◆ _type

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._type
private

Definition at line 62 of file device_tracker.py.

◆ _url

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._url
private

Definition at line 55 of file device_tracker.py.

◆ _userid

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._userid
private

Definition at line 66 of file device_tracker.py.

◆ _username

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner._username
private

Definition at line 58 of file device_tracker.py.

◆ last_results

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner.last_results

Definition at line 53 of file device_tracker.py.

◆ success_init

homeassistant.components.hitron_coda.device_tracker.HitronCODADeviceScanner.success_init

Definition at line 68 of file device_tracker.py.


The documentation for this class was generated from the following file: