mqtt-debug

Diagnose MQTT publish/subscribe issues and validate Home Assistant Discovery payloads.

25|7|Updated Mar 4, 2019
One-click install
npx skills add https://github.com/smart-swimmingpool/pool-controller --skill mqtt-debug-smart-swimmingpool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mqtt-debug
Source: https://github.com/smart-swimmingpool/pool-controller/tree/main/.opencode/skills/mqtt-debug
Command: npx skills add https://github.com/smart-swimmingpool/pool-controller --skill mqtt-debug-smart-swimmingpool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This debugging guide helps developers diagnose and fix MQTT-based communication issues for the pool-controller, including verifying Home Assistant Discovery payloads and Homie convention compliance, and tracing publish/subscribe flows.

Core Features & Use Cases

  • Debug MQTT/Homie/Home Assistant Discovery integration for the pool-controller.
  • Trace publish/subscribe flows, validate discovery payloads, and test Homie conformity across brokers and clients.
  • Useful when developing or maintaining the MQTT interface, identifying misconfigurations and ensuring correct device discovery.

Quick Start

Monitor MQTT traffic and verify Home Assistant Discovery payloads to ensure correct device discovery.

Frequently Asked Questions about mqtt-debug

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

FAQPage Schema
How do I debug MQTT Home Assistant Discovery issues?

To debug MQTT Home Assistant Discovery issues, you trace publish/subscribe flows and validate discovery payloads against the HA schema. This process identifies misconfigurations and ensures correct device registration for your pool-controller.

What is the Homie convention and how does it affect MQTT device discovery?

The Homie convention defines a standardized MQTT topic structure for IoT devices. Validating Homie conformity ensures clients like Home Assistant can automatically parse device states and attributes without manual configuration errors.

Does this MQTT troubleshooting process work with Mosquitto and Home Assistant?

Yes, this MQTT troubleshooting process works with Home Assistant, Mosquitto, and other MQTT clients. It diagnoses publish/subscribe problems across these platforms to ensure accurate discovery payload delivery and device communication.

How do I validate MQTT discovery payloads for my pool-controller?

You validate MQTT discovery payloads by monitoring MQTT traffic and checking the published JSON structure against the Home Assistant Discovery schema. This verifies that topic naming and payload content meet client requirements.

Why is my MQTT device not showing up in Home Assistant?

Your MQTT device might not show up in Home Assistant due to invalid discovery payloads, incorrect topic structures, or broken publish/subscribe flows. Tracing MQTT traffic helps pinpoint these exact misconfigurations for remediation.

What's the best way to trace MQTT publish and subscribe problems?

The best way to trace MQTT publish and subscribe problems is to monitor live broker traffic and validate message payloads against the expected Homie convention and HA Discovery schema, providing actionable diagnostics.