Move configuration details to docs
parent
c74f46794e
commit
3b91f89173
|
@ -4,33 +4,8 @@ homeassistant.components.device_tracker.luci
|
||||||
Device tracker platform that supports scanning a OpenWRT router for device
|
Device tracker platform that supports scanning a OpenWRT router for device
|
||||||
presence.
|
presence.
|
||||||
|
|
||||||
It's required that the luci RPC package is installed on the OpenWRT router:
|
For more details about this platform, please refer to the documentation at
|
||||||
# opkg install luci-mod-rpc
|
https://home-assistant.io/components/device_tracker.luci.html
|
||||||
|
|
||||||
Configuration:
|
|
||||||
|
|
||||||
To use the Luci tracker you will need to add something like the following
|
|
||||||
to your configuration.yaml file.
|
|
||||||
|
|
||||||
device_tracker:
|
|
||||||
platform: luci
|
|
||||||
host: YOUR_ROUTER_IP
|
|
||||||
username: YOUR_ADMIN_USERNAME
|
|
||||||
password: YOUR_ADMIN_PASSWORD
|
|
||||||
|
|
||||||
Variables:
|
|
||||||
|
|
||||||
host
|
|
||||||
*Required
|
|
||||||
The IP address of your router, e.g. 192.168.1.1.
|
|
||||||
|
|
||||||
username
|
|
||||||
*Required
|
|
||||||
The username of an user with administrative privileges, usually 'admin'.
|
|
||||||
|
|
||||||
password
|
|
||||||
*Required
|
|
||||||
The password for your given admin account.
|
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
|
|
Loading…
Reference in New Issue