RGBWW light recognized as RGBWZ light

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

RGBWW light recognized as RGBWZ light

Post 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 481 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 }}"
Post Reply

Who is online

Users browsing this forum: jjnh and 1 guest