This is one of multiple ways we support OpenWRT. For an overview, see openwrt.
This is a presence detection scanner for OpenWRT using luci.
This component requires a workaround when using luci with HTTPS and a self-signed certificate.
Before this scanner can be used you have to install the luci RPC package on OpenWRT:
# opkg install luci-mod-rpc
To use this device tracker in your installation, add the following to your
# Example configuration.yaml entry device_tracker: - platform: luci host: ROUTER_IP_ADDRESS username: YOUR_ADMIN_USERNAME password: YOUR_ADMIN_PASSWORD
(string)(Required)The hostname or IP address of your router, e.g.,
(string)(Required)The username of an user with administrative privileges, usually
(string)(Required)The password for your given admin account.
(boolean)(Optional)If your router enforces SSL connections, set to
Default value: false
See the device tracker component page for instructions how to configure the people to be tracked.
Some installations have a small bug. The timeout for luci RPC calls is not set and this makes the call fail.