bjnord

bjnord

Build Talking Apps for Alexa: Device setup (chapter 1)

@habuma Hello: The only Alexa device I have is my Kindle Fire, which has the Alexa app installed. I can say “Alexa” to it and do the usual things (“What time is it?” etc.). It’s linked to my personal Amazon account (e.g. I can see all my Kindle books). I was able to create my Amazon Developer account (linked to that same personal Amazon account), do the “ask new” and customizations etc., and then do the “git push” to deploy.

I can see “starport-75” Skills on the Alexa web console, and I can interact with it just fine on the web. But when I tell the Kindle Fire “Alexa, open star port seventy five” she says “OK” and then opens an app called “Star Sport & Sub” in the app store.

My question is how I troubleshoot this. How do I see what devices I own that are associated with my Amazon developer account, which should be able to use skills I deploy? How would I associate a device with my Amazon developer account if it isn’t already? etc. I poked around on both sides and I can’t see anyplace to see or make the association.

Thanks,
Brent

Marked As Solved

habuma

habuma

Author of Build Talking Apps for Alexa

That’s a really good question…one that I’m going to attempt to answer (but may fail to adequately address). While I have SEVERAL Alexa devices in my house (and even a handful that I carry around with me), I do not own a Kindle Fire, so my experience with that particular device will be entirely speculation.

Assuming that your Kindle Fire is associated with the same Amazon account that you developed and deployed the skill with, it SHOULD just work. But, I can see a few gotchas that might prevent it from working.

When you asked Alexa to open “Star Port Seventy Five”, she may have misheard what you said as something else that (at least to Alexa) sounded like “Star Sport & Sub”. After all, those two things are named such that they sound similar. Moreover, the Kindle Fire doesn’t quite have the same level of sophisticated array of microphones that a real device would have, so the likelihood of being misheard is greater.

One thing you might try doing is going into the Alexa Companion app or https://alexa.amazon.com and go to the “Skills” section. From there find the “Star Sport & Sub” skill and disable it. This will give you a slightly better chance of hitting the right skill the next time you try.

If you’re still struggling, you could try changing the skill’s invocation name to something completely different to see if you have better luck.

Of course, it might also be that the device isn’t associated with the same account that the skill was deployed with. So, as you asked, how can you know? The best way to find out, I’d think, is to sign into https://alexa.amazon.com or into the companion application on iOS or Android and go to the “Devices” section (on the website, I think it’s under “Settings” if I recall correctly). Be sure to sign into the Alexa website or companion app with the same credentials as you signed into developer.amazon.com when setting up the ASK CLI. If the Kindle Fire is listed, then it’s probably a matter of Alexa mishearing what you said. If the Kindle Fire isn’t listed, then that device must be associated with some other account.

One other thing: You say that the only Alexa device you own is the Kindle Fire, but you could have a few others you didn’t think about. If you have the Alexa companion app installed on your phone, it can also be used as an Alexa device. If you have an Apple Watch or iPhone, you can also install Voice in a Can and use it as an Alexa device. I’ve also tinkered a little with an app called Ally for iOS which turns your phone into an Alexa device. And then there’s the Developer Console, which gives you the chance to speak to Alexa (or type at her if you prefer) that serves as a device.

Also Liked

habuma

habuma

Author of Build Talking Apps for Alexa

Awesome! So glad to here that you sorted it out!

Testing-wise (and automated testing notwithstanding), I tend to test my skills using whatever Echo device is nearby. While you don’t need a real device to test, there’s nothing nearly as rewarding as hearing the results on a real device. I also frequently use the Alexa app on my phone if I don’t have a device nearby (such as when I’m away from home). In short, it sounds like you’ll be able to test with the Kindle Fire, but if you continue to enjoy this kind of thing, I’d recommend a small investment in an Echo Dot or some other device.

Where Next?

Popular Pragmatic Bookshelf topics Top

sdmoralesma
Title: Web Development with Clojure, Third Edition - migrations/create not working: p159 When I execute the command: user=> (create-...
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
curtosis
Running mix deps.get in the sensor_hub directory fails with the following error: ** (Mix) No SSH public keys found in ~/.ssh. An ssh aut...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
taguniversalmachine
Hi, I am getting an error I cannot figure out on my test. I have what I think is the exact code from the book, other than I changed “us...
New
jonmac
The allprojects block listed on page 245 produces the following error when syncing gradle: “org.gradle.api.GradleScriptException: A prob...
New
kolossal
Hi, I need some help, I’m new to rust and was learning through your book. but I got stuck at the last stage of distribution. Whenever I t...
New
andreheijstek
After running /bin/setup, the first error was: The foreman' command exists in these Ruby versions: That was easy to fix: gem install fore...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New
davetron5000
Hello faithful readers! If you have tried to follow along in the book, you are asked to start up the dev environment via dx/build and ar...
New

Other popular topics Top

Exadra37
I am thinking in building or buy a desktop computer for programing, both professionally and on my free time, and my choice of OS is Linux...
New
Margaret
Hello content creators! Happy new year. What tech topics do you think will be the focus of 2021? My vote for one topic is ethics in tech...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
AstonJ
If you are experiencing Rails console using 100% CPU on your dev machine, then updating your development and test gems might fix the issu...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1139 25652 757
New
gagan7995
API 4 Path: /user/following/ Method: GET Description: Returns the list of all names of people whom the user follows Response [ { ...
New
rustkas
Intensively researching Erlang books and additional resources on it, I have found that the topic of using Regular Expressions is either c...
New
PragmaticBookshelf
Author Spotlight Jamis Buck @jamis This month, we have the pleasure of spotlighting author Jamis Buck, who has written Mazes for Prog...
New
PragmaticBookshelf
Author Spotlight Rebecca Skinner @RebeccaSkinner Welcome to our latest author spotlight, where we sit down with Rebecca Skinner, auth...
New
New

Sub Categories: