fritzbox_netmonitor sensor monitors the network statistics exposed by AVM Fritz!Box routers.
sudo apt-get install libxslt-dev libxml2-dev python3-lxmlIf you are working with the All-in-One installation, you may also need to execute also within your virtual environment the command
pip3 install lxml; be patient this will take a while.
To use the Fritz!Box network monitor in your installation, add the following to your
# Example configuration.yaml entry sensor: - platform: fritzbox_netmonitor
The following statistics will be exposed as attributes.
|is_linked||True if the FritzBox is physically linked to the provider|
|is_connected||True if the FritzBox has established an internet-connection|
|wan_access_type||Connection-type, can be
|external_ip||External ip address|
|uptime||Uptime in seconds|
|transmission_rate_up||Current upstream speed in bytes/s|
|transmission_rate_down||Current downstream speed in bytes/s|
|max_byte_rate_up||Maximum upstream-rate in bytes/s|
|max_byte_rate_down||Maximum downstream-rate in bytes/s|
The sensor’s state corresponds to the
is_linked attribute and is either
unavailable (in case connection to the router is lost).