Fritz Connection for Openclaw

A comprehensive integration for controlling and monitoring AVM FRITZ!Box routers using the TR-064 interface.

wolf128058
v1.0.0
Mar 17, 2026
1
864
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install fritz-connection

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install fritz-connection using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Fritz Connection?

Fritz Connection is a specialized skill designed to interface with AVM FRITZ!Box hardware directly. By leveraging the fritzconnection Python library and the TR-064 API, this tool provides developers with deep visibility into their home network. As part of the Openclaw Skills ecosystem, it allows for seamless monitoring of real-time traffic statistics, connected device logs, and telephony data.

This skill serves as a bridge between your AI agent and your network infrastructure. It offers a structured way to query router uptime, external IP addresses, and bandwidth limits while maintaining a high standard of security for destructive actions like reboots or network resets. This makes it an essential component for users looking to integrate network management into their automated workflows.

Fritz Connection Use Cases

  • Monitoring real-time bandwidth consumption and total data volume received or sent.
  • Listing all active and inactive devices in the local network with IP and MAC address details.
  • Automating router maintenance tasks such as requesting a new IP address or performing a system reboot.
  • Tracking and logging incoming, outgoing, and missed phone calls from the router's internal log.
  • Managing system-wide WLAN settings, including toggling the guest network for visitors.

How Fritz Connection Works

  1. The user configures router credentials and the host IP address in the environment variables.
  2. The skill initializes a connection via the TR-064 API using the underlying fritzconnection logic.
  3. The agent dispatches requests to specific router services such as WANIPConnection, WLANConfiguration, or Hosts.
  4. The skill processes the TR-064 response dictionary or AHA-HTTP XML data into a structured, human-readable format.
  5. Critical actions like rebooting or reconnecting trigger a safety check within the Openclaw Skills workflow to ensure user consent.

Fritz Connection Setup

To install this skill, navigate to your workspace and set up the Python environment:

cd ~/.openclaw/workspace/skills/fritz-status
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

Configure your router credentials in ~/.openclaw/skills/.env:

FRITZBOX_HOST=192.168.178.1
FRITZBOX_PASSWORD=your_password

Fritz Connection Data Schema & Taxonomy

The skill organizes data by mapping TR-064 services to specific router functions. Below is the primary metadata taxonomy:

Service Function Data Points
WANIPConnection Connection External IP, Uptime, Connection Status
WANCommonInterfaceConfig Traffic Downstream/Upstream rates, Bytes Sent/Received
Hosts Inventory Device Name, IP, MAC, Activity Status
WLANConfiguration WiFi SSID, Channel, Standard (ax/ac), Enable/Disable
X_AVM-DE_OnTel Telephony Call Type (Incoming/Outgoing/Missed), Number, Timestamp

Fritz Connection Advanced Features

  • Real-time call monitoring using the FritzCallMonitor library for instant event-based triggers.
  • Support for dual API interfaces: TR-064 for network configuration and AHA-HTTP for Smart Home device statistics.
  • Targeted WLAN control allowing independent management of 2.4 GHz, 5 GHz, and Guest networks.
  • Support for DECT-based Smart Home automation, including switching sockets and reading thermostat data.
  • Extensible CLI interface that can be integrated into larger monitoring scripts or dashboards within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*