home-assistant.io/source/_components/device_tracker.fritz.markdown
LightIsLife e15636c8b0
AiO install requires "pip install lxml" (#1686)
In addition to the added packages, it is necessary to install lxml within the virtual environment if AiO install has been chosen (I did not verify with other installs). Otherwise HASS will not start and not give any error messages when device_tracker with Fritz is used.
2017-01-14 11:01:49 +01:00

1.6 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 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.

It might be necessary to install additional packages: $ sudo apt-get install libxslt-dev libxml2-dev python3-lxml If you are working with the All-in-One installation, you may also need to execute also within your virtual environment the command pip install lxml; be patient this will take a while.

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.