This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.



Setting up WP-MQTT is easy. Simply supply your MQTT broker’s details and configure which WordPress events should trigger messages.

“MQTT is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol. It was designed as an extremely lightweight publish/subscribe messaging transport.” (from

A number of events are predefined. Simply check the right checkbox and fill in the message’s subject and text.

  • Pageview
  • User login
  • Failed user login
  • Post published
  • Page published
  • New comment

Other events can be added using the “custom events” section. This allows you to use any WordPress hook (actions and filters) to trigger messages.


  • WP-MQTT uses phpMQTT by Andrew Milsted.
  • Thanks to Peter Martin for his inspirational talk at WordCamp NL 2016.

عکس‌های صفحه

  • PW-MQTT's settings screen contains the broker settings, allows you to set up common events, or specify your own.


  1. Upload the plugin files to the /wp-content/plugins/wp-mqtt directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->WP-MQTT screen to set up your broker and configure messages

سوالات متداول

Can I use this plugin to subscribe to MQTT subjects?

I’m sorry, but no. This plugin’s purpose is to send messages to a broker, not the other way around. Subscribing to an
MQTT subject would require WordPress to remain active continuously, instead of running only when pages are being served.

Will this slow down my site?

WP-MQTT does it’s very best to only connect to the broker when needed, so it depends on the messages you configure.
Sending messages on events that occur very often may slow down your site. But MQTT itself was designed to have a very
low performance impact.

My site is acting funny, and I think this plugin has something to do with it

Please disable custom events and see if that makes a difference. If it does not, please deactivate the plugin to see if
that helps. If any of these steps fixes the issue, please post your findings on the support forums. I’ll try to
look into them.


بررسی‌ای برای این افزونه یافت نشد.

توسعه دهندگان و همکاران

“WP-MQTT” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

ترجمه “WP-MQTT” به زبان شما.

علاقه‌ مند به توسعه هستید؟

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Added filter hooks for topics and messages


  • Replaced ‘subject’ with ‘topic’ in both code and UI to match MQTT terminology


  • Improved placeholder system that also works for custom events
  • Updated help content that lists all placeholders


Initial version.