ha-bridge icon indicating copy to clipboard operation
ha-bridge copied to clipboard

CCT Lamp Color_temp

Open tegger2000 opened this issue 3 years ago • 8 comments

Hello, I have some lamps with white range. There is also the possibility with Hue and Alexa to switch between 5 white color cases. Is it possible with HABridge to emulate this as well ? If yes, how ?

tegger2000 avatar Jan 13 '22 23:01 tegger2000

You have to setup the color command by using the edit scren.

bwssytems avatar Jan 14 '22 16:01 bwssytems

i'm sorry, but could you please give me an example of what I do at Tasmota for example ? For RGB colors the following works: http://192.168.123.234/cm?cmnd=Color%20(${color.r},${color.g},${color.b}) But for white I need a CT value CT | 153..500 = set color temperature from 153 (cold) to 500 (warm) for CT lights

tegger2000 avatar Jan 14 '22 17:01 tegger2000

When I ask Alexa - with color enabled device - it states "This device does not support it" (in German :-) when I am asking to make the light colder. So I guess it needs more.

steviehs avatar Jan 14 '22 17:01 steviehs

German answer: I am still standing a bit on the tube I have lamps with Tasmota and the Tasmota Hue emulation. There I can choose with Alexa between, "Warm White, warmwhite, white, daily white and cold white (also German version) ". With an RGB-CCT lamp, the emulation does not work. In addition, I also have lamps with Esphome and Zigbee whose white light is variable. So is it possible to emulate a CCT lamp with ha-bridge or not ? For all three I need a color temperature value

tegger2000 avatar Jan 14 '22 17:01 tegger2000

Hmm... now I have nice GU10 Bulb with RGB and CCT... but via ha-bridge, I can only choose inside the RGB range... I thing CCT is some different HUE API which is not supported yet by ha-bridge? Gee... I think I have to reinstall a java IDE :-)

steviehs avatar Mar 13 '22 14:03 steviehs

So the api version that habridge supports hsb, xy and ct. So maybe it is the device type return it does not like.

bwssytems avatar Mar 16 '22 20:03 bwssytems

I think it is just an understanding problem :-) (Layer 8 :-)

The device is a home assistant device controlled via api. Aside from color, it suports also color temperature. But where do I set this ct in habridge?

This is how the http body of "color items" looks like: grafik

So where do I place something similar for color_temp? For my understanding I would expect another row called "color temp items"? Could you give me an example how it would work?

steviehs avatar Mar 16 '22 22:03 steviehs

Ahh, gotcha. The habridge does not have CT passing mechanism currently only the ones listed here https://github.com/bwssytems/ha-bridge#value-passing-controls

bwssytems avatar Mar 18 '22 13:03 bwssytems