#Creating "skills" for HA voice

1 messages · Page 1 of 1 (latest)

sacred gyro
#

I see plenty of people using AI with HA voice, but I really don't want that in my house.
Some things I would like to be able to ask "ok nabu":

What area code is ###? (Super simple lookup table once you grab the data)
How many tablespoons in 3 ounces (maybe there is something for this out there?)
Tell me a joke (there are a few simple-ish ways to do this)
Give me a random word (just grab a word from the dict in Linux)

I don't specifically want these solved right now, I'm more trying to figure out the right way to solve this in general. Lets say for example I found a good way to solve the area code question, how could I best package that up for anyone else to use? In Amazon land if I wanted jokes, I would have gone to the Alexa skill store, or whatever they call it, and simply add a skill for telling jokes, and it would be super easy.
Am I missing something? Or is there not a framework to enable something like this? Just to be clear, I don't want AI in any part of this.

Thanks for reading!

chilly abyss
#

The thing you want called intent_script
You basically create the template for the phrase, then the "slots" (variables) from that phrase can be used in the script that is called by your assistant.
You may start with simple automation with "sentence" trigger. AFAIK they can use slots too now.