AVM FRITZ!SmartHome
The AVM FRITZ!SmartHome integration for Home Assistant allows you to integrate AVM Smart Home
Tested devices
- FRITZ!Box 5590 Fiber
- FRITZ!Box 6490 Cable
- FRITZ!Box 6591 Cable
- FRITZ!Box 7590
- FRITZ!Box 7590 AX
- FRITZ!Box 7530 AX
- FRITZ!Box 7490
- FRITZ!Box 7430
- FRITZ!DECT 200
- FRITZ!DECT 210
- FRITZ!DECT 301
- FRITZ!DECT 302
- FRITZ!DECT 500
- Eurotronic Comet DECT
- Magenta SmartHome LED E27 Color
- Magenta SmartHome LED E27 warmwhite
- Rademacher RolloTron DECT 1213
Prerequisites
It is recommended to create a separate user to connect Home Assistant to your FRITZ!Box. To create a user, in the FRITZ!Box go to System > FRITZ!Box Users > Users > Add User. Make sure the user has the Smart Home permission.
If you still want to use the predefined user, please note that as of FRITZ!OS 7.24, the FRITZ!Box creates a random username for the admin user if you didn’t set one yourself. This can be found after logging into the FRITZ!Box and visit System > FRITZ!Box Users > Users. The username starts with fritz
followed by four random numbers. Under properties on the right it says created automatically
. Prior to FRITZ!OS 7.24, the default username was admin
.
Configuration
To add the AVM FRITZ!SmartHome hub to your Home Assistant instance, use this My button:
AVM FRITZ!SmartHome can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.
Manual configuration steps
If it wasn’t discovered automatically, don’t worry! You can set up a manual integration entry:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select AVM FRITZ!SmartHome.
-
Follow the instructions on screen to complete the setup.
Name of the user to connect Home Assistant to your FRITZ!Box (see prerequisites)
Password for the user to connect Home Assistant to your FRITZ!Box (see prerequisites)
Data fetching and limitations
Since the API of the FRITZ!Box does not provide a push mechanism, this integration polls the data every 30 seconds from the FRITZ!Box. Because of this, the integration can’t support the main features of event-based devices like the FRITZ!DECT 350
Devices
Light bulbs
Light bulbs like the FRITZ!DECT 500
The FRITZ!DECT 500
Plugs
Plugs like the FRITZ!DECT 200
Further there are additional sensorSensors return information about a thing, for instance the level of water in a tank. [Learn more] and “binary sensor”A binary sensor returns information about things that only have two states - such as on or off. [Learn more] entities created for each device, based on its capabilities:
- Button lock via UI
- Button lock on device
- Electric Current
- Power Consumption
- Temperature
- Total Energy
- Voltage
Shutter drivers
Shutter drivers like the Rademacher RolloTron DECT 1213
Templates
Self defined templateson
or off
, but keeps the timestamp of when it was last pressed in the Home Assistant UI or via an action. [Learn more] entities and those can be triggered from within Home Assistant.
Thermostats
Thermostats like the FRITZ!DECT 301
These entities can have several attributes that can be useful for automationsAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more] and templatesA template is an automation definition that can include variables for the action or data from the trigger values. This allows automations to generate dynamic actions. [Learn more]:
Attribute | Description |
---|---|
battery_low |
The low battery state indication. |
battery_level |
The battery level (only available since Fritz!OS 7). |
holiday_mode |
The state of the holiday mode (only available since Fritz!OS 7). |
summer_mode |
The state of the summer mode (only available since Fritz!OS 7). |
window_open |
The state of the window open detection (only available since Fritz!OS 7). |
Further there are additional sensorSensors return information about a thing, for instance the level of water in a tank. [Learn more] and “binary sensor”A binary sensor returns information about things that only have two states - such as on or off. [Learn more] entities created for each device, based on its capabilities:
- Battery
- Button lock via UI
- Button lock on device
- Comfort Temperature
- Current Scheduled Preset
- Eco Temperature
- Next Scheduled Change Time
- Next Scheduled Preset
- Next Scheduled Temperature
Other devices
Some devices like the FRITZ!DECT 350
The availability of these sensorSensors return information about a thing, for instance the level of water in a tank. [Learn more] and “binary sensor”A binary sensor returns information about things that only have two states - such as on or off. [Learn more] entities depends on the features and capabilities of the connected device and can be one or multiple of:
- Battery
- Button lock via UI
- Button lock on device
- Humidity
- Temperature
Troubleshooting
In any case, when reporting an issue, please enable debug logging, restart the integration, and as soon as the issue re-occurs stop the debug logging again (download of debug log file will start automatically). Further if still possible, please also download the diagnostics data. If you have collected the debug log and the diagnostics data, provide them with the issue report.
Remove the integration
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three-dot
menu. Then, select Delete.
If you don’t use the separate created FRITZ!Box user anymore, than remove it from the FRITZ!Box under to System > FRITZ!Box Users > Users.