Xiaomi Router

The xiaomi platform offers presence detection by looking at connected devices to a Xiaomi router.

To use an Xiaomi router in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: xiaomi
    host: YOUR_ROUTER_IP

Configuration variables:

  • host (Required): The IP address of your router, eg.
  • username (Optional: The admin username. By default admin.
  • password (Required): The password for the admin account.

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