From 5d50622daeb7c83673b39daf8bcb61bcba07fc60 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 4 Dec 2025 16:20:11 +0100 Subject: [PATCH] Fix DALI RGBW and RGBCCT SO37 support --- tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino b/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino index 74ada046e..5648f8f54 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_75_dali.ino @@ -974,6 +974,11 @@ bool DaliInit(uint32_t function) { Dali->target_rgbwaf = DaliQueryRGBWAF(DaliTarget2Address(Dali->Settings.target)); if (Dali->target_rgbwaf > 1) { TasmotaGlobal.light_type = Dali->Settings.light_type; + if (!Settings->flag3.pwm_multi_channels && // SetOption68 0 - Enable multi-channels PWM instead of Color PWM + (TasmotaGlobal.light_type >= LT_RGBW) && // RGBW or RGBCW + (Settings->param[P_RGB_REMAP] & 128)) { // SetOption37 128 + UpdateDevicesPresent(1); // We manage RGB and W separately, hence adding a device + } } #endif // DALI_LIGHT_COLOR_SUPPORT