From 0a65cc3fdf32ab7c341f412ac92f7cba61bb0c6f Mon Sep 17 00:00:00 2001 From: "Thomas \"Balu\" Walter" Date: Wed, 13 Sep 2017 22:47:40 +0200 Subject: [PATCH] Updated MQTT Features (markdown) --- MQTT-Features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MQTT-Features.md b/MQTT-Features.md index 575b7e00..25c09a65 100644 --- a/MQTT-Features.md +++ b/MQTT-Features.md @@ -28,7 +28,7 @@ Telemetry data will be sent by prefix ```tele``` like ```tele/sonoff/SENSOR {"Ti Until version 5.0.5 the MQTT topic was defined rigidly by using the commands ``Prefix`` and ``Topic`` resulting in a command topic string like ``cmnd/sonoff/Power``. Starting with version 5.0.5 the MQTT topic is more flexible using command ``FullTopic`` and tokens to be placed within the user definable string up to 100 characters in size. The provided tokens are: -- ``%prefix%`` to be dynamically substituted by one of three prefixes as defined by commands ``Prefix1``, ``Prefix2`` and ``Prefix3``. +- ``%prefix%`` to be dynamically substituted by one of three prefixes as defined by commands ``Prefix1`` (default: "cmnd"), ``Prefix2`` (default: "stat") and ``Prefix3`` (default: "tele"). - ``%topic%`` to be dynamically substituted by one of five topics as defined by commands ``Topic``, ``GroupTopic``, ``ButtonTopic``, ``SwitchTopic`` and ``MqttClient``. Using the tokens the following example topics can be made: