FRITZ!Box


The fritz platform offers presence detection by looking at connected devices to a AVM Fritz!Box based router.

Setup

It might be necessary to install additional packages: $ sudo apt-get install python3-lxml If you installed Home Assistant in a virtualenv, run the following commands inside it: $ sudo apt-get install libxslt-dev libxml2-dev zlib1g-dev; pip3 install lxml; be patient this will take a while.

Configuration

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

# Example configuration.yaml entry
device_tracker:
  - platform: fritz

Configuration Variables

host

(string)(Optional)The IP address of your router, e.g., 192.168.1.1. It is optional since every fritzbox is also reachable by using the IP address 169.254.1.1.

username

(string)(Optional)The username of an user with administrative privileges, usually admin.

password

(string)(Optional)The password for your given admin account.

It seems that it is not necessary to use it in current generation Fritz!Box routers because the necessary data can be retrieved anonymously.

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