Code
UID: mqtt:topic:decd2fd4:2906f3f5a8
label: Office LED Strip Rohr
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:decd2fd4
location: Office
channels:
- id: led_stripe_rohr
channelTypeUID: mqtt:switch
label: led
description: ""
configuration:
commandTopic: zigbee2mqtt/led_stripe_rohr/set/state
stateTopic: zigbee2mqtt/led_stripe_rohr/state
off: OFF
on: ON
- id: led_stripe_rohr_dimmer
channelTypeUID: mqtt:dimmer
label: dimmer
description: ""
configuration:
commandTopic: zigbee2mqtt/led_stripe_rohr/set/brightness
min: 0
stateTopic: zigbee2mqtt/led_stripe_rohr/brightness
max: 254
- id: led_stripe_rohr_temp
channelTypeUID: mqtt:dimmer
label: led_stripe_rohr_temp
description: ""
configuration:
commandTopic: zigbee2mqtt/led_stripe_rohr/set/color_temp
min: 153
stateTopic: zigbee2mqtt/led_stripe_rohr/color_temp
max: 500
- id: led_stripe_rohr_color
channelTypeUID: mqtt:colorRGB
label: led_stripe_rohr_color
description: ""
configuration:
commandTopic: zigbee2mqtt/led_stripe_rohr/set
colorMode: RGB
formatBeforePublish: '{"color": {"rgb": "%s,%s,%s"}}'
stateTopic: zigbee2mqtt/led_stripe_rohr/color
Alles anzeigen
Code
Switch Office_LED_Rohr "Office LED Strip Rohr [%s]" <light> {channel="mqtt:topic:e5d254d7:led_stripe_rohr:state"}
Dimmer Office_LED_Rohr_Dimmer "Office LED Strip Rohr Dimmer [%d]" {channel="mqtt:topic:e5d254d7:led_stripe_rohr:brightness", alexa="PowerController.powerState,BrightnessController.brightness", homekit="Lighting, Lighting.Brightness"}
Dimmer Office_LED_Rohr_temp "Office LED Strip Rohr Temp [%d]" {alexa="ColorTemperatureController.colorTemperatureInKelvin", channel="mqtt:topic:e5d254d7:led_stripe_rohr:color_temp"}
Color Office_LED_Rohr_color "Office LED Strip Rohr color [%d]" {alexa="ColorTemperatureController.colorTemperatureInKelvin", channel="mqtt:topic:e5d254d7:led_stripe_rohr:color"}