Skip to content

Setting Color with ${color.rgbx} don't work #1267

@devel6236

Description

@devel6236

ha-bridge Version 5.4.0
I use ${color.rgbx} under color Items of the device

If I try to set the color over Alexa it doesn't work. If I say Blue color is set to FFFFFF, Green color is set to FFFFFF....

When I set the color with the "Test Color" Button in the ha-bridge GUI it works, after that it works also via Alexa until next reboot. This problem is reproducible.

log for color green:

12-15-2020 16:44:04.818 DEBUG executing HUE api request to send message to MQTT broker: "{"clientId":"HABRIDGE","topic":"cmnd/Luftbefeuchter/COLOR","message":"${color.rgbx}","qos":"1","retain":"false"}" com.bwssystems.HABridge.plugins.mqtt.MQTTHome
12-15-2020 16:44:04.818 DEBUG Request <<{"clientId":"HABRIDGE","topic":"cmnd/Luftbefeuchter/COLOR","message":"${color.rgbx}","qos":"1","retain":"false"}>>, not done: false com.bwssystems.HABridge.hue.DeviceDataDecode
12-15-2020 16:44:04.819 INFO Hue = 21845.0, Sat = 254.0, Bri = 254.0 com.bwssystems.HABridge.hue.ColorDecode
12-15-2020 16:44:04.819 DEBUG Color change with HSB New: Hue: 21845, Sat: 254, Bri: 254. Resulting RGB Values: 255 255 255 com.bwssystems.HABridge.hue.ColorDecode
12-15-2020 16:44:04.819 DEBUG Request <<{"clientId":"HABRIDGE","topic":"cmnd/Luftbefeuchter/COLOR","message":"FFFFFF","qos":"1","retain":"false"}>>, not done: true com.bwssystems.HABridge.hue.ColorDecode
12-15-2020 16:44:04.820 DEBUG Request <<{"clientId":"HABRIDGE","topic":"cmnd/Luftbefeuchter/COLOR","message":"FFFFFF","qos":"1","retain":"false"}>>, not done: false com.bwssystems.HABridge.hue.ColorDecode
12-15-2020 16:44:04.820 DEBUG publishing message: HABRIDGE - cmnd/Luftbefeuchter/COLOR - FFFFFF - count: 0

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions