Trigger a switch with Alexa

Hello,

I want to trigger a switch (on and off) with Alexa voice commands.

Do you have any idea how can I do this?

I tried to install ‘haaska’ following the tutorial but is not recognizing any devices.

Can you please give me some hints?

Thanks!

Use emulate hue. It will expose your switch to Alexa and allow you to turn it off with “Alexa turn off the swtich”

This involves ‘haaska’? Or is something that I can use without haaska?

No haaska needed.

Just add the emulated hue config, re-scan via the alexa app and your HA devices show up. You can only control them on/off and possibly dim them (Alexa thinks everything is a hue bulb basically)

1 Like

Great! Thank you! I will try it!

I found the haaska install to be a little confusing using the existing tutorials but I worked through it and now I’m glad I did it.

I wrote up a pretty detailed procedure if you want to use it.

https://pastebin.com/Dzzr9K8X

it should be fairly self-explanatory.

2 Likes