mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
mqtt2.template: add general bridge template for use with MQTT2_CLIENT Forum: #96189 #msg891743
git-svn-id: https://svn.fhem.de/fhem/trunk@18368 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7ad7ee9b42
commit
b871ba98f6
@ -8,6 +8,16 @@
|
||||
# perl_code returns a value for the parameter, or undef.
|
||||
# If undef, the user has to specify them (the comment is shown to the user)
|
||||
|
||||
###############
|
||||
#MQTT2_CLIENT_Bridge
|
||||
#
|
||||
name:A_00_MQTT2_CLIENT_general_bridge
|
||||
filter:TYPE=MQTT2_DEVICE
|
||||
desc:recommended to use this as general bridgeing device when using MQTT2_CLIENT as IO to get around missing CID info for distinguishing different devices
|
||||
attr DEVICE bridgeRegexp [^:]+:([^/]+)/([^/]+)[/]?.*:.* "$1_$2"
|
||||
attr DEVICE autocreate 1
|
||||
attr DEVICE setStateList on off
|
||||
attr DEVICE model A_00_MQTT2_CLIENT_general_bridge
|
||||
|
||||
###########################################
|
||||
# zigbee2mqtt
|
||||
|
Loading…
x
Reference in New Issue
Block a user