Kodi Community Forum
Release Kanzi: Amazon Alexa skill for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Release Kanzi: Amazon Alexa skill for Kodi (/showthread.php?tid=254502)



RE: Amazon Echo skill for Kodi - nicoosterc - 2018-05-02

Hey @m0ngr31 thanks for this awesome feature.

I followed all the installation steps and got to deploy the skill without any errors, but when I say, fo example, 'Alexa ask kodi to play random movie' I get "I couldn't find a skill called kodi".

Any idea what I may be doing wrong?

Thanks in advance.


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-02

Make sure you're using the same account that you logged into to deploy with (sometimes my wife switches profiles to listen to her music), and that you selected Kodi instead of kanzi as the invocation name.


RE: Amazon Echo skill for Kodi - nicoosterc - 2018-05-02

Already checked both, it all appears to be in order.


RE: Amazon Echo skill for Kodi - nicoosterc - 2018-05-02

Ups, I didn't realize I had to enable the skill once I had it all set up. Now I enabled it but when I give a command to it the answer I get is

"There is a problem with the requested skills response"

Any help?


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-02

How are you hosting it? Heroku, Lambda, ...? We'll need to look at the logs to see what's going on.


RE: Amazon Echo skill for Kodi - nicoosterc - 2018-05-02

I'm hosting ir through lambda.

How can I get the logs?


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-02

https://console.aws.amazon.com/cloudwatch


RE: Amazon Echo skill for Kodi - nicoosterc - 2018-05-02

Thank you. I already have it, is there a way I can send it to you? I can't PM you.


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-02

I sent you an email


RE: Amazon Echo skill for Kodi - intrepid85 - 2018-05-02

Hi,

Could do with some help if possible.

I have tried setting up kanzi using the lambda method but I get this error when trying to deploy:

"Deploy skill - Error deploying. Please try again"

Have tried both kanzi and kodi deployments and tried starting from scratch but getting the same error each time.

Here's the log extract:
Quote:::: 2018-05-02 17:46:34 :::
Error: Command failed: C:\Users\Benjamin\AppData\Roaming\nvm\v8.11.1\node_modules\lexigram-cli\dist/../node_modules/.bin/ask deploy -t model
Call update-model error.
Error code: 404
{
  "message": "Resource not found."
}

  |  model status checking...  /  model status checking...  -  model status checking...  \  model status checking...  |  model status checking...  /  model status checking...  -  model status checking...  \  model status checking...  |  model status checking...  /  model status checking...  -  model status checking...  \  model status checking...  |  model status checking...
Any help would be appreciated.

Thanks again in advance.


RE: Amazon Echo skill for Kodi - a2ron - 2018-05-02

In my case it was about the skill.json format version, I got from https://forums.developer.amazon.com/questions/94659/ask-cli-wont-deploy.html.
"sourceDir" instead of "uri"

"endpoint": {
   "sourceDir": "lambda/custom" (or the true relative path for your lambda folder)


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-02

Do you see the skill in your Alexa console? https://developer.amazon.com/alexa/console/ask


RE: Amazon Echo skill for Kodi - a2ron - 2018-05-03

Yes


RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-05-03

Yeah, it looked like it finished with that part, just got stuck on uploading the model. I'm not sure what the issue is, but there is a way to figure it out.

Go to your Skill page in Amazon, and browse to the JSON editor:
Image

Then copy everything from the kanzi/models/en-US.json file into there and hit save. That should tell us what's going on.


RE: Amazon Echo skill for Kodi - mysteron09 - 2018-05-03

Just a shout-out for m0ngr31 - finally got around to testing the PseudoTV Live add-on with the skill and it works brilliantly. Regular select and up/down navigation commands control both EPG and just plain old channel surfing. Thanks again!