Alexa Blogs

Alexa Blogs

Want the latest?

alexa topics

Recent Posts

Archive

May 10, 2016

Zoey Collier

When David Markley got his Echo Dot, he was curious about how he could take Alexa on the road. Markley leads the app compatibility team for the Amazon Appstore and, as he puts it, “tinkers with voice game development on the side”.

Markley says the set up in his car was simple. He turned on the personal hotspot on his iPhone, plugged the Echo Dot into a USB adapter, and the Echo Dot booted into setup mode. He then used a different device, a tablet, to complete the setup by connecting the Echo Dot's WiFi to his iPhone’s personal hotspot. The Bluetooth wouldn’t connect in his car, so Markley used the audio line-in instead. His car has a good quality sound system, so he hasn’t had issues with noise interference.

“After she boots, I typically get my morning news update and then either listen to an Audible book or play music on my way to work. It’s great to be able to add things to my shopping list as they come to mind during the drive.”

Now, he simply makes sure the personal hotspot on his iPhone is enabled and the Echo Dot boots when the car starts, reconnects, and says “hello”. Markley loves having his Echo Dot in his car – watch it in action.

[Read More]

May 06, 2016

Zoey Collier

You can play Rock, Paper, Scissors on Amazon Echo right out of the box. But it took Octavio Menocal to write a more advanced Alexa skill based on Sheldon Cooper’s favorite permutation, Rock, Paper, Scissors, Lizard, Spock. (Watch The Big Bang Theory’s physicist explain the rules and how in the end, “as it always has, rock crushes scissors.”)

A software engineer at the Nicaraguan office of the digital advertising agency RAIN, Menocal improved on the original Echo game not only by including variables for a reptile and the Star Trek Vulcan hand salute, but also by making it a true contest between you and Alexa—scoring each round, explaining why you won or lost, and tracking totals. When she’s victorious, Alexa is not above a little schoolyard taunting, saying, “I’m the best in this game. Come back to challenge me — I’ll be waiting for you.”

Menocal created this Alexa skill just for fun, but developing innovative voice experiences is serious business at RAIN. An innovative thought leader in the realm of voice development, the agency has released pioneering custom Alexa skills for clients, among them Campbell’s Kitchen and, just in time for Mother’s Day, voice-enabled bouquet deliveries from 1-800-FLOWERS.COM.

While his official role at RAIN is that of Android developer, Menocal enjoys working with Alexa and has already created additional skills, including Currency Converter and Sage of Elements. The Echo isn’t available yet in Nicaragua, so he’s especially pleased to be at the forefront of creating excitement around voice technology in his home country. And Menocal found the learning curve easy thanks to numerous programming training resources available, including Alexa documentation, webinars, and live sessions with Amazon evangelists.

To play Rock, Paper, Scissors, Lizard, Spock, enable the skill in the Alexa app and say, "Alexa, open lizard Spock."

Get Started with Alexa Skills Kit

Are you ready to build your first (or next) Alexa skill? Build a custom skill or use one of our easy tutorials to get started quickly.

May 04, 2016

Noelle LaCharite

Use this tutorial to build a how-to skill and get your free Alexa Dev t-shirt. For more details, see terms and conditions.

We have launched a new skill template that makes it easy for developers and non-developers to create a skill similar to “DrinkMaster,” "Aromatherapy", "Timed Meditation", "Minecraft Helper", etc. These type of skills share the unique ability to parameterize what the user says and map it to a content catalog. For example, a user might say "Alexa, Ask Aromatherapy for a recipe for focus" and Alexa would map the word "focus" to the correct oil combination in the content catalog. Or, a user might say "Alexa, Ask DrinkMaster how to make a Margarita" and Alexa would map the word "margarita" to the correct drink recipe in the content catalog.

This template leverages AWS Lambda and the Alexa Skills Kit, while providing the business logic, use cases, error handling and help functions for your skill. You just need to come up with a content idea (like "Snack Recipes"), plug in your content and edit the sample provided (we walk you through how it’s done). It's a valuable way to quickly learn the end-to-end process for building and publishing an Alexa skill.

