mqtt-iot

Configure MQTT brokers with Docker for IoT messaging and device communication.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/HouseGarofalo/claude-code-base --skill mqtt-iot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mqtt-iot
Source: https://github.com/HouseGarofalo/claude-code-base/tree/main/.claude/skills/mqtt-iot
Command: npx skills add https://github.com/HouseGarofalo/claude-code-base --skill mqtt-iot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the setup and configuration of MQTT brokers, enabling seamless communication for IoT devices and smart home systems.

Core Features & Use Cases

  • Broker Setup: Guides through setting up popular MQTT brokers like Mosquitto and EMQX using Docker.
  • Configuration Management: Provides detailed configurations for listeners, authentication, ACLs, and persistence.
  • Topic Design: Offers best practices and examples for designing hierarchical and device-centric MQTT topic structures.
  • Client Interaction: Includes examples for subscribing and publishing messages using mosquitto_sub and mosquitto_pub.
  • Home Assistant Integration: Shows how to integrate MQTT devices with Home Assistant using its discovery protocol.
  • Bridging: Demonstrates how to configure brokers to bridge messages between different MQTT servers.

Quick Start

Use the mqtt-iot skill to configure Mosquitto for IoT messaging with authentication and TLS.

Frequently Asked Questions about mqtt-iot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure an MQTT broker for IoT messaging?

Setting up an MQTT broker for IoT messaging involves deploying Mosquitto or EMQX via Docker, then defining listeners, authentication, and ACLs. This skill provides configuration files and CLI examples to manage topics, QoS levels, and robust device communication.

What is the best way to design MQTT topics for smart home devices?

Designing MQTT topics for smart home devices requires a hierarchical and device-centric structure to ensure organized data exchange. Best practices involve segmenting topics by room, device type, or function to efficiently manage QoS levels and message routing.

Can I use Docker to deploy EMQX or Mosquitto for IoT device communication?

Yes, you can use Docker to deploy EMQX or Mosquitto for IoT device communication. Docker simplifies the deployment process, allowing you to quickly configure MQTT brokers, manage persistence, and establish robust data exchange between smart home devices.

How does MQTT bridging work between different brokers?

MQTT bridging connects separate MQTT servers to forward messages between them, enabling robust IoT data exchange across different networks. It works by configuring a broker to subscribe to specific topics on one server and publish them to another, ensuring synchronized device communication.

How do I integrate MQTT devices with Home Assistant using discovery?

Integrating MQTT devices with Home Assistant uses the MQTT discovery protocol to automatically register devices. By configuring your Mosquitto or EMQX broker to publish specific discovery topics, Home Assistant automatically detects and sets up the IoT devices for smart home control.

What are the authentication and ACL options when setting up an MQTT broker?

Authentication and ACL options for an MQTT broker include configuring user passwords, limiting topic access via Access Control Lists, and securing connections with TLS. These configurations ensure secure IoT messaging and restrict device publishing or subscribing permissions.