mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-30 14:56:50 +00:00
47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
---
|
|
layout: page
|
|
title: "Ubiquiti Unifi direct AP"
|
|
description: "Instructions on how to use a Unifi WAP as a device tracker."
|
|
date: 2017-11-17 14:59
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: ubiquiti.png
|
|
ha_category: Presence Detection
|
|
ha_iot_class: "Local Polling"
|
|
ha_release: 0.59
|
|
---
|
|
|
|
|
|
This platform allows you to detect presence by looking at devices connected to a [UniFi AP](https://www.ubnt.com/products/#unifi). This device tracker differs form [Ubiquiti Unifi WAP](/components/device_tracker.unifi/) because it doesn't require the Unifi controller software.
|
|
|
|
To use this device tracker in your installation, add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
device_tracker:
|
|
- platform: unifi_direct
|
|
host: YOUR_AP_IP_ADDRESS
|
|
username: YOUR_USERNAME
|
|
password: YOUR_PASSWORD
|
|
```
|
|
|
|
{% configuration %}
|
|
host:
|
|
description: The hostname or IP address of your Unifi AP.
|
|
required: true
|
|
type: string
|
|
username:
|
|
description: The SSH device username used to connect to your Unifi AP.
|
|
required: true
|
|
type: string
|
|
password:
|
|
description: The SSH device password used to connect to your Unifi AP.
|
|
required: true
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
See the [device tracker component page](/components/device_tracker/) for instructions how to configure the people to be tracked.
|
|
|