Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 8 additions & 25 deletions source/_integrations/fritz.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ ha_codeowners:
ha_iot_class: Local Polling
ha_platforms:
- binary_sensor
- button
- device_tracker
- sensor
- switch
Expand All @@ -27,6 +28,7 @@ There is support for the following platform types within Home Assistant:

- **Device tracker** - presence detection by looking at connected devices.
- **Binary sensor** - connectivity status.
- **Button** - reboot, reconnect, firmware_update.
- **Sensor** - external IP address, uptime and network monitors.
- **Switch** - call deflection, port forward, parental control and Wi-Fi networks.

Expand All @@ -44,29 +46,10 @@ The configuration in the UI asks for a username. Starting from FRITZ!OS 7.24 the

Currently supported services are Platform specific:

- `fritz.reconnect`
- `fritz.reboot`
- `fritz.cleanup`

### Platform Services

#### Service `fritz.reboot`

Reboot the router.

| Service data attribute | Optional | Description |
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `entity_id` | no | Only act on a specific router |

#### Service `fritz.reconnect`

Disconnect and reconnect the router to the Internet.
If you have a dynamic IP address, most likely it will change.

| Service data attribute | Optional | Description |
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- |
| `entity_id` | no | Only act on a specific router |

#### Service `fritz.cleanup`

Remove all stale devices from Home Assistant.
Expand Down Expand Up @@ -112,26 +95,26 @@ The following script can be used to easily add a reconnect button to your UI. If

```yaml
fritz_box_reconnect:
alias: "Reconnect FRITZ!Box"
alias: "Reboot FRITZ!Box"
sequence:
- service: fritz.reconnect
- service: button.press
target:
entity_id: binary_sensor.fritzbox_7530_connection
entity_id: button.fritzbox_7530_reboot

```

### Automation: Reconnect / get new IP every night

```yaml
automation:
- alias: "System - Reconnect FRITZ!Box"
- alias: "Reconnect FRITZ!Box"
trigger:
- platform: time
at: "05:00:00"
action:
- service: fritz.reconnect
- service: button.press
target:
entity_id: binary_sensor.fritzbox_7530_connection
entity_id: button.fritzbox_7530_reconnect

```

Expand Down