mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 14:16:42 +00:00
mqtt2.template: devtopic fix for experimental version for shelly TRV
git-svn-id: https://svn.fhem.de/fhem/trunk@26453 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e8e987096c
commit
e6f5ab4165
@ -3294,10 +3294,10 @@ name:shelly_TRV
|
|||||||
filter:TYPE=MQTT2_DEVICE:FILTER=readingList=.*shellies.*
|
filter:TYPE=MQTT2_DEVICE:FILTER=readingList=.*shellies.*
|
||||||
desc:shelly-TRV using original firmware <br>early version
|
desc:shelly-TRV using original firmware <br>early version
|
||||||
order:A_16d
|
order:A_16d
|
||||||
par:DEVNAME;Shelly device name in the topic;{ AttrVal('DEVICE','readingList','') =~ m,shellies/([^/]*)/, ? $1 : undef }
|
par:DEV_TPC;"shellies/" and Shelly name in the topic;{ AttrVal('DEVICE','devicetopic',AttrVal('DEVICE','readingList','')) =~ m<(shellies/[^/]+)/> ? $1 : undef }
|
||||||
par:ICON;ICON as set, defaults to temp_control;{ AttrVal('DEVICE','icon','temp_control') }
|
par:ICON;ICON as set, defaults to temp_control;{ AttrVal('DEVICE','icon','temp_control') }
|
||||||
attr DEVICE icon ICON
|
attr DEVICE icon ICON
|
||||||
attr DEVICE devicetopic shellies/DEVNAME
|
attr DEVICE devicetopic DEV_TPC
|
||||||
attr DEVICE readingList $\DEVICETOPIC/status:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
attr DEVICE readingList $\DEVICETOPIC/status:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
||||||
$\DEVICETOPIC/info:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
$\DEVICETOPIC/info:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
||||||
$\DEVICETOPIC/settings:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
$\DEVICETOPIC/settings:.* { json2nameValue($EVENT,'',$JSONMAP) }\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user