Closed AndreaC3p0 closed 4 years ago
Very hard to debug remotely. I suggest you look at the logs. Go to lambda, click on your SkyBox function, click Monitoring, then click "View logs in Cloudwatch". Look at the top log in cloudwatch and see if you can see any errors.
`I've some records with this error: START RequestId: 22030ca2-afe2-4685-a4d0-3cbccf9085de Version: $LATEST Unable to import module 'lambda_function': No module named lambda_function
END RequestId: 22030ca2-afe2-4685-a4d0-3cbccf9085de`
Well that's the problem. My guess is you've uploaded the wrong zip file.
Download this file https://github.com/ndg63276/alexa-sky-hd/raw/master/Alexa-Skybox.zip
Then upload that zip file to lambda.
Thanks. Now it's working! I've a trouble just with the channel names. They are not in sync
Can you give me an example?
Yes, I asked some commands in Italian language: "Alexa, cambia canale a Sky Tg24", digit wrong channel "Alexa, cambia canale a Italia1", wrong channel.
Haha! This is an English skill! It won't work for Italian channel names.
Yes I know, but the problem I think is only the channel names. The command was correctly interpreted. It's possible replace a channel list?
Yes it is possible, there are 2 ways:
This is where it finds the UK channels: http://epgservices.sky.com/5.1.1/api/2.1/region/json/4101/1/ - If you can find an Italian version, then I can put that in
If you want to make it yourself, you need to make a file like this one: https://github.com/ndg63276/alexa-sky-hd/blob/master/channels-hd.json
Ok, so I'll make myself a epg list for italian region. After, how can I use this file? I need to change your code?
If you make the epg list, I can do the coding.
Ok ndg63276! I suggest to introduce a new environment variable to check a location of epg file ;) sky-channell-ita.txt
Ok, I've added that file, and some code to use it. You need to re-download https://github.com/ndg63276/alexa-sky-hd/raw/master/Alexa-Skybox.zip, then re-upload it to lambda, then add an Environment Variable with a key of Italia and a value of 1.
@ndg63276 I checked my list and it works properly in italian! If you want i maked some changes in your code to manage dynamic Channel List. In attach you can find a new version of code, beacuse i'm not able to make a pull request in your repo ;) README.txt lambda_function.txt
Glad it works!
I read your Readme file and put on works your instruction but after successfully installed my Developer skills, I can't list the sky q box on Alexa.