home-assistant.io/source/_integrations/unifi_direct.markdown
2024-11-27 18:57:16 +01:00

1.5 KiB

title description ha_category ha_iot_class ha_release ha_domain ha_platforms ha_integration_type ha_codeowners related ha_quality_scale
UniFi AP Instructions on how to use a Unifi WAP as a device tracker.
Presence detection
Local Polling 0.59 unifi_direct
device_tracker
integration
@tofuSCHNITZEL
docs title
/docs/configuration/ Configuration file
legacy

This {% term integration %} allows you to detect presence by looking at devices connected to a UniFi AP. This device tracker differs from Ubiquiti UniFi because it doesn't require the UniFi Network application.

To use this device tracker in your installation, add the following to your {% term "configuration.yaml" %} file. {% include integrations/restart_ha_after_config_inclusion.md %}

# 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 integration page for instructions how to configure the people to be tracked.