diff --git a/source/_integrations/fritz.markdown b/source/_integrations/fritz.markdown index 6c99fce904d..7ae3e2e8c07 100644 --- a/source/_integrations/fritz.markdown +++ b/source/_integrations/fritz.markdown @@ -79,6 +79,8 @@ These can be changed at **AVM FRITZ!Box Tools** -> **Configure** on the Integrat ### 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. ### 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. 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` -> ``) + +**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: ..." + +```