I'm writing a dev SmartHomeSkill, and have set up the demo home skill lambda to match.
The lambda works correctly when I test it (both discovery and usage), but when I add it to Alexa and try calling Discover, my Lambda is never called. I see no requests in the Monitoring and nothing is shown in the CloudWatch.
Settings I'm using:
- The Lambda config is arn:aws:lambda:eu-west-1:xxxxx:function:demoSmartHomeSkill, and I've also tried it with a published version (ending in ":1")
- Alexa Skills Kit and Alexa Smart Home are set on the lambda as triggers, using my Smart Home Skill's ID
- My Login is Login with Amazon, and I've added na.account.amazon.com to the allowed sites to work around the known bug, and I'm requesting profile:user_id as the scope (although I think that doesn't matter). I have successfully authenticated in the skill inside the app.
- The role for the lambda is a custom role I created, called lambda_basic_execution, which only has the CloudWatchLogsFullAccess permission. It's possible that's insufficient, but the guide only said "basic role" and didn't specify what I needed.
Does anyone have any ideas what I might have misconfigured?