DLNA Control for Openclaw

A powerful integration for discovering and controlling DLNA/UPnP media renderers across your local network.

dxsdyhm
v1.0.0
Apr 14, 2026
0
705
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install dlna

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 dlna 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 DLNA Control?

The dlna-control skill is a specialized technical module designed for Openclaw Skills users to interface directly with local network hardware. By leveraging the async_upnp_client library, it enables seamless communication with MediaRenderer devices such as smart TVs, network speakers, and AV receivers.

This skill provides a robust framework for handling SSDP discovery and SOAP-based device control, allowing developers to build automation workflows that bridge the gap between digital media URLs and physical playback hardware. It is an essential tool for creating centralized home media hubs or automated presentation systems.

DLNA Control Use Cases

  • Automate media playback on smart TVs or DLNA-compatible speakers using simple URLs.
  • Perform network-wide discovery to list and identify active MediaRenderer devices on the LAN.
  • Build custom remote control interfaces for playback management including play, pause, stop, and seek functions.
  • Implement real-time monitoring of transport status and playback position for multi-room audio sync.
  • Set default media devices for specific automated tasks within an Openclaw Skills environment.

How DLNA Control Works

  1. Discovery Phase: The skill initializes an SSDP listener on UDP port 1900 to detect UPnP-enabled devices on the local subnet.
  2. Device Filtering: It parses device descriptions to identify specific MediaRenderer profiles, extracting the UDN and control URL.
  3. Protocol Handshake: A connection is established using a SOAP-based protocol to interact with the AVTransport and RenderingControl services.
  4. Metadata Preparation: For playback, the skill generates DIDL-Lite XML metadata to inform the renderer about the media format and title.
  5. Execution: The skill sends action commands (Play, Pause, SetAVTransportURI) and monitors the return transport status to ensure successful execution.

DLNA Control Setup

To integrate this capability into your Openclaw Skills workflow, ensure your environment has the necessary dependencies installed:

pip install async_upnp_client click httpx

Ensure your local firewall allows incoming UDP traffic on port 1900 for discovery and TCP traffic for the control endpoints identified during the discovery process.

DLNA Control Data Schema & Taxonomy

The skill manages device and playback information using a structured schema to ensure consistency across different hardware manufacturers:

Attribute Description Data Type
name Friendly name of the DLNA device String
udn Unique Device Name used for persistent identification String
location The XML descriptor URL of the device URL
state Current playback status (PLAYING, PAUSED, STOPPED) Enum
position Relative time position of current media Timestamp (HH:MM:SS)

DLNA Control Advanced Features

  • Dynamic Metadata Generation: Automatically constructs compliant DIDL-Lite XML for various MIME types to ensure compatibility across diverse hardware.
  • Async Discovery Hooks: Provides asynchronous SSDP listeners that can be integrated into larger event-driven Openclaw Skills architectures.
  • Granular Rendering Control: Includes advanced actions for volume manipulation and seek operations using REL_TIME targets.
  • Multi-Agent Coordination: Can be used in conjunction with other agents to trigger media playback based on external events like security alerts or calendar reminders.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*