mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-08 05:15:10 +00:00
mqtt2.template: add zigbee2mqtt_symfonsik_sound_controller
git-svn-id: https://svn.fhem.de/fhem/trunk@22003 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
befddb79bd
commit
e5b0bb6e4f
@ -647,6 +647,23 @@ deletereading -q DEVICE (?!associatedWith).*
|
||||
attr DEVICE model zigbee2mqtt_AlarmSensor
|
||||
setreading DEVICE attrTemplateVersion 20200522 or prior
|
||||
|
||||
# SYMFONSIK sound controller
|
||||
name:zigbee2mqtt_symfonsik_sound_controller
|
||||
desc: IKEA SYMFONSIK sound controller via zigbee2mqtt <br>Tested with: IKEA E1744 SYMFONSIK sound controller
|
||||
filter:TYPE=MQTT2_DEVICE:FILTER=CID~zigbee.*
|
||||
order:L_16
|
||||
par:BASE_TOPIC;base topic set in configuration.yaml of the zigbee2mqtt bridge;{ AttrVal("DEVICE","devicetopic",AttrVal("DEVICE","readingList","")) =~ m,[\b]?([^/:]+)[/].+, ? $1 : undef }
|
||||
par:DEV_ID;name of the device in the zigbee2mqtt bridge;{ AttrVal("DEVICE","devicetopic",AttrVal("DEVICE","readingList","")) =~ m,[^/]+[/]([^/:]+).+, ? $1 : undef }
|
||||
par:ICON;ICON as set, defaults to it_remote;{ AttrVal("DEVICE","icon","it_remote") }
|
||||
attr DEVICE icon ICON
|
||||
attr DEVICE devicetopic BASE_TOPIC/DEV_ID
|
||||
attr DEVICE stateFormat Action: action Volume: volume Batterie: battery %
|
||||
attr DEVICE readingList $\DEVICETOPIC:.* { json2nameValue($EVENT) }
|
||||
attr DEVICE model zigbee2mqtt_symfonsik_sound_controller
|
||||
attr DEVICE userReadings volume:brightness.* {int(ReadingsVal($name,"brightness",10)/2.55)}
|
||||
deletereading -q DEVICE (?!associatedWith).*
|
||||
setreading DEVICE attrTemplateVersion 20200522
|
||||
|
||||
|
||||
###########################################
|
||||
# TASMOTA
|
||||
|
Loading…
x
Reference in New Issue
Block a user