Page 1 of 1

RGBWW light recognized as RGBWZ light

Posted: Saturday 05 November 2022 13:16
by Gravityz
Hello,
i am trying to integrate an RGBWW light through MQTT auto discovery.

this config seems to work in Home assistant but when i use this in domoticz it recognises the light as RGBWZ

can anybody see what is wrong with this config (eg what needs to be changed to fix it for domoticz)
it is an LSC(Tuya) RGBWW light running OpenBK firmware

so either the MQTT functionality between HA and Domoticz is not the same(it should be) or there is a bug in MQTT autodiscovery on the domoticz site.
douchelamp.JPG
douchelamp.JPG (23 KiB) Viewed 483 times

Code: Select all

mqtt:
  light:
  - unique_id: "OpenBK7231T_06ECB4BF_light"
    name: "Douchelamp 64"
    rgb_command_template: "{{ '#%02x%02x%02x0000' | format(red, green, blue)}}"
    rgb_value_template: "{{ value[0:2]|int(base=16) }},{{ value[2:4]|int(base=16) }},{{ value[4:6]|int(base=16) }}"
    rgb_state_topic: "Douchelamp/led_basecolor_rgb/get"
    rgb_command_topic: "cmnd/Douchelamp/led_basecolor_rgb"
    command_topic: "cmnd/Douchelamp/led_enableAll"
    state_topic: "Douchelamp/led_enableAll/get"
    availability_topic: "Douchelamp/connected"
    payload_on: 1
    payload_off: 0
    brightness_command_topic: "cmnd/Douchelamp/led_dimmer"
    brightness_scale: 100
    #brightness_value_template: "{{ value }}"
    color_temp_command_topic: "cmnd/Douchelamp/led_temperature"
    color_temp_state_topic: "Douchelamp/led_temperature/get"
    #color_temp_value_template: "{{ value }}"