mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
00_MQTT2_SERVER.pm: bugfixes (Forum #90145)
git-svn-id: https://svn.fhem.de/fhem/trunk@17121 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7744c0841a
commit
158208ec60
@ -442,7 +442,8 @@ MQTT2_SERVER_getStr($$)
|
||||
<br><br>
|
||||
Enable the server on port <tcp-portnr>. 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>
|
||||
|
@ -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 <topic-regexp> [readingName|perl-Expression] ...<br>
|
||||
On receiving a topic matching the topic-regexp either set readingName to
|
||||
<li>readingList <regexp> [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>
|
||||
attr dev readingList\<br>
|
||||
myDev/temp temperature\<br>
|
||||
myDev/hum { { humidity=>$EVTPART0 } }<br>
|
||||
myDev/temp:.* temperature\<br>
|
||||
myDev/hum:.* { { humidity=>$EVTPART0 } }<br>
|
||||
</code><br>
|
||||
Notes:
|
||||
<ul>
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user