Controlling a device with direct & indirect light with HA (Calex Halo)

Hi everyone!

I recently bought a Calex Halo ceiling light. It’s a beautiful light providing direct tuneable white and indirect RGB light. And more amazing, it’s Tuya-based! I was happy to learn that I was able to integrated easily through the Tuya integration. However, the light doesn’t behave as I expected, or maybe it behaves exactly as I expected…

This light is actually 2 different lights in one device: the direct downlight (tuneable white) and indirect ambient light (RGB). Tuya, and HA sadly discovers the lamp as 1 device with only 1 light entity. As a result, I can either set a color temperature, or a RGB and not both. I observe the following behaviour:

  • If I send light.turn_on with RGB: the indirect light turns on in red & the direct light turns off
  • if I send light.turn_on with a color temperature: both lights turn on with the correct color temperature.

What I would like to be able to do is set the direct light to a certain color temperature, and the indirect light to a RGB color at the same time. This is possible using the Smart Life app from Tuya directly, but I can’t get it done with HA.

Some ideas I’m exploring:

  • Can I somehow split the one device into 2 devices
  • Is there a way for me to send a command to Tuya that contains both an RGB value and a color temperature?

Did any of you experience something related? And/or do you have any good ideas on how I could move forward?

Thanks!

This is the lamp’s state in HA with the following settings:

  • Direct light: CT 6535 brightness 1%
  • Indirect light: RGB [255,0,0] brightness 100%
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
  - color_temp
  - hs
color_mode: color_temp
brightness: 0
color_temp_kelvin: 6250
color_temp: 160
hs_color:
  - 34.787
  - 4.471
rgb_color:
  - 255
  - 250
  - 243
xy_color:
  - 0.333
  - 0.336
friendly_name: Calex Smart Halo Ceiling Light 400mm
supported_features: 0

This is the state after I turn off the direct light:

min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
  - color_temp
  - hs
color_mode: hs
brightness: 255
color_temp_kelvin: null
color_temp: null
hs_color:
  - -1.003
  - 100
rgb_color:
  - 255
  - -4
  - 0
xy_color:
  - 0.701
  - 0.299
friendly_name: Calex Smart Halo Ceiling Light 400mm
supported_features: 0
1 Like

Did you get anywhere?

I sent a message to Calex support and initially it seemed they might try to help but then they stopped responding :frowning:

I really wish this was possible!

No success so far. Would love to learn more about what Calex did to help you get further

First they claimed you can’t switch both on at the same time, then I showed you could and asked them to contact tuya, then they stopped responding!

Still no success here. I did manage to find a related plst though: https://www.reddit.com/r/homeassistant/comments/163k72b/how_to_handle_both_rgb_and_w_in_calex_smart_halo/
I stopped trying for now…