Using the Alexa Skills Kit, you can build an application that can receive and respond to voice requests made on the Alexa platform. In this step-by-step tutorial, you will build a web service to handle notifications from Alexa and map this service to a Skill in the Amazon Developer Portal, making it available on your device and to all Alexa users after certification.

After completing this tutorial, you will know how to:

  • Create a parameter-based skill - This tutorial will walk first-time Alexa skills developers through all the required steps involved in creating a how-to or recipe-based skill using a code template called ‘Minecraft Helper’.
  • Design for VUI - Creating this skill will help you understand the basics of creating a working Voice User Interface (VUI) while using a cut/paste approach to development. You will learn by doing and end up with a published Alexa skill. This tutorial includes instructions on how to customize the skill and submit it for certification. For guidance on designing a voice experience with Alexa you can also watch this video.
  • Use JavaScript/Node.js and the Alexa Skills Kit - You will use the template as a guide but the customization is up to you. For more background information on using the Alexa Skills Kit please watch this video.
  • Get your skill published - Once you have created your skill, this tutorial will guide you through testing it and submitting it for certification. After your skill is certified, it's available for any Alexa user to enable.
[Read More]

May 03, 2016

Robert McCauley

Today’s guest post comes from Michael Garcia, EMEA Solutions Architect at AWS. In this post, we'll discuss how you can voice-control any physical devices using Alexa.

The Internet of Things

Amazon Echo and Alexa Skills Kit (ASK) are enabling developers to create new experiences with voice-enabled applications. It is a really natural interface to interact with the physical world around us. The new Smart Home Skill API enables you to quickly create Alexa skills to control connected devices for the home, like lights and thermostats, from the cloud. What about controlling other types of devices from the cloud?

That is what the Internet Of Things (IoT) is all about. Today we are going to see how you can connect and control any device using the Amazon Web Services (AWS) platform and Alexa Skills Kit. We’ll start with some basics around AWS IoT, a managed service that will enable you to connect securely your objects to the AWS platform. We’ll create a representation of our physical device and then we’ll see how we can create a new skill to voice control our object from the cloud. If this is the first time you are creating an Alexa skill, I highly recommend you build a trivia skill or create a fact skill. Both blog posts provide step-by-step tutorials so you can build a skill in under an hour and learn the end-to-end process of creating a skill with AWS Lambda.

For those who already have a physical device and want to connect it to AWS IoT, you can consult the quickstart documentation for AWS IoT to easily get started by using the AWS SDKs and sending data to the Cloud.

To start, we’ll use a very simple industrial use case to make things feel more concrete. Imagine that you’re a developer who needs to develop a skill so that an operator in an industrial facility could control a water pump remotely with his voice. To achieve that we will focus on the Alexa Skills Kit and we will simulate having a physical device (the water pump) so everyone can perform the steps described below. We are assuming that the reader also has prior knowledge of the AWS Platform. To get up to speed, feel free to visit the AWS training section.

We will provide you with a glimpse of how to use Alexa and the AWS platform so you can create your own voice-enabled IoT application later.

AWS IoT: Creating a ‘Thing’ Which Will Represent a Physical Device

AWS IoT is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. AWS IoT can support billions of devices and trillions of messages, and can process and route those messages to AWS endpoints and to other devices reliably and securely. With AWS IoT, your applications can keep track of and communicate with all your devices, all the time – even when they aren’t connected.

AWS IoT makes it easy to use other AWS services with built-in integration so you can build value-added IoT applications that gather, process, analyze and act on data generated by connected devices, without having to manage any infrastructure.

Let’s start by logging into the AWS Console on the IoT page. By default, this will select the ‘us-east-1’ AWS region, we recommend you stick with that region for this article.

[Read More]

April 29, 2016

Emily Roberts

Alexa is the cloud-based voice service that powers Amazon Echo. Companies can add new skills to Alexa using the Alexa Skills Kit. The Alexa Fund is a $100M investment fund to fuel innovation in voice technology. Both were announced in June 2015.

After the birth of their first son, Joel Wetzel and his wife decided to start running as a way to get out of the house and get healthy. He soon grew tired of squinting at a watch screen on dark mornings or pulling his mobile phone out of his pocket to check his times or adjust settings. He saw a way to combine his passion for voice design with a love of a healthy lifestyle. Joel is the CEO and Founder of MARA, an intelligent, voice-based running assistant that provides performance data and training information during exercise, serving as a virtual running coach or personal trainer. MARA launched as a mobile app on iOS in May 2014 and Joel continues to expand MARA’s reach to new technologies.

Investing in the Future with Voice

Joel has been interested in voice interaction since childhood. He was fascinated by HAL from Space Odyssey, KITT on Knight Rider, Data on Star Trek, and the computer on the Starship Enterprise. It was all science fiction back then, but fast forward thirty years and Joel realized that it was something he could help make happen. MARA is a next generation running assistant for smart running. The name of both the app and the assistant, MARA uses cutting-edge voice recognition to proactively coach runners to reach new personal bests. As a personality, MARA provides motivation, encouragement and even competition. With the MARA app, runners can talk to her using their earbuds, ask questions about their speed, pace, location, duration or the weather, ask for music, and track run progress over time.

 “At MARA, our goal is to push digital interaction beyond mere voice commands - to craft conversations, experiences, and personalities,” said Joel. “We were obviously delighted to be selected by the Alexa Fund because our goals are very similar. We want to see voice interactions become pervasive.” 

[Read More]

April 28, 2016

Amit Jotwani

Last year, we introduced a Developer Preview of Alexa Voice Service (AVS) to hobbyists and device makers to help them integrate Alexa into their connected devices and apps, and then a few weeks back, we released an implementation of an Alexa enabled Raspberry Pi on GitHub. We couldn’t be happier with the response we received from the developer community.

Meet Triby – a new connected family-friendly kitchen device that magnetically sticks to the fridge and can play music, make calls, display messages, and is voice activated.

Built by Invoxia, Triby is one of the first ‘Alexa-enabled’ devices built with AVS, which means that you can do almost everything with Alexa on Triby that you can do with Alexa on Echo. 

You address Alexa through Triby using the “Alexa” wake word, just as you would on Echo. Simply say “Alexa, play Adele” and Triby can play Adele from Prime Music, “Alexa add milk to my list” and Triby will add it to your shopping list, or “Alexa, turn off the kitchen lights” and Triby becomes a way to access and control the smart home.

 

“Voice recognition capabilities transform the way we interact with music, content and services. Amazon made it available to the world with its first range of Alexa-enabled devices. Now with a diversified Alexa-enabled device offering, more people can enjoy the Alexa experience. We are excited to be at the forefront of many third party devices to integrate the Alexa Voice Service with Triby. It has great communication features, the ability to hear you from across the room while being portable and an always-on display. We can't wait to equip millions of kitchens with it!" says Sebastien de le Bastie, Invoxia’s Managing Director.

Learn More about Alexa on Triby.

If you are a device maker, service provider or application developer interested adding rich and intuitive experiences to your products – AVS is the right choice for you! Get Started

Ready to Get Started?

For more information on Alexa-enabled devices and getting started with Alexa, check out the following resources:

Alexa-Enabled Devices
Amazon Echo
Amazon Echo Dot
Amazon Tap
Amazon Fire TV
Amazon Fire TV Stick

Alexa Developer Resources
Alexa Voice Service (AVS)
Alexa Skills Kit (ASK)
The Alexa Fund
AVS Developer Forums
Alexa on a Raspberry Pi (GitHub)

Have Questions? We are here to help! Visit us on the AVS Forum to discuss specific questions with one of our experts.

- @amit

 

April 27, 2016

David Isbitski

By Juan Pablo Claude, software developer at Big Nerd Ranch

Editor’s note: This is part five of the Big Nerd Ranch series. Check out parts four, three, two, and one.

If you are reading this post, it is likely that you have finished writing a shiny new Alexa skill and you are ready to submit it to Amazon for review and publication. In this post, we’ll guide you through the submission process and help you get your skill published as quickly as possible.

Haven’t written your skill yet? Read on to learn about Amazon’s guidelines so that you can have a rapid and successful skill review.

