From cda352358bfcc3c48b0b581a32aea6ed46777c2d Mon Sep 17 00:00:00 2001 From: ntruchsess <> Date: Sun, 5 Oct 2014 19:51:16 +0000 Subject: [PATCH] MQTT: fix commandref git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6692 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/10_MQTT_BRIDGE.pm | 12 ++++++------ FHEM/10_MQTT_DEVICE.pm | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/FHEM/10_MQTT_BRIDGE.pm b/FHEM/10_MQTT_BRIDGE.pm index 2713a00a4..70d136463 100644 --- a/FHEM/10_MQTT_BRIDGE.pm +++ b/FHEM/10_MQTT_BRIDGE.pm @@ -195,7 +195,7 @@ sub onmessage($$$) { =begin html -
attr <name> subscribeSet <topic>/code>
+ attr <name> subscribeSet <topic>
configures a topic that will issue a 'set <message> whenever a message is received
attr <name> subscribeSet_<reading> <topic>/code>
+ attr <name> subscribeSet_<reading> <topic>
configures a topic that will issue a 'set <reading> <message> whenever a message is received
attr <name> publishState <topic>/code>
+ attr <name> publishState <topic>
configures a topic such that a message is sent to topic whenever the device state changes.
attr <name> publishReading_<reading> <topic>/code>
+ attr <name> publishReading_<reading> <topic>
configures a topic such that a message is sent to topic whenever the device readings value changes.
attr <name> publish-topic-base <topic>/code>
+ attr <name> publish-topic-base <topic>
this is used as base path when issueing 'get <device> readings' to construct topics to publish to based on the devices existing readings
set <name> <command>/code>
+ set <name> <command>
sets reading 'state' and publishes the command to topic configured via attr publishSet
set <name> <h;reading> <value>/code>
+ set <name> <h;reading> <value>
sets reading <h;reading> and publishes the command to topic configured via attr publishSet_<h;reading>
attr <name> publishSet [<commands>] <topic>/code>
+ attr <name> publishSet [<commands>] <topic>
configures set commands that may be used to both set reading 'state' and publish to configured topic
attr <name> publishSet_<reading> [<values>] <topic>/code>
+ attr <name> publishSet_<reading> [<values>] <topic>
configures reading that may be used to both set 'reading' (to optionally configured values) and publish to configured topic