Title: MQTT-Plug
Author: POTAR
Published: <strong>5. februar, 2026</strong>
Last modified: 5. februar, 2026

---

Søg plugins

![](https://ps.w.org/mqtt-plug/assets/banner-772x250.png?rev=3454196)

![](https://ps.w.org/mqtt-plug/assets/icon-256x256.png?rev=3454196)

# MQTT-Plug

 Af [POTAR](https://profiles.wordpress.org/potar/)

[Download](https://downloads.wordpress.org/plugin/mqtt-plug.1.0.zip)

 * [Detaljer](https://da.wordpress.org/plugins/mqtt-plug/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/mqtt-plug/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/mqtt-plug/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/mqtt-plug/#developers)

 [Support](https://wordpress.org/support/plugin/mqtt-plug/)

## Beskrivelse

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/](https://meshplug.michaelwinchester.com/)

## Skærmbilleder

[⌊Live MQTT dashboard⌉⌊Live MQTT dashboard⌉[

Live MQTT dashboard

[⌊Log Tab⌉⌊Log Tab⌉[

Log Tab

[⌊History Tab⌉⌊History Tab⌉[

History Tab

[⌊Settings⌉⌊Settings⌉[

Settings

## Installation

 1. Upload the `mqtt-plug` folder to `/wp-content/plugins/`, or install via the WordPress
    plugin installer.
 2. Activate the plugin through the _Plugins_ menu.
 3. Go to **Settings  MQTT-Plug** to configure your broker connection.
 4. Add the shortcode to any page or post.

## FAQ

### Does this replace my MQTT broker?

No. MQTT-Plug is a viewer and frontend. You still need an MQTT broker.

### Which brokers are supported?

Any MQTT broker that supports WebSockets, including Mosquitto, EMQX, HiveMQ, and
managed services.

### Can I use this for production systems?

Yes, provided you follow standard MQTT security practices. For large-scale or multi-
tenant systems, a managed broker is recommended.

### Is JavaScript required?

Yes. MQTT-Plug uses browser-based WebSocket connections for live data.

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“MQTT-Plug” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ POTAR ](https://profiles.wordpress.org/potar/)

[Oversæt “MQTT-Plug” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/mqtt-plug)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/mqtt-plug/), tjek [SVN repository](https://plugins.svn.wordpress.org/mqtt-plug/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/mqtt-plug/)
via [RSS](https://plugins.trac.wordpress.org/log/mqtt-plug/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.0

 * Initial stable release
 * Hardened settings validation
 * Improved connection lifecycle handling
 * Observer-safe rendering
 * Clean shortcode API
 * Production-ready defaults

## Meta

 *  Version **1.0**
 *  Senest opdateret **6 måneder siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 6.0 eller højere **
 *  Testet op til **6.9.5**
 *  PHP-version ** 7.4 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/mqtt-plug/)
 * Tags
 * [dashboards](https://da.wordpress.org/plugins/tags/dashboards/)[iot](https://da.wordpress.org/plugins/tags/iot/)
   [MQTT](https://da.wordpress.org/plugins/tags/mqtt/)[realtime](https://da.wordpress.org/plugins/tags/realtime/)
   [Websocket](https://da.wordpress.org/plugins/tags/websocket/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/mqtt-plug/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/mqtt-plug/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/mqtt-plug/reviews/)

## Bidragsydere

 *   [ POTAR ](https://profiles.wordpress.org/potar/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/mqtt-plug/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/ncp/payment/4RV65EGN96SLS)