Add buttons to navbar to publish messages to MQTT server.

This plugin simply adds buttons to the navbar of OctoPrint to send configured MQTT commands to the MQTT server configured in the MQTT Plugin.

Prerequisites

Install the MQTT plugin via the Plugin Manager or manually using this url:

https://github.com/OctoPrint/OctoPrint-MQTT/archive/master.zip

Setup

Install via the Plugin Manager or manually using this URL:

https://github.com/jneilliii/OctoPrint-MQTTPublish/archive/master.zip

Configuration

Once the MQTT plugin and this plugin are installed, configure the MQTT plugin for connecting to your MQTT server. Then in this plugin’s settings configure the topics/commands you want to publish to that server.

Settings

  • Topic: topic to publish command to.
  • Command: comand to send to topic.
  • Icon: icon class name from fontawesome.

Pictures

NavBar buttons
MQTTPublish Settings