bklavet / Echo-skill-to-control-Directv

amazon echo skill that will control a networked Directv Receiver so that users can control Directv with their voice
18 stars 67 forks source link

Skill not working #17

Closed Falconeddy closed 7 years ago

Falconeddy commented 7 years ago

Hi,

I am able to control the directv box from both my local ip and my wan ip. When I test from the Alexa developer portal, I get the endpoint error. When I test from Lamba, I get an error that it can't load a var/use/index file. I have set it up 3 times but still can't get it to work. Can you help ?

bklavet commented 7 years ago

sounds like the trouble is with the zip file you uploaded to aws lambda. the zip file should contain the Alexa skill file and the updated Index file that can be found in the Custom Slot Skill folder. the Index file will need to me modified on line 8 with your wan IP, and line 17 with the app id that you get from the alexa developer site.

Falconeddy commented 7 years ago

Thanks !

I will check it. I thought I had it right ! Thanks for your help !

Cool app !

Thank you,

Falconeddy commented 7 years ago

I have attached the zip file. Still can't figure out what I am doing wrong.

Thanks for your help

Tom

vmweaver commented 7 years ago

Tom, Did you configure the Lambda Endpoint with its ARN in the AWS Developer site for your skill?

So APP ID goes in index file, and ARN for Lambda goes on developer site config for the app.

-- Mark

On Tue, Dec 6, 2016 at 8:40 PM, Falconeddy notifications@github.com wrote:

I have attached the zip file. Still can't figure out what I am doing wrong.

Thanks for your help

Tom

Directvskill.zip https://github.com/bklavet/Echo-skill-to-control-Directv/files/635541/Directvskill.zip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bklavet/Echo-skill-to-control-Directv/issues/17#issuecomment-265339174, or mute the thread https://github.com/notifications/unsubscribe-auth/ACibPQ2x7OXOYHkUTYO1Dp2qeZOxWi4Mks5rFhyfgaJpZM4LDwEP .

Falconeddy commented 7 years ago

Yes, I did. Does the zip file look ok to you ?

Thanks Mark

bklavet commented 7 years ago

Tom, Sent you an email, I checked the zip file and it looks correct to me, but I am going to remove it from this thread so people can't start messing with it.

bklavet commented 7 years ago

If you want, I can throw the zip into a lambda function and see if I can get it to work. then we can hash out what's up with the skill. What do you think?

vmweaver commented 7 years ago

Looks okay. You should be careful when you go to test in the Lambda console since it just throws default info into the "Test Event" and will not work unless you set it up.

What does your "Test Event" configuration look like in Lambda?

You may be able to get more info looking at the Monitoring tab on the Lambda service. This should give you an option to open in "View Log in Cloud Watch". Any more verbose info here?

On Tue, Dec 6, 2016 at 9:20 PM, Falconeddy notifications@github.com wrote:

Yes, I did. Does the zip file look ok to you ?

Thanks Mark

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bklavet/Echo-skill-to-control-Directv/issues/17#issuecomment-265344744, or mute the thread https://github.com/notifications/unsubscribe-auth/ACibPQ8gdlzJ858FzL1uPDpTW7GrD6lWks5rFiYGgaJpZM4LDwEP .

Falconeddy commented 7 years ago

Did you test it ? My receiver did go to CNN. Everything looks like it is right.

bklavet commented 7 years ago

yea, I built a test skill and used your wanip. So the skill will work, we just have to figure out what is wrong with your setup. when you type in "cnn" on the alexa developer test site... what is the response in the box below?

Falconeddy commented 7 years ago

I still get the remote endpoint error. Maybe my setup with Amazon is blocking something? It worked for your test.

bklavet commented 7 years ago

There is a lot of stuff you have right.
We know the port is forwarded, and the directv receiver is doing what its supposed to, I can make your zip file work. send me an email and lets get this sorted out.

bklavet commented 7 years ago

Falconeddy rebuilt your aws lambda function and linked to your skill. passed the tests and should be working