mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update docs to reflect changes in fritzbox integration (#11732)
This commit is contained in:
parent
b0e936fe58
commit
525028f883
@ -9,12 +9,6 @@ ha_release: '0.10'
|
|||||||
|
|
||||||
The `fritz` platform offers presence detection by looking at connected devices to a [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) based router.
|
The `fritz` platform offers presence detection by looking at connected devices to a [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) based router.
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
<div class='note warning'>
|
|
||||||
If not running Home Assistant via Hass.io or Docker it might be necessary to install additional packages: <code>sudo apt-get install python3-lxml libxslt-dev libxml2-dev zlib1g-dev</code>
|
|
||||||
If you installed Home Assistant in a virtualenv, run the following commands inside it: <code>pip3 install lxml</code>; be patient this will take a while.</div>
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To use an Fritz!Box router in your installation, add the following to your `configuration.yaml` file:
|
To use an Fritz!Box router in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
@ -11,23 +11,6 @@ ha_iot_class: Local Polling
|
|||||||
The `fritzbox_callmonitor` sensor monitors the call monitor exposed by [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) 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.
|
The `fritzbox_callmonitor` sensor monitors the call monitor exposed by [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) 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.
|
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.
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
|
|
||||||
To build the package you have to install some dependencies first.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ sudo apt-get update
|
|
||||||
$ sudo apt-get install libxml2-dev libxslt-dev \
|
|
||||||
python3-setuptools zlib1g-dev build-essential
|
|
||||||
```
|
|
||||||
|
|
||||||
If you installed Home Assistant in a virtualenv, also run the following command inside it.
|
|
||||||
Be patient this will take a while.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pip3 install lxml
|
|
||||||
```
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
To activate the call monitor on your Fritz!Box, dial #96\*5\* from any phone connected to it.
|
To activate the call monitor on your Fritz!Box, dial #96\*5\* from any phone connected to it.
|
||||||
|
@ -10,11 +10,6 @@ ha_iot_class: Local Polling
|
|||||||
|
|
||||||
The `fritzbox_netmonitor` sensor monitors the network statistics exposed by [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) routers.
|
The `fritzbox_netmonitor` sensor monitors the network statistics exposed by [AVM Fritz!Box](https://avm.de/produkte/fritzbox/) routers.
|
||||||
|
|
||||||
<div class='note warning'>
|
|
||||||
If not running Home Assistant via Hass.io or Docker it might be necessary to install additional packages: <code>sudo apt-get install libxslt-dev libxml2-dev python3-lxml</code>
|
|
||||||
If you are working with the All-in-One installation, you may also need to execute also within your virtual environment the command <code>pip3 install lxml</code>; be patient this will take a while.
|
|
||||||
</div>
|
|
||||||
|
|
||||||
To use the Fritz!Box network monitor in your installation, add the following to your `configuration.yaml` file:
|
To use the Fritz!Box network monitor in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -42,7 +37,6 @@ The following statistics will be exposed as attributes.
|
|||||||
|:----------------------|:------------------------------------------------------------|
|
|:----------------------|:------------------------------------------------------------|
|
||||||
|is_linked |True if the FritzBox is physically linked to the provider |
|
|is_linked |True if the FritzBox is physically linked to the provider |
|
||||||
|is_connected |True if the FritzBox has established an internet-connection |
|
|is_connected |True if the FritzBox has established an internet-connection |
|
||||||
|wan_access_type |Connection-type, can be `DSL` or `Cable` |
|
|
||||||
|external_ip |External IP address |
|
|external_ip |External IP address |
|
||||||
|uptime |Uptime in seconds |
|
|uptime |Uptime in seconds |
|
||||||
|bytes_sent |Bytes sent |
|
|bytes_sent |Bytes sent |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user