mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
mqtt2.template: bugfix in OpenMQTTGateway
git-svn-id: https://svn.fhem.de/fhem/trunk@20266 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
16d20b1b70
commit
8480d53264
@ -1621,7 +1621,7 @@ par:OFFCOMMANDREGEX;OFFCOMMANDREGEX typically is one or more Codes like 13381408
|
||||
par:OFF_COMMAND;ON_COMMAND typically is a set of parameters like "value":"13381408","protocol":4,"length":24,"delay":350;undef
|
||||
par:BASE_ID;BASE_ID typically is home;{ AttrVal("DEVICE","readingList","") =~ m,([^:]+)[/]OpenMQTTGateway[^/]*[/].*:, ? $1 : undef }
|
||||
par:DEVNAME;BASE_ID typically is home;{ AttrVal("DEVICE","readingList","") =~ m,([^:]+)[/](OpenMQTTGateway[^/]*)[/].*:, ? $2 : undef }
|
||||
par:DEVCID;CID of the new device - try to read the last RF value; { ReadingVal("DEVICE","value","unknown") }
|
||||
par:DEVCID;CID of the new device - try to read the last RF value; { ReadingsVal("DEVICE","value","unknown") }
|
||||
par:NEWDEVROOM;Room of the calling device; {AttrVal("DEVCID","room","MQTT2_\DEVICE" )}
|
||||
defmod OMG_DEVCID MQTT2_\DEVICE DEVCID
|
||||
deletereading -q OMG_DEVCID (?!associatedWith).*
|
||||
|
Loading…
Reference in New Issue
Block a user