•   
  • 1
  • 168
  • 169
  • 170
  • 171
  • 172(current)
Release Kanzi: Amazon Alexa skill for Kodi
(2020-01-08, 03:50)vbmds Wrote: I think I have also worked it out. To help anyone else just starting this adventure here is what the Tutorial assumes you know...The commandlexigram init-configpulls down the file kodi.config and puts in the folder your Command Prompt or Windows Powershell window is pointing to. For me by default that folder is c:\windows\system32
I changed my powershell window to point to my lexigram-cli folder using the cd command and then ran the
lexigram init-configcommand. This placed the kodi.config file between the two skill files in that folder.

so its working for you? im not following what you did
Proper Usage of a debug log
If I managed to help you in any way, please add to my reputation
Reply
Trying to get this to deploy and Im getting the error my kodi configuration settings are wrong please double check. Just not sure where to look i thought i had the settings correct obviously not. 


Proper Usage of a debug log
If I managed to help you in any way, please add to my reputation
Reply
(2020-01-11, 02:50)Hudson_Hawk04 Wrote:
(2020-01-08, 03:50)vbmds Wrote: I think I have also worked it out. To help anyone else just starting this adventure here is what the Tutorial assumes you know...The commandlexigram init-configpulls down the file kodi.config and puts in the folder your Command Prompt or Windows Powershell window is pointing to. For me by default that folder is c:\windows\system32
I changed my powershell window to point to my lexigram-cli folder using the cd command and then ran the
lexigram init-configcommand. This placed the kodi.config file between the two skill files in that folder.

so its working for you? im not following what you did  

I'll try to clarify, although I haven't gone any further due to other commitments.

Firstly, I'm using Windows 10. I used Windows Powershell rather than the Command Prompt but either option will work just as well.

When first opened, both Powershell and Command Prompt start with a default location: Powershell run as Administrator starts with the path c:\windows\system32. Run as a User it starts with the Users home folder as path c:\users\[user name]> The path used is shown before the cursor within the window eg ps c:\windows\system32> The Command Prompt window will show exactly the same thing except for the ps at the start of each line.

By default then; running either Powershell or Command Prompt  as Administrator and running the
lexigram init-config command will place the kodi.config in the system32 folder.

To change the folder the 
kodi.config file is placed; simply run the cd command run in the powershell or command prompt window eg cd c:\Program_Files\nvm\v8.11.1\node_modules\lexigram-cli (I have a folder named Program_Files for stuff I want Windows to leave alone) After the cd command is completed the cursor will be now on the end of ps c:\Program_Files\nvm\v8.11.1\node_modules\lexigram-cli> (in my case) and the kodi.config file with be put into this folder.

As to whether is the best/correct location from which to deploy, I don't know as I have yet to try it.
Reply
Can't seem to use 2 instances of Kodi as the skill always send the commands to the Kodi defined in DEFAULT,

i have set another Echo in the Override section, i can see both devices in Lambda logs but whenever i use any of those, it always send to the default... did i miss something ?

here is how my override looks like

# living room dot
[amzn1.ask.device.XXX]
address = YYY.com
port = 1997

my default is set to the same address but with port 1996. Port forwarding is good on my router.

EDIT : nevermind, i forgot to regenerate the function obviously...
Reply
(2020-01-13, 03:44)vbmds Wrote:
(2020-01-11, 02:50)Hudson_Hawk04 Wrote:
(2020-01-08, 03:50)vbmds Wrote: I think I have also worked it out. To help anyone else just starting this adventure here is what the Tutorial assumes you know...The commandlexigram init-configpulls down the file kodi.config and puts in the folder your Command Prompt or Windows Powershell window is pointing to. For me by default that folder is c:\windows\system32
I changed my powershell window to point to my lexigram-cli folder using the cd command and then ran the
lexigram init-configcommand. This placed the kodi.config file between the two skill files in that folder.

so its working for you? im not following what you did   
I'll try to clarify, although I haven't gone any further due to other commitments.

Firstly, I'm using Windows 10. I used Windows Powershell rather than the Command Prompt but either option will work just as well.

When first opened, both Powershell and Command Prompt start with a default location: Powershell run as Administrator starts with the path c:\windows\system32. Run as a User it starts with the Users home folder as path c:\users\[user name]> The path used is shown before the cursor within the window eg ps c:\windows\system32> The Command Prompt window will show exactly the same thing except for the ps at the start of each line.

By default then; running either Powershell or Command Prompt  as Administrator and running the
lexigram init-config command will place the kodi.config in the system32 folder.

To change the folder the 
kodi.config file is placed; simply run the cd command run in the powershell or command prompt window eg cd c:\Program_Files\nvm\v8.11.1\node_modules\lexigram-cli (I have a folder named Program_Files for stuff I want Windows to leave alone) After the cd command is completed the cursor will be now on the end of ps c:\Program_Files\nvm\v8.11.1\node_modules\lexigram-cli> (in my case) and the kodi.config file with be put into this folder.

As to whether is the best/correct location from which to deploy, I don't know as I have yet to try it.
 
any luck getting this skill to work?
Proper Usage of a debug log
If I managed to help you in any way, please add to my reputation
Reply
I haven't got back to it. I'll post when I do; how it goes.
Reply
I'm trying to follow the instructions at https://lexigr.am/docs/getting-started.html

but when i get to lexigram deploy kanzi

i get the following error message


  Check config file
  Validate config file
   → Configuration file is not valid. Please update it with the correct information.

I have tried adding -v to the end of the command to get verbose output but it dosesn't display any more info. I can't find any error log so I don't know what isn't valid

could anyone point me as to how to get some more info about the error so i have a chance of fixing it

I'm running lexigram on an ubuntu 18.04 64 bit virtual machine
Reply
I've been trying to get this working with self hosting, with out much success until i found this post 2411411 (post)

although its a bit out date it doesnt take much to work out what needs changed

but the thing that really stopped me was that my webserver didnt use the ciphers that amazon were using.

if helps other folk here are the ciphers alexa are using to contact my webserver

[30/Jan/2020:18:42:06 +0000] 54.240.197.12 TLSv1.2 ECDHE-RSA-AES128-SHA256 "POST /kodi-alexa/ HTTP/1.1" 238
[30/Jan/2020:18:50:48 +0000] 54.240.197.12 TLSv1.2 ECDHE-RSA-AES256-SHA384 "POST /kodi-alexa/ HTTP/1.1" 239
Reply
  •   
  • 1
  • 168
  • 169
  • 170
  • 171
  • 172(current)
 
Thread Rating:
  • 15 Vote(s) - 4.6 Average



Logout Mark Read Team Forum Stats Members Help
Kanzi: Amazon Alexa skill for Kodi4.615
This forum uses Lukasz Tkacz MyBB addons.