Merge pull request #16 from pulsar256/feature/improve-docs

clarified usage of topic wildcard in examples/doc
This commit is contained in:
Christoph Petrausch
2020-09-02 06:53:31 +02:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -86,7 +86,7 @@ The config file can look like this:
mqtt:
# The MQTT broker to connect to
server: tcp://127.0.0.1:1883
# The Topic path to subscripe to. Be aware that you have to specify the wildcard.
# The Topic path to subscribe to. Be aware that you have to specify the wildcard.
topic_path: v1/devices/me/+
# Optional: Regular expression to extract the device ID from the topic path. The default regular expression, assumes
# that the last "element" of the topic_path is the device id.

View File

@@ -5,7 +5,7 @@ mqtt:
# Optional: Username and Password for authenticating with the MQTT Server
# user: bob
# password: happylittleclouds
# The Topic path to subscripe to.
# The Topic path to subscribe to. Be aware that you have to specify the wildcard.
topic_path: v1/devices/me/+
# Optional: Regular expression to extract the device ID from the topic path. The default regular expression, assumes
# that the last "element" of the topic_path is the device id.

View File

@@ -5,7 +5,7 @@ mqtt:
# Optional: Username and Password for authenticating with the MQTT Server
# user: bob
# password: happylittleclouds
# The Topic path to subscripe to. Actually this will become `$topic_path/+`
# The Topic path to subscribe to. Be aware that you have to specify the wildcard.
topic_path: tele/+/SENSOR
# Optional: Regular expression to extract the device ID from the topic path. The default regular expression, assumes
# that the last "element" of the topic_path is the device id.

View File

@@ -5,8 +5,8 @@ mqtt:
# Optional: Username and Password for authenticating with the MQTT Server
# user: bob
# password: happylittleclouds
# The Topic path to subscripe to. Actually this will become `$topic_path/+`
topic_path: v1/devices/me
# The Topic path to subscribe to. Be aware that you have to specify the wildcard.
topic_path: v1/devices/me/+
# The MQTT QoS level
qos: 0
cache: