home-assistant.io/source/_components/device_tracker.luci.markdown
Marco 1d7c8dce63 readability and notes (#4335)
* Update media_player.yamaha_musiccast.markdown

https://community.home-assistant.io/t/support-for-new-yamaha-receivers-and-musiccast-devices/17001/22

* moved section

'authentication' guide should be right below the 'scanning' guide. it's one workflow

* easier searchable variable 'login_id'

* added a hint to enable home sharing

* fixed wrong syntax in config example

* added note for use over https

see https://github.com/home-assistant/home-assistant/issues/1258
2018-01-05 17:33:35 +01:00

1.7 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page OpenWRT (luci) Instructions how to integrate OpenWRT routers into Home Assistant. 2015-03-23 19:59 true false true true openwrt.png Presence Detection pre 0.7

This is one of the two ways we support OpenWRT. If you encounter problems, try ubus.

This is a presence detection scanner for OpenWRT using luci.

This component requires a [workaround](https://github.com/home-assistant/home-assistant/issues/1258#issuecomment-252469880) 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 configuration.yaml file:

# Example configuration.yaml entry
device_tracker:
  - platform: luci
    host: ROUTER_IP_ADDRESS
    username: YOUR_ADMIN_USERNAME
    password: YOUR_ADMIN_PASSWORD

Configuration 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.

See the device tracker component page for instructions how to configure the people to be tracked.

Some installations have [a small bug](https://github.com/openwrt/luci/issues/576). The timeout for luci RPC calls is not set and this makes the call fail.