mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
mqtt2.template: extend shelly_ix3
git-svn-id: https://svn.fhem.de/fhem/trunk@23492 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3a28e6e386
commit
9242c31e7e
@ -2736,6 +2736,14 @@ order:A_16c
|
|||||||
par:DEVNAME;name of this shelly;{ AttrVal("DEVICE","readingList","") =~ m,shellies/([^/]+)/, ? $1 : undef }
|
par:DEVNAME;name of this shelly;{ AttrVal("DEVICE","readingList","") =~ m,shellies/([^/]+)/, ? $1 : undef }
|
||||||
#par:ICON;ICON as set, defaults to fts_window_1w_open;{ AttrVal("DEVICE","icon","fts_window_1w_open") }
|
#par:ICON;ICON as set, defaults to fts_window_1w_open;{ AttrVal("DEVICE","icon","fts_window_1w_open") }
|
||||||
#attr DEVICE icon ICON
|
#attr DEVICE icon ICON
|
||||||
|
attr DEVICE readingList shellies/DEVNAME/online:.* online\
|
||||||
|
shellies/DEVNAME/announce:.* { json2nameValue($EVENT) }\
|
||||||
|
shellies/DEVNAME/input/0:.* input_0\
|
||||||
|
shellies/DEVNAME/input/1:.* input_1\
|
||||||
|
shellies/DEVNAME/input/2:.* input_2\
|
||||||
|
shellies/DEVNAME/input_event/0:.* { json2nameValue($EVENT, '0_', $JSONMAP) }\
|
||||||
|
shellies/DEVNAME/input_event/1:.* { json2nameValue($EVENT, '1_', $JSONMAP) }\
|
||||||
|
shellies/DEVNAME/input_event/2:.* { json2nameValue($EVENT, '2_', $JSONMAP) }
|
||||||
attr DEVICE stateFormat In 1:\
|
attr DEVICE stateFormat In 1:\
|
||||||
input_0\
|
input_0\
|
||||||
<br>In 2:\
|
<br>In 2:\
|
||||||
@ -2744,7 +2752,7 @@ input_1\
|
|||||||
input_2
|
input_2
|
||||||
attr DEVICE devStateIcon 0:off 1:on
|
attr DEVICE devStateIcon 0:off 1:on
|
||||||
attr DEVICE model shelly_ix3
|
attr DEVICE model shelly_ix3
|
||||||
setreading DEVICE attrTemplateVersion 20201110
|
setreading DEVICE attrTemplateVersion 20210108
|
||||||
|
|
||||||
#shelly2rgbw
|
#shelly2rgbw
|
||||||
# contributed by dkreutz http://forum.fhem.de/index.php/topic,94060.msg944338.html#msg944338
|
# contributed by dkreutz http://forum.fhem.de/index.php/topic,94060.msg944338.html#msg944338
|
||||||
|
Loading…
x
Reference in New Issue
Block a user