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.

Popular Prag Prog topics Top

johnp
Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’. In particula...
New
mikecargal
Title: Hands-On Rust (Chap 8 (Adding a Heads Up Display) It looks like ​.with_simple_console_no_bg​(SCREEN_WIDTH*2, SCREEN_HEIGHT*2...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
raul
Hi Travis! Thank you for the cool book! :slight_smile: I made a list of issues and thought I could post them chapter by chapter. I’m rev...
New
herminiotorres
Hi! I know not the intentions behind this narrative when called, on page XI: mount() |> handle_event() |> render() but the correc...
New
jskubick
I think I might have found a problem involving SwitchCompat, thumbTint, and trackTint. As entered, the SwitchCompat changes color to hol...
New
brunogirin
When trying to run tox in parallel as explained on page 151, I got the following error: tox: error: argument -p/–parallel: expected one...
New
hazardco
On page 78 the following code appears: <%= link_to ‘Destroy’, product, class: ‘hover:underline’, method: :delete, data: { confirm...
New
mert
AWDWR 7, page 152, page 153: Hello everyone, I’m a little bit lost on the hotwire part. I didn’t fully understand it. On page 152 @rub...
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New

Other popular topics Top

Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
New
AstonJ
Just done a fresh install of macOS Big Sur and on installing Erlang I am getting: asdf install erlang 23.1.2 Configure failed. checking ...
New
AstonJ
Inspired by this post from @Carter, which languages, frameworks or other tech or tools do you think is killing it right now? :upside_down...
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
PragmaticBookshelf
“A Mystical Experience” Hero’s Journey with Paolo Perrotta @nusco Ever wonder how authoring books compares to writing articles?...
New
PragmaticBookshelf
Author Spotlight James Stanier @jstanier James Stanier, author of Effective Remote Work , discusses how to rethink the office as we e...
New
PragmaticBookshelf
Build efficient applications that exploit the unique benefits of a pure functional language, learning from an engineer who uses Haskell t...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New

Latest in PragProg

View all threads ❯