extend fritz doc (#18682)

* extend fritz doc

* fix FRITZ!Box name

* Update source/_integrations/fritz.markdown

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>

* Update source/_integrations/fritz.markdown

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update source/_integrations/fritz.markdown

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* suggestions

Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Aaron David Schneider 2021-08-03 10:05:07 +02:00 committed by Franck Nijhof
parent eb83045b8d
commit a94e5bf572
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -79,6 +79,8 @@ These can be changed at **AVM FRITZ!Box Tools** -> **Configure** on the Integrat
### Parental control ### Parental control
Parental control switches can be used to enable and disable internet access of individual devices. If a device has internet access it will be enabled, otherwise it will be disabled. You can also find the current blocking state of the individual devices in the UI of the FRITZ!Box under `Internet` -> `Filters` -> `Parental Controls` -> `Device Block`
Parental control switches are designed for advanced users, thus they are disabled by default. You need to enable the wanted entities manually. Parental control switches are designed for advanced users, thus they are disabled by default. You need to enable the wanted entities manually.
### Device Tracker ### Device Tracker
@ -91,3 +93,55 @@ Parental control switches are designed for advanced users, thus they are disable
Due to security reasons, AVM implemented the ability to enable/disable a port forward rule only from the host involved in the rule. Due to security reasons, AVM implemented the ability to enable/disable a port forward rule only from the host involved in the rule.
As a result, this integration will create entities only for rules that have your Home Assistant host as a destination. As a result, this integration will create entities only for rules that have your Home Assistant host as a destination.
**Note 1**: On your FRITZ!Box, enable the setting `Permit independent port sharing for this device` for the device which runs HA (`Internet` -> `Permit Access` -> `<Name of HA device>`)
**Note 2**: Only works if you have a dedicated IPv4 address (it won't work with DS-Lite)
## Example Automations and Scripts
**Script: Reconnect / get new IP**
The following script can be used to easily add a reconnect button to your UI. If you want to reboot your FRITZ!Box, you can use `fritzbox_tools.reboot` instead.
```yaml
fritz_box_reconnect:
alias: "Reconnect FRITZ!Box"
sequence:
- service: fritz.reconnect
target:
entity_id: binary_sensor.fritz_box_7530_connectivity
```
**Automation: Reconnect / get new IP every night**
```yaml
automation:
- alias: "System: Reconnect FRITZ!Box"
trigger:
- platform: time
at: "05:00:00"
action:
- service: fritz.reconnect
target:
entity_id: binary_sensor.fritzbox_x_connectivity
```
**Automation: Phone notification with wifi credentials when guest wifi is created**
```yaml
automation:
- alias: "Guests Wifi Turned On -> Send Password To Phone"
trigger:
- platform: state
entity_id: switch.fritzbox_x_wifi_x
to: "on"
action:
- service: notify.notify
data:
title: "Guest wifi is enabled"
message: "Password: ..."
```