After a day of lost time attempting to get this to work, dispite several tutorials used, i am unable to make the Smarthome commands reach my lambda function which is working fine on tests. There isn't even a log on cloudwatch!
If i request a simple discovery it goes straight to what i assume to be default start discovery and not my lambda function...
The 'only' thing i am finding weird and possible cause for problem is this.:
Whenever i try to disable/re-enable the trigger, it will report event source mapping for Null or blank.
This will disable the event source mapping for null and disable the resource policy granting invoke permissions to Amazon Alexa for function SmartHomeA. The event may be re-enabled through the Lambda console.
I've swapped from EU-> US and back to EU, fresh skill with fresh lambda functions.... Is there any mechanic to assert status of the the link between lambda and Smarthome skill? Looking at this forum, brings me an unconfortable feeling of the existance of a huge bridge between Skill Developers and Core Developers...