bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 199 forks source link

habridge, Fibaro, RGBW2 -> On/Off/Set color #1274

Open sonypsx opened 3 years ago

sonypsx commented 3 years ago

Hello,

i would like to ask if some could post some setting sample for the following setup:

habridge V5.4.0 Fibaro HCL running 4.600 with RGBW2 Controller Alexa dot V1, V2 and V4

I would like to know how to set a color the RGBW2 Controller via the habridge. I don't have a glue what i have to fill into the "Color Items" section.

http://user:password@fibaroIP:80/api/callAction?deviceID=174 ... And then?

A happy new year to everybody out there! sonypsx

theonlymiron commented 3 years ago

/api/callAction?deviceID=174&name=setColor&arg1=${color.r}&arg2=${color.g}&arg3=${color.b}&arg4=0

The last argument is the white channel which is unfortunately not supported (yet?) with Alexa integration.

sonypsx commented 3 years ago

@theonlymiron Thank you very much! The only question left: How to tell Alexa to do so? ?! Alexa turn on room red?! I have not an idea about how to command that ;)

theonlymiron commented 3 years ago

Hey, sorry for the late answer. I use the german version of Alexa, the simplest command is "Alexa, schalte LED Wohnzimmer auf rot" Or even faster: "Alexa, LED Wohnzimmer rot"

In english it would be: "Alexa, turn device name to color" (this would be my guess). Or faster: "Alexa, device name color"

My suggestion: If you want to check your setup, better use the alexa app, there you should have the ability to see the device (as color device) and turn it to predefined colors.

sonypsx commented 3 years ago

Hello, no worries! Of course we could continue to talk in german but i think they will not appricate this here ;) Thanks, i will try that. It would be great to know if "white" color paramter is already supported. Maybe @bwssytems could give us an answer here?

Br sonypsx

sonypsx commented 3 years ago

I did give it a try but it doesn't work out. .) alexa did complain this is not supported -> and the light in the kitchen is just a simple on off llight .) and even with the test button in habridge it does not work if i try it with the Test Color Button. And yes still no arg4 for white ... However dimming and on off with Test button and/or with Alexa is working great. Strange: if i test with Test color, habridge drops a success message, but nothing happens... 2021-01-12 19_38_28-HA Bridge

theonlymiron commented 3 years ago

Hey, even if some time went by ;-) Did you have luck triggering your rgbw2 controler?