home-assistant.io/source/_components/device_tracker.fritz.markdown
Andreas Oberritter bb38f511b5 Update device_tracker.fritz.markdown (#5431)
* Update device_tracker.fritz.markdown

Added zlib1g-dev, which is needed to link lxml. Rephrased to make clear that one either needs to install lxml from a repository or build it from sources.

* Fix name
2018-05-26 09:38:48 +02: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 FRITZ!Box Instructions on how to integrate AVM FRITZ!Box based routers into Home Assistant. 2015-12-13 19:00 true false true true avm.png Presence Detection 0.10

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

{% linkable_title 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; pip install lxml; be patient this will take a while.

{% linkable_title 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 (Optional): The IP address of your router, eg. 192.168.1.1. It is optional since every fritzbox is also reachable by using the IP address 169.254.1.1.
  • username (Optional: The username of an user with administrative privileges, usually admin.
  • password (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.