An ASGI protocol server that bridges MQTT brokers with Django Channels, enabling real-time IoT integration with full ORM support.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mqttasgi
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mqttasgi using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
mqttasgi is a specialized ASGI protocol server designed to bridge the gap between MQTT (via paho-mqtt) and Django Channels. Much like Daphne serves HTTP and WebSockets, mqttasgi allows your Django application to treat MQTT as a native protocol. This enables developers to write Django consumers that subscribe and publish to MQTT topics while maintaining full access to the Django ORM, Channel Layers, and testing suites.
This skill is particularly valuable when building complex IoT backbones or home automation systems where data persistence and real-time coordination are required. By integrating this into your Openclaw Skills workflow, you can create intelligent agents that interact directly with hardware devices, sensors, and actuators through a standard Django-based architecture.
Install the package via pip:
pip install mqttasgi
Configure your asgi.py to route the mqtt protocol:
from channels.routing import ProtocolTypeRouter
from my_application.consumers import MyMqttConsumer
application = ProtocolTypeRouter({
'mqtt': MyMqttConsumer.as_asgi(),
})
Launch the protocol server from the command line:
mqttasgi -H localhost -p 1883 my_application.asgi:application
The skill handles data through structured dictionary events within the ASGI scope. Below is the internal schema for MQTT messages:
| Attribute | Type | Description |
|---|---|---|
topic |
String | The MQTT topic the message was received on or will be published to. |
payload |
Bytes | The raw message content. |
qos |
Integer | Quality of Service level (0, 1, or 2). |
retain |
Boolean | Whether the message should be retained by the broker (publish only). |
type |
String | Internal event type: mqtt.connect, mqtt.msg, mqtt.pub, or mqtt.sub. |
Loading
Automate Twitter/X posts, threads, and replies using official API v2 integration for Openclaw Skills users.

A developer-centric tool to seamlessly synchronize and publish Notion pages as long-form Twitter Articles.

Clawboard is a comprehensive observability and management suite for OpenClaw that provides real-time logging, vector-based search, and a centralized dashboard.

Clawboard is a comprehensive observability and retrieval stack designed to monitor, log, and search interactions within Openclaw Skills.

A secure, isolated 1:1 email channel that allows AI agents to communicate with a single human operator while maintaining system heartbeats.

A powerful interface for AI agents to manage wallets, send XLM, and deploy smart contracts on the Stellar network.








































