rgraciano / echo-sonos

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

help - newbie #113

Closed DirtySurti closed 7 years ago

DirtySurti commented 7 years ago

Hi - I have created the skill and also got so far down the road with AWS Lambada setup. When I test it I get error: { "errorMessage": "Handler 'handler' missing on module 'index'" }

also I cant see where I am supposed to upload the src.zip file to

pheintzelman commented 7 years ago

image

Make sure you change the dropdown.

I can't quite tell from your question if you understand the skill and the lambda function are two different things. You need to create a new lambda function which you will link to your skill.

DirtySurti commented 7 years ago

brill - making progress - now I get invalid application id testing in lambada however I have double checked and its correct ???

pheintzelman commented 7 years ago

Is your skill and lambda in the same region? Alexa skills are only available for certain regions make sure your lambda function is also in that region.

DirtySurti commented 7 years ago

I can set location as Ireland in Lambada where do I set it on the Amazon Skill ?

thosirl commented 7 years ago

Under Configuration, you will see Endpoint, this should be AWS Lambda, and then pick Europe as the Geographical region, and then put in here the ARN of your Lambda function.

pheintzelman commented 7 years ago

For all amazon services the region is in the upper right of the screen. It is in the same place for the skill and the lambda function. These need to be the same. If they are not change the lambda function to the region of the skill.

DirtySurti commented 7 years ago

doh my bad - i assumed the test script would pick up the appid from config. tests ok from lambada ok now

DirtySurti commented 7 years ago

node-sonos-http-api is accessible externally ok lambada tests ok too however Alexa Dot cant seem to find the skill still

DirtySurti commented 7 years ago

i can hit my node-sonons externally and play music etc just dont seem to work with Alexa still

DirtySurti commented 7 years ago

I am also tryin to setup the TTS - I assume I need to edit the settings file however I have installed the node-sonos-http via a docker image. I have managed to SSH to my Synology and goto volume1/docker location but see no files or folders in there.

pheintzelman commented 7 years ago

Are all the aws services on the same account as the dot? Also make sure you put the skill into test or it will not be available.

DirtySurti commented 7 years ago

Hi. Firstly thank you all for your help, time and patience. It's much appreciated.

Yes all using the same login account details. What do you mean put the skill into test sorry ??

DirtySurti commented 7 years ago

node-sonos-http-api is accessible externally ok

i can stop start via alexa skill my sonos too using the service simulator - which invokes the lambada I assume to call node-sonos-http-api

so cant see why it wont work via the echo dot to the alexa skill (says cant find skill)

DirtySurti commented 7 years ago

ok looks like i need to I need to submit for certification ? button is disabled as publishing information ios not green ticked - all others are - are the icons mandatory I assume ?

DirtySurti commented 7 years ago

just to update - i now have it working with the Echo issues was I am from the UK so had to change the language of skill to English uk and that solved it (also had to amend the intent schema accordingly for UK)