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.

LED-SITE-INDICATOR

Description

This Plugin is currently being upgraded – Please be patient.
Please note that currently LED-SITE-INDICATOR does not work on PHP8 or higher – the code is being upgraded to be compatible.

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

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.

Credits

  • LED-SITE-INDICATOR uses [phpMQTT]:http://github.com/bluerhinos/phpMQTT by Andrew Milsted.
  • Based on original WP-MQTT plugin by roytanck: https://github.com/roytanck/WP-MQTT

Screenshots

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

Installation

  1. Upload the plugin files to the /wp-content/plugins/led-site-indicator 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->LED-SITE-INDICATOR screen to set up your broker and configure messages

FAQ

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?

YES, if your site uses PHP8+

LED-SITE-INDICATOR 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 wp.org support forums. I’ll try to
look into them.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“LED-SITE-INDICATOR” is open source software. The following people have contributed to this plugin.

Contributors

Translate “LED-SITE-INDICATOR” into your language.

Interested in development?

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

Changelog

2.0

2023
COMING SOON! PHP8 compatibility upgrade

1.2

2022-01-06
Updated some images and some readme notes

1.1

2021-10-01
Forked and adapted to use the LED Site Indicator service, for use with connected ESP8266 hardware
Many thanks to roytanck for sharing the plugin as GPL

1.0

2018-01-08
Adds two filter hooks so developers can modify the subject and/or message.

0.9

Initial version.