![]() |
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) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
RE: Amazon Echo skill for Kodi - refael65 - 2017-01-18 hi need help thats what i get when trying to deploy the code to aws C:\Users\Rafi\Desktop\kodi-alexa-master>C:\Users\Rafi\Desktop\kodi-alexa-master>botocore.exceptions.ClientError: An error occurred (InvalidSignatureException) when calling the ListFunctions operation: Signature expired: 20170118T052829Z is now earlier than 20170118T072225Z (20170118T072725Z - 5 min.) 'C:\Users\Rafi\Desktop\kodi-alexa-master' is not recognized as an internal or external command, operable program or batch file. C:\Users\Rafi\Desktop\kodi-alexa-master>'botocore.exceptions.ClientError:' is not recognized as an internal or external command, The filename, directory name, or volume label syntax is incorrect. can any1 help? thenks refael RE: Amazon Echo skill for Kodi - nsviper - 2017-01-18 @refael65 based on previous posts, this error is because your PC time is too far out of step (looking at your error message, 5 minutes out), please check PC time against an Internet clock or NTP source and retry. RE: Amazon Echo skill for Kodi - Hoebot - 2017-01-19 Hi there, I'm from Germany and followed all the instructions to deploy and enable the skill for eu-west. Everything up to the testing has been fine so far. My Kodi is reachable from the outside via a DynDNS service (tested via webinterface and Kodi slot generator). However, when I test the skill (e.g. with the utterance "are there any new movies"), it creates the correct Service Request (WhatNewMovies), but for the Service Response I get the following error message: The remote endpoint could not be called, or the response it returned was invalid. I am using OSMC on a Raspberry Pi 2. Could this have something to do with this? I used Python on my Windows computer to deploy to AWS Lamda. I do not need to install Python on my Raspberry, correct? EDIT 2: Problem seems to be solved. I used http:// in the KODI_ADDRESS in the .env. file. That had the address go to http://http:/... RE: Amazon Echo skill for Kodi - joeygecho - 2017-01-19 Everything works however when I add new stuff to my library I have to go back to the slot generator for it to work any ideas? or else it says doe snot exist RE: Amazon Echo skill for Kodi - jingai - 2017-01-19 (2017-01-19, 16:58)joeygecho Wrote: Everything works however when I add new stuff to my library I have to go back to the slot generator for it to work any ideas? or else it says doe snot exist If you have too few items in a slot, it won't be converted to a "generic" slot. Amazon won't tell us what the exact number is, but people suggest it's around 200. RE: Amazon Echo skill for Kodi - mrwolf11245 - 2017-01-19 Start to finish tutorial for this guide ![]() https://youtu.be/_KSlz_lT1k4 RE: Amazon Echo skill for Kodi - Foggy - 2017-01-19 Thank you mrwolf. Have not tried it yet. Week end project I think. Best wishes. Update. Worked for me. RE: Amazon Echo skill for Kodi - hookman - 2017-01-22 This is a great Alexa skill! I followed the video above from mrwolf11245 and it all worked first time, great job on the video too ![]() I have one question though... my PC with kodi on has VPN software from hide.me running on it. When I'm connected the kodi skill can't find kodi on my PC anymore. Does anyone know how I could set up port forwarding from my router to my PC that has a VPN connected? As soon as I disconnect the VPN it all works fine. RE: Amazon Echo skill for Kodi - Haizum74 - 2017-01-22 Ok, I've been on this for the past 4 hours and still not able to get past the section where I have to type 'python deploy-to-lambda.py'. As I am a newbie to python I have been using these two commands instead 'C:\Python27\Scripts\pip.exe install lambda-deploy' - this runs ok and 'C:\Python27\Scripts\lambda-deploy.exe deploy' which starts off ok but then I get the 'botocore.exceptions.NoRegionError, everytime. My .env is showing as an ENV file and all is input correctly as per instructions, so I am definitely missing something. I am running out of patience here and going bald due to the pulling out of my hair. Can anyone help? EDIT - School boy error, I was editing the .env file NOT the env.lambda. Least I think this was the issue, just running through it again EDIT 2 - Yep, it was me being thick. Typical, I post for help and then 30 minutes later solve it after 4 hours RE: Amazon Echo skill for Kodi - sblackst - 2017-01-23 Thanks for this skill. It looks really comprehensive!! Unfortunately, I'm having a hard time configuring it with the dreaded: "The remote endpoint could not be called, or the response it returned was invalid." message with a basic command like "ask kodi to pause". I've tried a ton of troubleshooting, but I just can't figure it out, so any help would be immensely appreciated ![]() This is set up as Alexa->Lambda->Kodi and I've followed the instructions as far as I can tell, deployment to Lambda succeeds without errors, and I've tested that I can cURL the JSON-RPC endpoint from the Internet successfully, getting JSON back that I can indeed validate: Code: curl --data-binary '{"jsonrpc":"2.0", "method":"VideoLibrary.GetMovies", "id":1}' -H 'content-type: application/json;' -u <username>:<password> http://<hostname>:<port>/jsonrpc More details below: On the Alexa skill side, I've made sure: - intents, slot types, and utterances are fully populated with the slotgenerator - Lambda arn populated for North America (us-east-1) - the CloudWatch logs are: Code: /var/task/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning On the Lambda side, which is probably where the problem is, I've: - used lambda-deploy on python 2.7 on Ubuntu to deploy - The env file looks like this: Code: KODI_ADDRESS = <hostname> RE: Amazon Echo skill for Kodi - viperv1 - 2017-01-23 Having a little issue with creating the alexa skill in the developer portal. Rest of the setup went through easy enough. When I input the Intent Schema, Slot Types, and Sample Utterances nothing happens when I click save. I just get the "Please wait while the alexa skill is updated with a pinwheel. I've tried at least ten times and with the same result. So close!! What am I missing? I also was not able to use the slot generator to pull my current lists. Not sure why. I typed them manually in the alexa app though. But because it won't save I can't add any additional slot types Thanks! RE: Amazon Echo skill for Kodi - jingai - 2017-01-24 (2017-01-23, 01:17)sblackst Wrote: Unfortunately, I'm having a hard time configuring it with the dreaded: "The remote endpoint could not be called, or the response it returned was invalid." message with a basic command like "ask kodi to pause". I've tried a ton of troubleshooting, but I just can't figure it out, so any help would be immensely appreciated My first thought would be to check that you're using the external address and port for Kodi. Remember, the request is coming from Amazon, so you'll need a port forwarded on your router and either a static IP or use a service like No-IP, dyndns, etc. RE: Amazon Echo skill for Kodi - jingai - 2017-01-24 (2017-01-23, 19:37)viperv1 Wrote: Having a little issue with creating the alexa skill in the developer portal. Rest of the setup went through easy enough. When I input the Intent Schema, Slot Types, and Sample Utterances nothing happens when I click save. I just get the "Please wait while the alexa skill is updated with a pinwheel. I've tried at least ten times and with the same result. So close!! What am I missing? First things first: if the slot generator won't work, it's unlikely the skill will. They both communicate with Kodi in the same fashion. You should diagnose the problem with the slot generator. First thing to check is that your external address and port are accessible from the outside world. If you don't have a static IP address, you will need to use a dynamic DNS. Also, you will need to forward the port on your router to whatever port on the inside machine you used for Kodi's JSON RPC interface. RE: Amazon Echo skill for Kodi - sblackst - 2017-01-24 (2017-01-24, 14:54)jingai Wrote:(2017-01-23, 01:17)sblackst Wrote: Unfortunately, I'm having a hard time configuring it with the dreaded: "The remote endpoint could not be called, or the response it returned was invalid." message with a basic command like "ask kodi to pause". I've tried a ton of troubleshooting, but I just can't figure it out, so any help would be immensely appreciated Yup, I'm using the external name (it's a dyndns name) and port, and have checked it's open from the Internet. That was my first thought incidentally, though I wouldn't expect to see a JSON decoding error but rather an error from the requests library if a 200 wasn't received. Thanks @jingai, I'll keep looking and post any findings. RE: Amazon Echo skill for Kodi - djcyph - 2017-01-26 this looks awesome, can't wait to set it up! so many questions about your kodi setup though. how does your kodi run so fast and smooth?!? do you have a pc hooked up to the TV? or is it fire tv/stick? what build of kodi are you using? are these shows stored locally or are you using add-ons like exodus? how does it bypass selecting links with voice if so? thanks! |