diff --git a/FHEM/00_MQTT2_SERVER.pm b/FHEM/00_MQTT2_SERVER.pm index c7b33d44f..c381fe0b4 100644 --- a/FHEM/00_MQTT2_SERVER.pm +++ b/FHEM/00_MQTT2_SERVER.pm @@ -442,7 +442,8 @@ MQTT2_SERVER_getStr($$)

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.
+ serviced. If IP is specified, then MQTT2_SERVER will only listen on this + IP.
To enable listening on IPV6 see the comments here.
Notes:
diff --git a/FHEM/10_MQTT2_DEVICE.pm b/FHEM/10_MQTT2_DEVICE.pm index 4193fd9e7..1397fb00e 100644 --- a/FHEM/10_MQTT2_DEVICE.pm +++ b/FHEM/10_MQTT2_DEVICE.pm @@ -2,6 +2,8 @@ # $Id$ package main; +# TODO: autocreate + use strict; use warnings; use SetExtensions; @@ -390,8 +392,9 @@ MQTT2_DEVICE_Undef($$) disabledForIntervals
-
  • readingList <topic-regexp> [readingName|perl-Expression] ...
    - On receiving a topic matching the topic-regexp either set readingName to +
  • readingList <regexp> [readingName|perl-Expression] ... +
    + 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:
      attr dev readingList\
    -     myDev/temp temperature\
    -     myDev/hum { { humidity=>$EVTPART0 } }
    +     myDev/temp:.* temperature\
    +     myDev/hum:.* { { humidity=>$EVTPART0 } }

    Notes: