2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

00_MQTT2_SERVER.pm: ignoreRegexp doc (Forum #131191)

git-svn-id: https://svn.fhem.de/fhem/trunk@26925 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-12-29 14:37:54 +00:00
parent bb885cfa40
commit 29f6c12292

View File

@ -872,12 +872,16 @@ MQTT2_CLIENT_feedTheList($$$)
<li>disconnectAfter &lt;seconds&gt;<br>
if set, the connection will be closed after &lt;seconds&gt; of
inactivity, and will be automatically reopened when sending a command.
</li>
</li><br>
<a id="MQTT2_CLIENT-attr-ignoreRegexp"></a>
<li>ignoreRegexp<br>
if $topic:$message matches ignoreRegexp, then it will be silently ignored.
</li>
For general purpose servers, it is a good idea to set it e.g. to
<ul>
homeassistant/[^:"]+/config|tasmota/discovery/[^/:]+/(config|sensors)
</ul> and also include the topics used to send commands towards your MQTT
clients.</li><br>
<a id="MQTT2_CLIENT-attr-lwt"></a>
<li>lwt &lt;topic&gt; &lt;message&gt; <br>