00_MQTT2_SERVER.pm: bugfixes (Forum #90145)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17121 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-08-10 19:17:44 +00:00
parent ffcc68b5ef
commit a876d782b4
3 changed files with 10 additions and 6 deletions

View File

@ -442,7 +442,8 @@ MQTT2_SERVER_getStr($$)
<br><br>
Enable the server on port &lt;tcp-portnr&gt;. If global is specified,
then requests from all interfaces (not only localhost / 127.0.0.1) are
serviced. If IP is specified, then FHEMWEB will only listen on this IP.<br>
serviced. If IP is specified, then MQTT2_SERVER will only listen on this
IP.<br>
To enable listening on IPV6 see the comments <a href="#telnet">here</a>.
<br>
Notes:<br>

View File

@ -2,6 +2,8 @@
# $Id$
package main;
# TODO: autocreate
use strict;
use warnings;
use SetExtensions;
@ -390,8 +392,9 @@ MQTT2_DEVICE_Undef($$)
<a href="#disabledForIntervals">disabledForIntervals</a></li><br>
<a name="readingList"></a>
<li>readingList &lt;topic-regexp&gt; [readingName|perl-Expression] ...<br>
On receiving a topic matching the topic-regexp either set readingName to
<li>readingList &lt;regexp&gt; [readingName|perl-Expression] ...
<br>
If the regexp matches topic:message either set readingName to
the published message, or evaluate the perl expression, which has to
return a hash consisting of readingName=>readingValue entries.
You can define multiple such tuples, separated by newline, the newline
@ -399,8 +402,8 @@ MQTT2_DEVICE_Undef($$)
Example:<br>
<code>
&nbsp;&nbsp;attr dev readingList\<br>
&nbsp;&nbsp;&nbsp;&nbsp;myDev/temp temperature\<br>
&nbsp;&nbsp;&nbsp;&nbsp;myDev/hum { { humidity=>$EVTPART0 } }<br>
&nbsp;&nbsp;&nbsp;&nbsp;myDev/temp:.* temperature\<br>
&nbsp;&nbsp;&nbsp;&nbsp;myDev/hum:.* { { humidity=>$EVTPART0 } }<br>
</code><br>
Notes:
<ul>

View File

@ -67,7 +67,7 @@ FHEM/10_KOPP_FC.pm raspii Sonstige Systeme
FHEM/10_MAX.pm rudolfkoenig/orphan MAX
FHEM/10_MQTT_BRIDGE eisler MQTT
FHEM/10_MQTT_DEVICE eisler MQTT
FHEM/00_MQTT2_DEVICE.pm rudolfkoenig MQTT
FHEM/10_MQTT2_DEVICE.pm rudolfkoenig MQTT
FHEM/10_MYSENSORS_DEVICE Hauswart Sonstige Systeme
FHEM/10_NeuronPin.pm klausw Sonstige Systeme
FHEM/10_OWServer.pm neubert/mfr69bs 1Wire