
內容簡介
總結:MQTT-Plug通過安全的WebSocket連接,將即時的MQTT數據直接嵌入WordPress中。此外,該外掛針對開發人員、IoT實驗者和小型生產部署設計,提供實時可視性,而無需構建自定義前端。它專注於將即時數據嵌入WordPress頁面、文章和儀表板,同時保護憑證安全並保持配置簡單。
1. MQTT-Plug透過哪些功能將即時MQTT數據直接嵌入WordPress中?
- 通過安全的WebSocket連接
2. 誰是MQTT-Plug的目標用戶?
- 開發人員、IoT實驗者和小型生產部署
3. 在配置設置中,使用者可以進行哪些設置?
- Broker host、WebSocket port、TLS / secure connection (WSS)、Username and password、Base topic or subscription filter、Debug logging
4. 如何可以避免在公共網頁中使用實時憑證?
- 使用觀察者或服務器供應模式
5. MQTT-Plug是否會通過服務器代理MQTT流量?
- 除非明確配置,否則MQTT-Plug不會在WordPress上開放入站端口也不會代理MQTT流量。
外掛標籤
開發者團隊
原文外掛簡介
MQTT-Plug brings live MQTT data directly into WordPress using secure WebSocket connections.
It is designed for developers, IoT experimenters, and small production deployments that want real-time visibility without building a custom frontend.
Unlike traditional MQTT tools, MQTT-Plug focuses on embedding live data into WordPress pages, posts, and dashboards, while keeping credentials safe and configuration simple.
Key Features
Connect to MQTT brokers over WS/WSS
Live message stream and event log
Topic-based subscriptions
Shortcode-driven embeds
Works with public or authenticated dashboards
Designed for modern MQTT backends (Mosquitto, EMQX, HiveMQ, The-Link-Builders, managed brokers)
No external Node services required
Lightweight; no tracking, no telemetry, no lock-in
MQTT-Plug is infrastructure-agnostic. You control your broker, topics, and data flow.
Configuration
In Settings → MQTT-Plug, configure:
Broker host
WebSocket port
TLS / secure connection (WSS)
Username and password (if required)
Base topic or subscription filter
Debug logging (optional)
All credentials are stored using WordPress options and are never exposed to public users unless explicitly enabled.
Usage
Basic shortcode:
[mqtt_plug]
Optional attributes:
height="520px" – set container height
class="custom-class" – add a CSS hook
mode="observer" – server-fed or read-only views (if enabled)
Example:
[mqtt_plug height=”600px” class=”iot-dashboard” mode=”observer”]
Security Notes
Public pages should not use live credentials.
Use observer or server-fed modes for public dashboards.
Always prefer WSS when exposing MQTT over the internet.
Rotate credentials regularly for production systems.
MQTT-Plug does not open inbound ports on WordPress and does not proxy MQTT traffic through the server unless explicitly configured.
License
GPLv2 or later.
Credits
Developed by Michael Winchester
For documentation and updates, visit https://meshplug.michaelwinchester.com/
