Scanner for devices connected to an OpenWrt router.
Definition at line 49 of file device_tracker.py.
◆ __init__()
| def homeassistant.components.luci.device_tracker.LuciDeviceScanner.__init__ |
( |
|
self, |
|
|
|
config |
|
) |
| |
◆ _update_info()
| def homeassistant.components.luci.device_tracker.LuciDeviceScanner._update_info |
( |
|
self | ) |
|
|
private |
◆ get_device_name()
| def homeassistant.components.luci.device_tracker.LuciDeviceScanner.get_device_name |
( |
|
self, |
|
|
|
device |
|
) |
| |
Return the name of the given device or None if we don't know.
Definition at line 72 of file device_tracker.py.
◆ get_extra_attributes()
| def homeassistant.components.luci.device_tracker.LuciDeviceScanner.get_extra_attributes |
( |
|
self, |
|
|
|
device |
|
) |
| |
Get extra attributes of a device.
Some known extra attributes that may be returned in the device tuple
include MAC address (mac), network device (dev), IP address
(ip), reachable status (reachable), associated router
(host), hostname if known (hostname) among others.
Definition at line 79 of file device_tracker.py.
◆ scan_devices()
| def homeassistant.components.luci.device_tracker.LuciDeviceScanner.scan_devices |
( |
|
self | ) |
|
Scan for new devices and return a list with found device IDs.
Definition at line 66 of file device_tracker.py.
◆ last_results
| homeassistant.components.luci.device_tracker.LuciDeviceScanner.last_results |
◆ router
| homeassistant.components.luci.device_tracker.LuciDeviceScanner.router |
◆ success_init
| homeassistant.components.luci.device_tracker.LuciDeviceScanner.success_init |
The documentation for this class was generated from the following file: