Zitatich bin auf der Suche nach einer Möglichkeit auf ein MQTT-Device einen Topic mit Leerzeichen zu übertragen.Wenn es um MQTT2 geht: mit FHEM Befehlen ist das nicht moeglich.
{ MQTT2_SERVER_doPublish(undef, $defs{ServerName}, $myTopic, $myMsg, 0) }

Zitat2026-03-15 14:50:10 aesKeyNbr 00bedeutet mMn das der Key der VCCU nicht zugewiesen wurde.
ip maddr show dev normal
11: normal
link xx:xx:xx:xx:xx:xx users 2
link xx:xx:xx:xx:xx:xx users 2
link xx:xx:xx:xx:xx:xx users 2
link xx:xx:xx:xx:xx:xx users 2
link xx:xx:xx:xx:xx:xx users 2
link xx:xx:xx:xx:xx:xx users 2
inet 224.0.23.12
inet 224.0.0.252
inet 224.0.0.1
inet6 ff02::1:3
inet6 ff02::1:fff7:nnnn
inet6 ff02::1
inet6 ff01::1
ip route add 224.0.23.12/32 dev iotinet 224.0.23.12 vom normal interface zum iot interface, nach restart/reconnect des knxio# SO_BINDTODEVICE = 25 auf Linux
setsockopt($sock, SOL_SOCKET, 25, "$iface\0")
or die "setsockopt SO_BINDTODEVICE failed: $!";
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 400 0 0 normal
192.168.1.0 0.0.0.0 255.255.255.0 U 402 0 0 iot
192.168.2.0 0.0.0.0 255.255.255.0 U 400 0 0 normal
192.168.179.0 0.0.0.0 255.255.255.0 U 401 0 0 guest
224.0.23.12 0.0.0.0 255.255.255.255 UH 0 0 0 iot
Internals:
DEF 56ABA8
FUUID 69b12999-f33f-dd73-9b98-61b62e16a7f3d65d
HMWIFI2_MSGCNT 46
HMWIFI2_RAWMSG 05000013C0861056ABA80000000601C80E
HMWIFI2_RSSI -19
HMWIFI2_TIME 2026-03-16 08:35:13
IODev HMWIFI2
LASTInputDev HMWIFI2
MSGCNT 46
NAME HM_56ABA8
NR 127
NTFY_ORDER 48-HM_56ABA8
STATE open
TYPE CUL_HM
chanNo 01
disableNotifyFn 1
eventCount 62
lastMsg No:C0 - t:10 s:56ABA8 d:000000 0601C80E
protCmdDel 17
protEvt_AESCom-ok 5 last_at:2026-03-15 14:50:10
protLastRcv 2026-03-16 08:35:13
protRcv 36 last_at:2026-03-16 08:35:13
protResnd 6 last_at:2026-03-15 14:50:23
protResndFail 2 last_at:2026-03-15 14:50:44
protSnd 13 last_at:2026-03-15 14:50:40
protState CMDs_done_Errors:1
rssi_at_HMWIFI2 cnt:41 min:-24 max:-16 avg:-18.53 lst:-19
.attraggr:
.attrminint:
READINGS:
2026-03-15 14:50:40 .D-devInfo 810101
2026-03-15 14:50:40 .D-stc 80
2026-03-14 23:25:57 .R-cyclicInfoMsg on
2026-03-14 23:25:58 .R-eventDlyTime 0 s
2026-03-14 23:25:58 .R-msgScPosA open
2026-03-14 23:25:58 .R-msgScPosB closed
2026-03-15 12:02:22 .R-pairCentral set_0x4F62FF
2026-03-14 23:25:57 .R-sabotageMsg on
2026-03-14 23:25:58 .R-sign on
2026-03-14 23:25:57 .R-transmDevTryMax 6
2026-03-14 23:25:58 .R-transmitTryMax 6
2026-03-15 14:50:13 .associatedWith HM_56ABA8,HM_56ABA8
2026-03-14 23:25:59 .peerListRDate 2026-03-14 23:25:59
2026-03-16 08:35:13 .protLastRcv 20260316083513
2026-03-15 14:50:10 CommandAccepted yes
2026-03-15 14:50:40 D-firmware 1.0
2026-03-15 14:50:40 D-serialNr OEQ0221624
2026-03-15 14:50:40 IODev HMWIFI2
2026-03-14 23:25:57 PairedTo set_0x4F62FF
2026-03-15 14:50:10 aesCommToDev ok
2026-03-15 14:50:10 aesKeyNbr 00
2026-03-16 08:35:13 alive yes
2026-03-16 08:35:13 battery ok
2026-03-15 14:51:08 cfgState RegMiss,RegPend
2026-03-15 14:50:44 commState CMDs_done_Errors:1
2026-03-16 08:35:13 contact open (to broadcast)
2026-03-15 11:51:55 powerOn 2026-03-15 11:51:55
2026-03-16 08:35:13 recentStateType info
2026-03-16 08:35:13 sabotageError on
2026-03-16 08:35:13 state open
2026-03-15 11:51:56 trigDst_broadcast noConfig
2026-03-15 11:51:56 trigger_cnt 1
helper:
HM_CMDNR 192
cSnd 014F62FF56ABA800050000000000,014F62FF56ABA800050000000000
cfgStateUpdt 0
getCfgList all
getCfgListNo ,4
lastMsgTm 1773646513.02922
mId 00C7
peerFriend peerAct,peerVirt
peerIDsState complete
peerOpt 4:threeStateSensor
regLst 0,1,4p
rxType 28
supp_Pair_Rep 0
cfgChk:
idRc01 RegL_00.,RegL_01.
idRc03 fail
cmds:
TmplKey :no:1773582613.96219
TmplTs 1773582613.96219
cmdKey 1:1:0::HM_56ABA8:00C7:01:
cmdLst:
assignHmKey noArg
clear [({msgErrors}|msgEvents|rssi|attack|trigger|register|oldRegs|readings|all)]
deviceRename -newName-
fwUpdate -filename- [-bootTime-]
getConfig noArg
getDevInfo noArg
getRegRaw (List0|List1|List2|List3|List4|List5|List6|List7) [-peerChn-]
peerBulk -peer1,peer2,...- [({set}|unset)]
peerChan -btnNumber- -actChn- [({single})] [({set}|unset)] [actor|remote|both]
raw -data- [...]
regBulk -list-.-peerChn- -addr1:data1- [-addr2:data2-]...
regSet [(prep|{exec})] -regName- -value- [-peerChn-]
reset noArg
sign [(on|{off})]
tplDel -tplDel-
tplSet_0 -tplChan-
trgEventL -peer- -condition-
trgEventS -peer- -condition-
trgPressL [(-peer-|{all})]
trgPressS [(-peer-|{all})]
unpair noArg
lst:
condition closed,open,tilted
peer
peerOpt
tplChan
tplDel
tplPeer
rtrvLst:
cmdList [({short}|long)]
deviceInfo [({short}|long)]
list [({normal}|full)]
param -param-
reg -addr- -list- [-peerChn-]
regList noArg
regTable noArg
regVal -addr- -list- [-peerChn-]
saveConfig [-filename-]
tplInfo noArg
expert:
def 0
det 0
raw 1
tpl 0
io:
flgs 1
newChn +56ABA8,01,01,02
nextSend 1773582590.51432
rxt 2
vccu VCCU
p:
56ABA8
01
01
02
prefIO:
HMWIFI2
mRssi:
mNo C0
io:
HMWIFI2:
-11
-11
peerIDsH:
00000000 broadcast
prt:
bErr 0
sProc 0
q:
qReqConf
qReqStat
role:
chn 1
dev 1
rssi:
at_HMWIFI2:
avg -18.5365853658537
cnt 41
lst -19
max -16
min -24
shadowReg:
RegL_00. 02:01 0A:4F 0B:62 0C:FF
shadowRegChn:
RegL_00. 00
tmpl:
Attributes:
.mId 00C7
IOgrp VCCU:HMWIFI2
aesCommReq 1
autoReadReg 4_reqStatus
expert rawReg
firmware 1.0
model HM-SEC-SCO
peerIDs 00000000
room CUL_HM
serialNr OEQ0221624
subType threeStateSensorInternals:
DEF 4F62FF
FUUID 69b1290f-f33f-dd73-94df-6a216f408f6d01a4
HMWIFI2_MSGCNT 23
HMWIFI2_RAWMSG 050000244084104F5A2300000006040000
HMWIFI2_RSSI -36
HMWIFI2_TIME 2026-03-16 08:35:38
IODev HMWIFI2
LASTInputDev HMWIFI2
MSGCNT 23
NAME VCCU
NR 126
NTFY_ORDER 48-VCCU
STATE HMWIFI2:ok
TYPE CUL_HM
assignedIOs HMWIFI2
chanNo 01
disableNotifyFn 1
eventCount 10
.attraggr:
.attreocr:
.+
.attrminint:
READINGS:
2026-03-11 09:34:56 .associatedWith VCCU,VCCU
2026-03-15 12:00:54 IODev HMWIFI2
2026-03-16 08:02:59 IOopen 1
2026-03-11 10:48:15 cfgState ok
2026-03-14 22:05:58 commState Info_Cleared
2026-03-15 14:50:08 hmPair name:HM_56ABA8 SN:OEQ0221624 model:HM-SEC-SCO
2026-03-16 08:02:59 state HMWIFI2:ok
2026-03-16 08:35:38 unknown_4F5A23 received
helper:
HM_CMDNR 240
peerFriend
peerOpt v:virtual
regLst
rxType 1
ack:
cmds:
TmplKey :no:1773572455.09262
TmplTs 1773572455.09262
cmdKey 1:1:1::VCCU::01:
cmdLst:
assignIO -IO- [({set}|unset)]
clear [(readings|rssi|msgEvents|attack|{msgErrors}|unknownDev)]
defIgnUnknown noArg
hmPairForSec [-sec-]
hmPairSerial -serial-
peerChan -btnNumber- -actChn- [({single}|dual|reverse)] [({set}|unset)] [(actor|remote|{both})]
postEvent -condition-
press [(long|{short})] [(-peer-|{all})] [(noBurst|{Burst})] [(-repCount-|{0})] [(-repDelay-|{0.25})]
pressL [(-peer-|{all})]
pressS [(-peer-|{all})]
tplSet_0 -tplChan-
update noArg
virtual [(1..50;1|{1})]
lst:
condition slider,0,1,255
peer
peerOpt
tplChan
tplDel
tplPeer
rtrvLst:
cmdList [({short}|long)]
deviceInfo [({short}|long)]
list [({normal}|full)]
listDevice noArg
param -param-
expert:
def 1
det 0
raw 1
tpl 0
io:
vccu VCCU
ioList:
HMWIFI2
prefIO:
HMWIFI2
mRssi:
mNo
peerIDsH:
prt:
bErr 0
sProc 0
q:
qReqConf
qReqStat
role:
chn 1
dev 1
vrt 1
tmpl:
Attributes:
.mId FFF0
IOList HMWIFI2
IOgrp VCCU:HMWIFI2
event-on-change-reading .+
expert defReg,rawReg
group Bridges
hmKey 01:0531658dfbd52bbce4ec408bb70cc39f
icon cul_cul
model CCU-FHEM
room Technik
subType virtual
verbose 2
webCmd virtual:update