openhab-docs/_actions/mqtt
John Cocula aa2ab2cac1 [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355)
* Generate addon docs as Jekyll Collections instead of Jekyll Pages

Simplifies a lot of Jekyll, makes custom addon layout possible.

Signed-off-by: John Cocula <john@cocula.com>

* Adds-on (all but bindings) in user menu

Signed-off-by: John Cocula <john@cocula.com>

* Added openhab-distro submodule

Signed-off-by: John Cocula <john@cocula.com>
2017-03-02 01:08:44 +01:00
..
readme.md [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355) 2017-03-02 01:08:44 +01:00

readme.md

id label title type description source since logo install
mqtt MQTT MQTT - Actions action Publish a message to a topic on an MQTT broker. https://github.com/openhab/openhab1-addons/blob/master/bundles/action/org.openhab.action.mqtt/README.md 1x images/addons/mqtt.png auto

{% include base.html %}

MQTT Actions

Publish a message to a topic on an MQTT broker.

Prerequisites

In addition to the MQTT Action service, the MQTT binding (1.x) must be installed and configured. The action can refernce the broker(s) that are configured for the MQTT binding.

Action

  • publish(String brokerName, String topic, String message): Publish the message to topic using the specified MQTT broker.