From c3ce835930d170d799ffb7f3ce2366b9e018afd6 Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Tue, 4 Jan 2022 13:40:45 +0000
Subject: [PATCH] 00_MQTT2_SERVER.pm: add allowfrom attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@25416 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/00_MQTT2_SERVER.pm | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/fhem/FHEM/00_MQTT2_SERVER.pm b/fhem/FHEM/00_MQTT2_SERVER.pm
index 81cc647c3..4128e7e26 100644
--- a/fhem/FHEM/00_MQTT2_SERVER.pm
+++ b/fhem/FHEM/00_MQTT2_SERVER.pm
@@ -33,6 +33,7 @@ MQTT2_SERVER_Initialize($)
no warnings 'qw';
my @attrList = qw(
SSL:0,1
+ allowfrom
autocreate:no,simple,complex
clientId
clientOrder
@@ -672,6 +673,22 @@ MQTT2_SERVER_ReadDebug($$)
Attributes
+ - allowfrom
+
+
+
+ - autocreate [no|simple|complex]
+ MQTT2_DEVICES will be automatically created upon receiving an
+ unknown message. Set this value to no to disable autocreating, the
+ default is simple.
+ With simple the one-argument version of json2nameValue is added:
+ json2nameValue($EVENT), with complex the full version:
+ json2nameValue($EVENT, 'SENSOR_', $JSONMAP). Which one is better depends
+ on the attached devices and on the personal taste, and it is only
+ relevant for json payload. For non-json payload there is no difference
+ between simple and complex.
+
+
- clientId <name>
set the MQTT clientId for all connections, for setups with clients
@@ -741,19 +758,6 @@ MQTT2_SERVER_ReadDebug($$)
also the SSL attribute.
-
- - autocreate [no|simple|complex]
- MQTT2_DEVICES will be automatically created upon receiving an
- unknown message. Set this value to no to disable autocreating, the
- default is simple.
- With simple the one-argument version of json2nameValue is added:
- json2nameValue($EVENT), with complex the full version:
- json2nameValue($EVENT, 'SENSOR_', $JSONMAP). Which one is better depends
- on the attached devices and on the personal taste, and it is only
- relevant for json payload. For non-json payload there is no difference
- between simple and complex.
-
-
=end html