What to Keep in Mind When Designing and Submitting an Alexa Skill for Review

If you want to have your own skill available to Alexa users, you will need to submit your skill to the Alexa Team for certification.

That means that you, as a skill developer, need to follow Amazon’s content and security policies if you wish to have your skill certified for distribution. Amazon offers an official checklist for skill submission, along with policy guidelines and security requirements.

As you might expect, skills with obscene, offensive or illegal content or purposes are terminally frowned upon. What you might not expect is that the content policies do not allow skills targeted to children, as they may compromise a child’s online safety. This is a less evident restriction you should consider when a new skill idea hits you.

Security for the server-side part of your skill is also an important consideration, and it may be tricky if you decide to host the skill yourself outside of AWS Lambda. In that case, your server will need to comply with Amazon’s security requirements. As an example, any certificates for your skill service need to be issued by an Amazon-approved certificate authority.

The good news is that if you host your skill services as Amazon Web Services Lambda functions as we have done in the Developing Alexa Skills blog series, all major security requirements are automatically satisfied.

[Read More]

April 18, 2016

Amit Jotwani

We are very excited to introduce you to CoWatch - the world’s first ‘Alexa-enabled’ smartwatch built using the Alexa Voice Service API. Boasting a modern watch design, and a high-res touch screen, CoWatch is a companion smartwatch device with built in Wi-Fi and Bluetooth and is the first wearable/smartwatch built on top of the Cronologics OS platform.

[Read More]

April 15, 2016

David Isbitski

By Josh Skeen, software developer at Big Nerd Ranch

This is part four of the Big Nerd Ranch series. Click here for part three.

By now, we’ve made a lot of progress in building our Airport Info skill. We tested the model and verified that the skill service behaves as expected. Then we tested the skill in the simulator and on an Alexa-enabled device. In this post, we’ll implement persistence in a new skill so that users will be able to access information saved from their previous interactions.

We'll go over how to write Alexa skill data to storage, which is useful in cases where the skill would time out or when the interaction cycle is complete. You can see this at work in skills like the 7-Minute Workout skill, which allows users to keep track of and resume existing workouts, or when users want to resume a previous game in The Wayne Investigation.

[Read More]

April 15, 2016

Zoey Collier

Like many industries today, the financial services sector is looking to become more customer-centric—to provide faster, easier, and more secure ways for consumers and businesses to buy goods and services online.

UK-based Lloyds Banking Group is no different. Committed to becoming a world-class, customer-centric digital bank, Lloyds is actively exploring biometrics, including voice recognition. According to Marc Lien, Director of Innovation and Digital Development, the use of speech is exciting not only because it’s convenient, but also because it can empower the 360,000 people registered as blind or partially sighted in the UK.

As Lien says, “Some of our customers cannot enjoy the full benefits of online banking. Understanding how we can break down accessibility barriers is another way in which we are working towards becoming the best bank for customers.”

To that end, Lloyds has created a proof of concept for Alexa, writing test cases for logging in, requesting account balances as well as account details, and asking for help from Lloyds. Watch this video to see the skill in action.

The skill isn’t live, because Alexa-enabled devices and Alexa Skills Kit are not yet available in the UK. But, as Lien explains, “By being at the forefront of exploring technologies we can keep pace with the evolving expectations of our customers. This also means that we can future-proof our products and services by considering how technologies may develop.”

To learn more about how they are developing test of concept for Alexa, read their blog. Look for more to come from Lloyds.

Are you ready to build your own Alexa skill but not sure where to start? Try our trivia and fact skill templates to get started quickly.

April 14, 2016

Zoey Collier

Great news—we've made this month’s t-shirt even more collectible. To recognize your accomplishment of publishing one of the first 1,000 Alexa skills, we’ve added a new badge to the April t-shirt. Simply come up with an idea for a skill, create your next (or first) Alexa skill, and publish it by April 30.

Not sure where to start? Our trivia and fact skill templates make it easy to create a simple skill for Alexa. Both templates and step-by-step guides leverage AWS Lambda and the Alexa Skills Kit, while providing the business logic, use cases, error handling and help functions for your skill.

