home-assistant.io/source/_components/sensor.fritzbox_callmonitor.markdown
David Straub 3e6bbbbdba Update FritzBox call monitor documentation to match HA PR #6474 (#2216)
* Update FritzBox call monitor documentation to match HA PR #6474

* Mention required user permissions

* Reverted creation date

* Remove stray sentence
2017-03-17 22:50:58 +01:00

2.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page FRITZ!Box Instructions how to integrate a phone call monitor for AVM FRITZ!Box routers into Home Assistant. 2016-08-13 15:00 true false true true avm.png System Monitor 0.27 Local Polling

The fritzbox_callmonitor sensor monitors the call monitor exposed by AVM Fritz!Box routers on TCP port 1012. It will assume the values idle, ringing, dialing, or talking with the phone numbers involved contained in the state attributes. It can also access the internal phone book of the router to look up the names corresponding to the phone numbers and store them in the state attributes.

To activate the call monitor on your Fritz!Box, dial #96*5* from any phone connected to it.

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

# Example configuration.yaml entry
sensor:
  - platform: fritzbox_callmonitor

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.
  • port (Optional): The TCP port of the call monitor. There is usually no reason to change this.
  • username (Optional): Fritz!Box user's user name. This is required to use the phone book lookup feature. The user needs to have the "voice message, fax message, Fritz!App Fon and call list" permission.
  • password (Optional): Fritz!Box user's user password. This is required to use the phone book lookup feature.
  • phonebook (Optional): Numerical ID identifying the phonebook to be used. If there is just one phonebook, this is usually 0.
  • prefixes (Optional): In case of a local call, the phone number seen by the router might differ from the one stored in the phone book by an area code, similarly for the international prefix. To remedy this, a list of prefixes, that can be appended to the phone number in case it is not found in the phone book, can be given.

{% linkable_title Examples %}

{% linkable_title Full configuration %}

The example below shows a full configuration for a call monitor with phone book support.

# Example configuration.yml entry
sensor:
  - platform: fritzbox_callmonitor
    name: Phone
    username: my_username
    password: my_password
    phonebook: 0
    prefixes:
      - '+49'
      - '+4989'
      - '089'