rgraciano / echo-sonos

Amazon Echo integration with Sonos
Other
712 stars 233 forks source link

Test Working. Echo Dot not. #77

Open EddWills95 opened 8 years ago

EddWills95 commented 8 years ago

I can use both the Lambda and Alexa Skills page to test the echo sonos.

For example I'll write

Ask Sonos .. "to play magic in the playroom" (Radio preset I've set up in the node server)

into the Service Simulator on alexa developer page, and it works fine after a few seconds.

Or using the sample JSON in the Lambda test and just changing the preset name works fine.

If I say exactly the same thing to the amazon echo it doesn't work and I get the "I'm not quite sure how to help you with that." So it appears that my echo dot doesn't want to connect to the skill.

Any help would be great.

gijoecool commented 8 years ago

Is your skill name capitalized? I had a similar problem and it was because the skill Sonos was not capitalized.

EddWills95 commented 8 years ago

The Skill is "Sonos" with a capital 'S' if that's what you mean. Thanks for the response though :)

eyoung71 commented 8 years ago

You might open your app on your phone or device and see what it says when that command is issued.

rgraciano commented 8 years ago

@EddWills95, any luck?

EddWills95 commented 8 years ago

not really. Still working in the testing stages. But my alexa dot, doesn't want to budge.

@eyoung71 checking in the app it seems to be getting the right command:

ask sonos to play magic in the kitchen

for whatever reason the echo isn't even trying to connect to the skill ?

jeffBonBass commented 8 years ago

Hi - two things that gave me similar problems - first, I had to make sure the dot is attached to the same Amazon profile as the developer account; and second, I had a VPN active that prevented my dynamic dns setup from reaching my node server.

jonyow commented 7 years ago

Hi,

I've had the same issue:

I'm based in the UK, if that makes any difference.

Any one experience something similar and found a solution?

Thanks!

alasdairnicol commented 7 years ago

I'm in the UK and have the same problem as @jonyow describes. I got it to work by creating a new skill with English (U.K.) as the language. Using English (U.K.) has its own problems, but #85 worked for me.

Perhaps adding an additional language to the original skill would work, I have not tested this approach, and it's time for bed now! If you do create a new skill, remember to update the appid in your options.js, create a new zip and re-upload to lambda.

EddWills95 commented 7 years ago

I'll give that a go in the next week or so. I remember having the Amazon literal problem and probably just went with the US language.

Seems to just be a strange issue for the UK.

Thanks for all the responses.

jonyow commented 7 years ago

@alasdairnicol Thanks for the reply, that did the trick perfectly!

And yes, I also had to use #85 to replace all the amazon.literals with a custom slot type, as English (U.K.) doesn't support amazon.literals.

jonyow commented 7 years ago

And thanks to @rgraciano for your awesome code and tutorial that made this possible. Now I don't have to anxiously wait until Sonos/Amazon release the official version :)

EddWills95 commented 7 years ago

I'm still trying to get this to work. The Echo Dot doesn't do anything. I've recreated everything following the instructions from the original git and pull request from #85 I'm now having problems with the Node package. Getting an error:

TypeError: Cannot read property 'roomName' of undefined

May have made a fool of myself with something simple that i've missed.

huzz456 commented 7 years ago

Hi I'm getting a similar issue to the original one here where by all tests work fine but the dot will just reply with "something went wrong try again later" I'm in the U.K. and have changed the language to English U.K. as suggested. I'm assuming I don't need to change anything with literals as it appears #85 has been merged now hasn't it? Any other suggestions please?

Zmav commented 7 years ago

Did you get this working, I've just set this up in UK on an echo dot, and almost everything is working perfectly so if i can help ill try

EddWills95 commented 7 years ago

I haven't tried in a while. Been very busy of late. will get back to you when I get some time. Thanks all for the replies.

@Zmav is there a way I can get a hold of you as and when? Not sure if GitHub has a messaging facility.

DirtySurti commented 7 years ago

Ah one to try then. All works except with my dot. I am in UK and language is as English US. Will change that and see if works

DirtySurti commented 7 years ago

it worked !!!

alokat7r commented 6 years ago

I have solved the problem by selecting the same region my aws account is for lambda & alexa skill app