Tasmota 11 MagicLed with Openhab3

i had flashed MagicHome LED Controller with Tasmota. So far so good. Everything is fine. I don’t know how to configure the channel for color changing and dimming. The Power (On Off) is working fine.

I have newest openhab, tasmota 11.1 on the device and a mqtt server. Cause of the switch working I think it is a mqtt command/state or something problem.

I got tutorials but there’s openhab2 another LED controller or no mqtt or or or. But not the constellation I have.

Can someone give me one example thing/channel/item configuration.


How are you configuring this? Via the UI, or via files?

This is my Thing configuration for the color channel of my Tasmota Wifi LED bulb:

  - id: ColorHSB
    channelTypeUID: mqtt:color
    label: Color HSB
    description: ""
      commandTopic: Wifilight06/cmnd/HSBCOLOR
      colorMode: HSB
      stateTopic: Wifilight06/stat/HSBCOLOR
      transformationPattern: JSONPATH:$.HSBColor
      onBrightness: 60

The item is just a color item, nothing special about it.
Note: commandTopic and stateTopic may look different in your situation, Tastmota by default used cmnd/NameOfTasmotaDevice/HSBCOLOR

till now i made everything in UI. Since Openhab3 I had no need to do configuration in files. I begun with Openhab 2 the scripting was horrible for me.
But if there is no other way…
If you have ideas please.

Thank you

this looks very nice.
I try to do configuration work within UI so some things are different I hope I can “translate” to UI.
I will give feedback.

THANKS!!! Oerni

Hi I tried your suggest. But I think I have done something wrong. Here is my Thing-Code out of the UI:

UID: mqtt:topic:9b3b4f8eb2:4342594947
label: SchlafzimmerLED
thingTypeUID: mqtt:topic
configuration: {}
bridgeUID: mqtt:broker:9b3b4f8eb2
location: Schlafzimmer

  • id: SchlafzimmerLEDOnOff
    channelTypeUID: mqtt:switch
    label: SchlafLEDOn
    description: “”
    commandTopic: cmnd/SchlafzimmerLED/POWER
    stateTopic: stat/SchlafzimmerLED/POWER
    off: OFF
    on: ON
  • id: SchlafzimmerLEDOnline
    channelTypeUID: mqtt:string
    label: SchlafzimmerLEDOnline
    description: “”
    qos: 2
    stateTopic: tele/SchlafzimmerLED/LWT
    retained: true
  • id: SchlafzimmerColor
    channelTypeUID: mqtt:color
    label: SchlafzimmerColor
    description: “”
    commandTopic: SchlafzimmerLED/cmnd/HSBCOLOR
    colorMode: HSB
    qos: 2
    stateTopic: SchlafzimmerLED/stat/HSBCOLOR
    transformationPattern: JSONPATH:$.HSBColor
    onBrightness: 60

First of all I habe to tell that I haven’t an item to change color. Slider Color Picker or Wheel they did not show anything there is only a frame but nothing to slide or click.
Second as you can see Topics for the switch are litte bit different. Is ther a change in tasmota? Is this order a special for LED Stripe???

I hope you have further ideas.

Thank a lot