mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
10_MQTT2_DEVICE.pm: better getList documentation (Forum #116477)
git-svn-id: https://svn.fhem.de/fhem/trunk@23299 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
38b43d1bf7
commit
e764329c26
@ -944,16 +944,17 @@ zigbee2mqtt_devStateIcon255($;$$)
|
||||
<a href="#disabledForIntervals">disabledForIntervals</a></li><br>
|
||||
|
||||
<a name="getList"></a>
|
||||
<li>getList cmd [topic|perl-Expression] ...<br>
|
||||
When the FHEM command cmd is issued, publish the topic, wait for the
|
||||
answer (the specified reading), and show it in the user interface.
|
||||
Multiple triples can be specified, each of them separated by newline, the
|
||||
newline does not have to be entered in the FHEMWEB frontend.<br>
|
||||
<li>getList cmd reading [topic|perl-Expression] ...<br>
|
||||
When the FHEM command cmd is issued, publish the topic (and optional
|
||||
message, which is separated by space from the topic), wait for the answer
|
||||
which must contain the specified reading, and show the result in the user
|
||||
interface.<br>
|
||||
Multiple triples can be specified, each of them separated by newline.
|
||||
Example:<br>
|
||||
<code>
|
||||
attr dev getList\<br>
|
||||
temp temperature myDev/cmd/getstatus\<br>
|
||||
hum hum myDev/cmd/getStatus
|
||||
hum humReading myDev/cmd/getHumidity now
|
||||
</code><br>
|
||||
This example defines 2 get commands (temp and hum), which both publish
|
||||
the same topic, but wait for different readings to be set.<br>
|
||||
|
Loading…
Reference in New Issue
Block a user