OpenHab2 - Alexa (Echo) - Phillip Hue Farbe

Hello @Celeano1, thanks for you reply. For sure i’ve not put “xxxxx” in my definition, its just to keep my bridge-id secret.
I als o got no space in the channel-string.

Moreover i’m able to change the color in the openhab but but now with alexa. Thats why i think its a problem of alexa or the interface of alexa and openhab.

I’m also not able to change a Color-item which is not linked to a hue-lampe.

Hope for more suggestions
Best regards

There seems to be a different visual indication if things are configured through flat text files or auto discovered things through PaperUI:

According to the docs, configuration through text files:

Color Light1_Color { channel="hue:0210:1:bulb1:color" } where the single “1” is the bridge id configured through the things file.

Taking a look at the things file for a bulb:

0210 bulb1 [ lightId="1" ]

“Translated” to the items file would mean:

Color Light1_Color { channel="hue:0210:<bridge_id>:bulb1:color" }, the “bulb1” represents the light id=“1”

Taking a look at an auto discovered HUE thing shows:

hue:0210:<bridge_id>:1:color = hue:0210:<bridge_id>:bulb1:color, so we are at the same step as above:

It’s just a matter of configuration …

1 Like

What i’ve did is, that i’ve created a new item:
Color Test1 “Test” [“Lightning”]

And let Alexa search for new devices. Alexa even told me that “Test” was found as a new device.
I’ve i now say:
DE: "Alexa schalte Test auf grün"
EN: “Alexa turn Test green”

I only get
DE: "Test unterstützt das nicht"
EN: “Test does not support that.”

Thats why i now think it is not a problem of hue rather than a problem of the ColorItem or alexa. Any suggestion for that?

See my Post above:

1 Like

You are missing the channel configuration … or you need a rule to update the real linked item to your “proxy” item:

rule "Test1 " 
when   
	Item Test1 received command
then
	Test1_Channel.sendCommand(Test1.state.toString)
end

where Test1_Channel is the color item linked to your channel.

But I would not do it that complicated as long as you are trying to make it basically work …

I’ve now implemented like Celaeno1 said. But still got the message “[Group] does not support that” if i say “Turn [Group] green”

@Kleemann
Could you please post your 3 items once again?

What happens if you telling:

“Switch [Group] on/off” is it running?
“Dimm [Group] to 50%” is it running?

I swear, it is running with my Amazon Echo (1st generation) and Echo Dot (2nd generation) in german!!!

1 Like

Hello @Celaeno1
for sure.

Switch Test1 “TestA” [ “Lighting” ] { channel=“hue:0210:[MyBridgeID]:1:color” }
Dimmer Test2 “TestB” [ “Lighting” ] { channel=“hue:0210:[MyBridgeID]:1:color” }
Color Test3 “TestC” [ “Lighting” ] { channel=“hue:0210:[MyBridgeID]:1:color” }

And i’ve added these 3 in a group in my alexa app called “Test”

@Kleemann
Switch On/Off and Dimming are running with Alexa?

Color not running?

1 Like

I can turn on off with
"Alexa schalte Test aus" (Eng: “Alexa turn light off”)
or dimm with
"Alexa dimme Test auf 30%" (Eng: “Alexa dimm Test to 30%”)
it’s work like a charm.

But when i say
"Alexa schalte Test aus grün" (Eng “Alexa turn Test green”)
i got the message
"Test unterstützt dies nicht" (Eng “Test does not support that”)

I’ve already update my hue and tried it with a fresh openhab2 installation

@Kleemann

Did you also enable hueemulation? If yes, please uninstall it.

1 Like

Hey,

i think yes. I’ll take a look and when it is installed i’ll uninstall it.

Will reply then again!..

I’ve uninstalled it now and
For the group and even my color-item i still get the information that it is not supported
"[Gruppe] | [Item] unterstützt dies nicht" -> En “[Group] | [Item] does not support that”

@Kleemann

Did you also restart Openhab and also rediscover your devices with Alexa APP?

1 Like

Still not working. No new devices found and still not support

@Kleemann

Delete all devices (comming from Openhab) in Alexa APP. Then rediscover them. Put them into Group “Test” again.

If that doesn’t help, I’m out! Sorry!

1 Like

I’ve also remove the openHab skill from the alexa app now and now i won’t finde any devices.

I just the only available skill called “Openhab” for Alexa. Any idea?

Btw @Celaeno1 i really appreciate your time spent for me, thanks!

Skill “Openhab for Alexa” Link is activated and “myopenhab cloud service” Link is running. And now, no devices can be found?

See here:

If you use “hueemulation” with “Openhab Skill for Alexa”, then NO COLOR is supported!

You have to use “myopenhab cloud service” for changing hue colors.

1 Like

Hello @Celaeno1

i don’t know why but now its work.
I think it a typically programmer thing, restart reconfigure and it work.

I thank you so much, really! When you may will be in Berlin sometime, leave me a message and let us get a drink, i pay.

Thanks so much!

1 Like

My pleasure. :slight_smile:

I think you have to change your channel definition and i don’t think there is any difference between Alexa App.