mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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 href="#disabledForIntervals">disabledForIntervals</a></li><br>
|
||||||
|
|
||||||
<a name="getList"></a>
|
<a name="getList"></a>
|
||||||
<li>getList cmd [topic|perl-Expression] ...<br>
|
<li>getList cmd reading [topic|perl-Expression] ...<br>
|
||||||
When the FHEM command cmd is issued, publish the topic, wait for the
|
When the FHEM command cmd is issued, publish the topic (and optional
|
||||||
answer (the specified reading), and show it in the user interface.
|
message, which is separated by space from the topic), wait for the answer
|
||||||
Multiple triples can be specified, each of them separated by newline, the
|
which must contain the specified reading, and show the result in the user
|
||||||
newline does not have to be entered in the FHEMWEB frontend.<br>
|
interface.<br>
|
||||||
|
Multiple triples can be specified, each of them separated by newline.
|
||||||
Example:<br>
|
Example:<br>
|
||||||
<code>
|
<code>
|
||||||
attr dev getList\<br>
|
attr dev getList\<br>
|
||||||
temp temperature myDev/cmd/getstatus\<br>
|
temp temperature myDev/cmd/getstatus\<br>
|
||||||
hum hum myDev/cmd/getStatus
|
hum humReading myDev/cmd/getHumidity now
|
||||||
</code><br>
|
</code><br>
|
||||||
This example defines 2 get commands (temp and hum), which both publish
|
This example defines 2 get commands (temp and hum), which both publish
|
||||||
the same topic, but wait for different readings to be set.<br>
|
the same topic, but wait for different readings to be set.<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user