Skip to content

Commit 3e6bbbb

Browse files
DavidMStraubLandrash
authored andcommitted
Update FritzBox call monitor documentation to match HA PR home-assistant#6474 (home-assistant#2216)
* Update FritzBox call monitor documentation to match HA PR home-assistant#6474 * Mention required user permissions * Reverted creation date * Remove stray sentence
1 parent acf2b67 commit 3e6bbbb

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

source/_components/sensor.fritzbox_callmonitor.markdown

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ha_iot_class: "Local Polling"
1616

1717
The `fritzbox_callmonitor` sensor monitors the call monitor exposed by [AVM Fritz!Box](http://avm.de/produkte/fritzbox/) routers
1818
on TCP port 1012. It will assume the values `idle`, `ringing`, `dialing`, or `talking` with the phone numbers involved contained in the state attributes.
19+
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.
1920

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

@@ -31,3 +32,27 @@ Configuration variables:
3132
3233
- **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.
3334
- **port** (*Optional*): The TCP port of the call monitor. There is usually no reason to change this.
35+
- **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.
36+
- **password** (*Optional*): Fritz!Box user's user password. This is required to use the phone book lookup feature.
37+
- **phonebook** (*Optional*): Numerical ID identifying the phonebook to be used. If there is just one phonebook, this is usually 0.
38+
- **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.
39+
40+
## {% linkable_title Examples %}
41+
42+
### {% linkable_title Full configuration %}
43+
44+
The example below shows a full configuration for a call monitor with phone book support.
45+
46+
```yaml
47+
# Example configuration.yml entry
48+
sensor:
49+
- platform: fritzbox_callmonitor
50+
name: Phone
51+
username: my_username
52+
password: my_password
53+
phonebook: 0
54+
prefixes:
55+
- '+49'
56+
- '+4989'
57+
- '089'
58+
```

0 commit comments

Comments
 (0)