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 - jingai - 2017-01-29

(2017-01-28, 15:01)digiltd Wrote: Running the skill on a web server locally will still require the phrase to go out to Amazon and back again. This type of custom skill is not like the "smart home" skill that habridge uses. Only smart home skills are kept local, and they only allow on/off/percentage commands.

The smart home commands go out to Amazon too for matching, the only difference is that after the match, the first response visible to us is sent to the Echo instead of a skill. Since all of the processing is done completely in 'the cloud,' you can't get away from that.

I would suspect that smart home devices are just implemented as a type of automatically generated skill that's rebuilt whenever you do Discover Devices. At least, that's how I'd do it since the foundation is already there for it.


RE: Amazon Echo skill for Kodi - katsiris - 2017-02-01

Also posted on Github, apologies if this causes any inconvenience. I wasn't sure where was the best place to post. I'm new to this/trying to get it going and also having the "playing videos is not supported on this device" response when using the correct syntax outlined above. On the lambda console, I get the following:

START RequestId: bd2b1e79-e831-11e6-b516-ad1ede9dd614 Version: $LATEST
Handler 'lambda_handler' missing on module 'wsgi': 'module' object has no attribute 'lambda_handler'
END RequestId: bd2b1e79-e831-11e6-b516-ad1ede9dd614

And when I ask to play music "Tell Kodi to play the album Teenager of the Year", it plays me a sample of what I ask for on the Echo from Amazon Music instead of the Kodi. I also get "there was a problem with the selected skill's response" message if I ask what flim is currently playing, for example.

In the Alexa app, the error I see is: Skill response was marked as failure; Kodi; Request identifier amzn1.echo.api....
The target lambda application returned a failure response.

I did not do the 'docker' section in the walkthrough, so maybe it's related? The last python script I ran was deploy-to-lambda.py. Not sure if there's another script required to be running/executing?

Sorry, lots of questions. I'm attacking from many different angles but lost at the moment.


RE: Amazon Echo skill for Kodi - katsiris - 2017-02-01

Further question in reviewing install guide for anything I may have overlooked - is Python 2.7 required or can a later version (3.x) be used?


RE: Amazon Echo skill for Kodi - MerlinJunior - 2017-02-01

Is there any progress update on the German Translation? I have just set up the English version on my German Echo and it sounds rather funny. I am happy to help, have already found the responses in wsgi and will start on the translation.


RE: Amazon Echo skill for Kodi - jingai - 2017-02-01

@katsiris, Python 2.7 is a requirement by Amazon for lambda-deploy.

@MerlinJunior, German translation is coming soon Smile


RE: Amazon Echo skill for Kodi - katsiris - 2017-02-01

Thanks, Jingai. So if I uninstall Python 3 and install 2.7, do I then have to go through the entire procedure with pip/lambda deploy/etc again? Hopefully that solves all the other little problems I seem to be having!


RE: Amazon Echo skill for Kodi - jingai - 2017-02-02

I would suggest reinstalling, yes, though I'm not positive.


RE: Amazon Echo skill for Kodi - dazz87 - 2017-02-02

Custom Slots is a nightmare!!!!!! I am trying to fix a title for a tv show and Amazon keeps on tell me: "Error: There was a problem with your request: Unknown slot type 'VIDEOPLAYLISTS' for slot 'VideoPlaylist'

but the issue is I dont even have a VIDEOPLAYLIST in any of my slots. I am just trying to edit a tv show name and cant save it cause it keeps on telling to correct this issue...How could I correct it if there slot is not even there.........? Is there anyway to bypass this and save my edit?

Nevermind. Went out of the site and came back in and the error for VIDEOPLAYLIST is gone...Weird.


RE: Amazon Echo skill for Kodi - jingai - 2017-02-02

You need to add all slots listed in the README even if you don't use them.


Amazon Echo skill for Kodi - rmohsen - 2017-02-02

Just finished my second skill. Now I have both livingroom and bedroom kodi working perfectly. Thanks to Jingai for his work , if you ever visit Egypt let me know. I'll buy you a beer Big Grin


Sent from my iPad


RE: Amazon Echo skill for Kodi - nsviper - 2017-02-03

Hey Jingai, how's the next release and streaming coming along ? Smile


RE: Amazon Echo skill for Kodi - popy - 2017-02-03

(2017-02-01, 18:18)MerlinJunior Wrote: Is there any progress update on the German Translation? I have just set up the English version on my German Echo and it sounds rather funny. I am happy to help, have already found the responses in wsgi and will start on the translation.

(2017-02-01, 21:00)jingai Wrote: @katsiris, Python 2.7 is a requirement by Amazon for lambda-deploy.

@MerlinJunior, German translation is coming soon Smile

Hey guys, any news on german translation?

Have now 2x Alexas and two HTPCs running kodi which want to get in touch with Alexa Big GrinRofl

PS: i can help translate if not done already.

thx
pOpY


RE: Amazon Echo skill for Kodi - bill_orange - 2017-02-05

I just got the Kodi skill running on Alex. This was obviously a lot of work. Thanks.

I do have one question. It does look like this project is still being updated and upgraded. Good. Should there be an update how to I update the skill?

Rerun:

pip install lambda-deploy

python deploy-to-lambda.py

Replace:

alexa.intents

akexa.utterances

??

As a Newbe it is very confusing.

Bill - AB6OR


Amazon Echo skill for Kodi - digiltd - 2017-02-05

Well done for getting it working, have a search on this thread for the word "update" to find the answer to your question Smile


RE: Amazon Echo skill for Kodi | German translation - Joergi - 2017-02-05

Dear all, dear m0ngr31, I am Jörg from Hamburg and am also highly interested in the German version of this great skill. From having done a search on this thread I can see that there are at least the following users who are also interested in the German translation:
I have subscribed to this thread now and am also offering help in case it's needed for the translation!

All the best!


This forum uses Lukasz Tkacz MyBB addons.