Amazon Alexa adds custom actions

Brilliant! Thanks for that. I'm using this to add to HE an Amazon Smart switch. Commenting that out, and using '0' delay for the detects no motion on the routine in the Alexa app keeps this in sync.

Thanks!

Today I realized that this feature, in a roundabout way, can solve parts of an old problem. If you google, "Alexa device specific routines", you'll see what I'm talking about. There are two reasons you'd want this:

  1. Make a routine that can only be triggered in a certain room.
  2. Make a routine that does different things depending on which room you're in.

Ok, I don't have a solution for #1. And #2 is partially solved if the only thing you want to do is turn off the lights. You can put the lights and the Alexa in a room group, and say "turn off the lights".

But, and this is the new part, what if you want an alias? What if you want to be able to say "Alexa, good night" and have that turn off the lights in whatever room you're in?

I just tried it out:

  • Make a routine with your new trigger, such as saying "Good night"
  • Instead of having it use the smarthome actions, have it use a custom action of "turn off the lights"
  • Here's the key: in custom actions, you can tell it to run your custom action on the device you just spoke to.

So now if I go into any room and say "Alexa, good night", it will turn off the lights in that room.

It's still pretty much limited to things that already make use of room groups, but it does allow you to define your own way of instructing Alexa.

4 Likes

Yep. All kinds of cool stuff you can now do with these custom actions in their routines, but I do really want the ability to do this without the "OK" response, but not having to turn on Brief Mode. Essentially, I want the full Google Assistant Relay experience (which I have), but for Alexa.

Anyone using Node Red found a way to get to this Custom Actions from Node Red? I use the alexa2-remote pallet and can't find it.

Is this the installation you did?

Yes. I'm still running v1.0 and it works just fine for controlling devices. I don't use the announcements or any other functions that were added in later versions.

Alexa custom actions in routines is now available in the UK. :slight_smile:
Seems to work well. Something I didn't realise is you can stack commands. For instance I have a smarter kettle and I can use a custom action of Alexa, set the kettle temperature to 80 degrees and turn kettle on There are two commands in that sentence. I've had alexa for years and didn't realise you could do that until now.

4 Likes

when I do this with an example "open silk" command, Echo device says "here's silk"
so it is not silent.
How can I make the custom command silently run ?

It used to work with Firefox, but they don’t support it anymore. I don’t think you can do it silently with Silk.

I've created a small Alexa skill for myself.
Now I say "open hubitat dashboard" and my skill shows the dashboards URL from my Hub.
Then it asks if I want to open a specific dashboard.
When I say the name of the dashboard, it opens that specific dashboard.

So I created my first nodejs Alexa skill.
Sometimes, difficulties make you learn new things :slight_smile:

2 Likes