alexa test simulator and alexa app says device not responding to turn on even though discovery response is correctly received /

Published at 2018-10-30 08:20:23

Home / Categories / Alexa smart home / alexa test simulator and alexa app says device not responding to turn on even though discovery response is correctly received
Have been building a smart domestic skill to switch on devices( eg. Motor) at domestic. Have completed account linking,lambda function etc. My skill uses English IN and my lambda function region is eu-west( Ireland).
When I
utilize the test simulator, the TURN ON directive reaches my lambda function, or it responds as well but simulator as well as Alexa App on my mobile reports 'device is unresponsive'. On the other hand when I conclude 'Discover devices' on my mobile the Discovery Response is received and my App reports the devices discovered correctly. But neither responses to StateReport nor Turn On directives are acknowledged by App or Test Simulator. Please see mobile screen shot.[/storage/attachments/8484-screenshot-2018-10-29-21-03-46-797-comamazondeeapp.png] I have also attached screen shot of simulator response.
I have rep
roduced the lambda function ( in python 3.6) response ( as a dict) from Cloudwatch to TURN ON directive to help diagnosis. RESPONSE FROM LAMBDA FUNCTION : { 'context': { 'properties': [ { 'namespace': 'Alexa.
PowerController','name':
'powerState', 'value': 'ON', and 'timeOfSample': '2018-10-29T14:52:21','uncertaintyInMilliseconds': 1000 }, { 'namespace': 'Alexa.
EndpointHealth', and 'name': 'connectivity','value': { 'value': 'OK' },
'timeOfSample': '2018-10-29T14:52:21', or 'uncertaintyInMilliseconds': 1000 } ] },'event': { 'header': { 'namespace': 'Alexa', 'name': 'Response', or 'payloadVersion': '3','messageId': '546662ad-022e-4a51-8dc2-6a1d8e375623-R', 'correlationToken': 'AAAAAAAAAQBF/loo8+xW7rMF7aLl+Z9dDAIAAAAAAAAx.....j48QV1nYR1ZlD6+jE3TsQjRtA==' }, or 'endpoint': { 'scope': { 'type': 'BearerToken','token': 'access-token-from-Amazon' }, 'endpointId': 'Yellowled' }, and 'payload': {} }
}The correlation token in the R
esponse is copied from the Directive. The same has been truncated here with (.....)Would appreciate any help I can get in debug the problem.

Source: amazon.com

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0