mqtt-classroom
Installation
SKILL.md
mqtt-classroom
Every XIAO ESP32C6 in the class publishes to one shared Mosquitto broker. This
skill wraps the mosquitto_pub / mosquitto_sub commands behind skill.sh.
Broker
| Host | 192.168.0.49 (the instructor's laptop) |
| MQTT (TCP) | 1883 — boards, CLI, desktop clients |
| MQTT over WebSockets | 9001 — browser clients |
| Auth | anonymous, no username or password |
You must be on the same WiFi as the broker machine. The address is a private LAN address; it is not reachable from outside the classroom network.
Override the defaults with environment variables if the instructor's IP changes: