Alexa, tell my wife she’s pretty

Erin holding baby Theo

I have a hobby of playing around with new technology while ignoring the super bowl on TV. This year I decided to learn some of the Alexa API. I had received an Echo for Christmas and thought it would be fun to build a really simple app. I decided to make a little app to help me compliment my wife. We try to compliment each other daily, something we learned in our marriage class ;)

Alexa Skill: “My Wife”

I had the basic functions working by the end of the Super Bowl. After tweaking it a bit more and adding a name variable I decided it was good enough to publish. It is a silly skill, but it was something fun to learn and do in a couple of hours. It has also inspired me to start working on some other Alexa skills. Without further ado, feel free to install the MyWife Alexa skill

User: “Alexa, tell my wife she is pretty.”

Alexa: “Hey Wife, Wow, that confidence looks sexy on you.”

User: “Alexa, tell my wife set name to Erin”

Alexa: “Wife’s name is now set to Erin”

User: “Alexa, tell my wife Erin she is sexy”

Alexa: “Dang Girl is your name Wifi ? Because I’m feeling a connection!”

User: “Alexa, tell my wife I love her”

Alexa: “I want to grow old with you.”

I plan to add some more fun features eventually, but this was amusing enough for me to start with.

I have been having fun with our Echo’s, you can see how I have been using Alexa for newborns to help us adjust to our baby. I plan to try to do even more with Alexa in the future.

If you want to get started with Alexa programming. Amazon made it super simple, start with the Node.js Alexa SDK Lambda skill, and work from there. See the simple example tutorials, I liked above with my code. I think there are some really cool possibilities opened up by nearly always on voice UI.

Code

This is the full source code, feel free to use it to learn some Alexa basics. It basically extends some concepts from the sample space facts and high low game examples.

Please enable JavaScript to view the comments powered by Disqus.

Disqus