Don't miss out. Build and publish your Alexa skill by April 30 to score your free Alexa dev t-shirt. Terms and conditions apply.

April 13, 2016

Paul Cutsinger

Hackster is a developer community dedicated to learning hardware and they’ve shared some pretty amazing projects using Alexa. Now, Hackster announced the Alexa Skill Contest to give developers like you a chance to connect your favorite hardware, IoT platform, and everyday life using Alexa.

Natural user interfaces, such as those based on speech, represent the next major disruption in computing. Alexa provides you with an opportunity to take advantage of the new form of interaction. Alexa, the voice service that powers Amazon Echo, provides capabilities, or skills, that enable customers to interact with devices in a more intuitive way using voice. You can build skills using the Alexa Skills Kit

We’re excited to see what you create with the Alexa Skills Kit. Submit your great skill ideas for our Alexa Skill Contest – extra points when your skill is published by May 30, 2016.

To get started, check out the details of the contest. Here are a few other resources to help you get started quickly:

I’m curious to see what you’ll build. Keep in touch, @PaulCutsinger.

April 11, 2016

David Isbitski

The Smart Home Skill API is a new addition to the Alexa Skills Kit, which enables developers to add capabilities, called skills, to Alexa. With this new API you can teach Alexa how to control your own cloud-controlled lighting and thermostat devices. For example, customers can simply say, “Alexa, turn on the kitchen lights” or “Alexa, turn up the heat downstairs” and Alexa will communicate directly with your Smart Home device. Smart home skills are created in the same developer portal as existing custom skills and follow a similar process.

Creating a Smart Home Skill

To create your smart home skill, you’ll first configure your skill using a new Smart Home Skill API flow in the developer portal. Ensure you have selected the Smart Home Skill API skill type, enter a Name for your skill and then simply click Next.

Unlike custom skills, smart home skills already have an existing interaction model for you. This means you won’t have to define the intent schema and sample utterances like you would in a custom skill. Click Next to move to the Configuration tab.

[Read More]

April 06, 2016

Kevin Utter

Editor’s note: This tutorial was updated with the new skill submission flow in April 2016.

Programming for the Alexa platform is a new paradigm for everyone. Creating a solid Voice User Interface (VUI), understanding the Alexa platform, how to interact with it and certifying your skill all need to be mastered in addition to actually programing your skill in Node.js, Python, Java or whatever your favorite language may be.

This post attempts to walk the first time Alexa skills developer through the steps involved in creating a solid skill that can actually be submitted for certification. Understanding the scope of what is involved while using a cut/paste approach to the programing required should enable you to grasp the parts involved and how they all fit together. Nothing is better for learning a thing than actually doing a thing – let’s get started!

We are going to take a reference skill called ‘Reindeer Games’, a trivia game popular on the Alexa platform, and  adapt it by creating a trivia game of your own to submit for certification.  The framework has all of the business logic, use-cases, error handling and help functions already implemented – you just need to plug in your own question/answers and edit a couple lines of script.

Important: Follow the instructions below which step you through setting up the Framework Trivia Game, ‘Reindeer Games’ – be sure you have this working before you move on to adapting it to your set of questions.

[Read More]

April 06, 2016

Robert McCauley

We’ve been talking about how to get started with Alexa using the Alexa Skills Kit page, and sample skills, such as the Color Expert, using AWS Lambda functions. This article will show you how to setup a deploy script, so that you can manage your code and modules locally, and be able to easily publish changes into AWS Lambda via the command line interface (CLI).

The AWS Lambda console provides a set of management screens for developers to create and configure custom functions, including functions that implement Alexa skills features.  Short, simple functions that require only a single block of code can be opened for editing within the Lambda console.  However, this online code editor is disabled if you have uploaded a multi-file project.  In this case you need to organize source files and any required modules in a folder on your laptop, and then zip these into a package and manually upload them to the Lambda console.

 

 

 

 

 

 

We’ll use the AWS CLI (Command Line Interface) to help us implement DevOps style automation to avoid manually performing the steps repeatedly during an iterative development process.

[Read More]

Want the latest?

alexa topics

Recent Posts

Archive