question on Alexa kitchen preset

Dear Anand,

 

Thank you for your kindly help ! Sorry for the delay. Please check the information bellows:

 

  1. Skill ID: amzn1.ask.skill.730ad893-211e-48fd-aaa7-5f2a730163a0

=======================

 

  1. Account Linking details (Username & Password)

ArraHome App:

  User Account: zhishang_yang@163.com

  PassWord:     W5201314w

=======================

 

3.1 Discovery Response

 

Discovery Response Endpoints

[

    {

        "endpointId":"4",

        "friendlyName":"Oven",

        "description":"Arra Home kitchen appliancehelp you cook faster, easier, and more enjoyable.",

        "manufacturerName":"Shenzhen Smart City Technology Co., Ltd",

        "displayCategories":[

            "MICROWAVE"

        ],

        "cookie":{

            "key1":"key/value pairs to reference this endpoint.",

            "key2":"There can be multiple entries",

            "key3":"use for reference purposes.",

            "key4":"Do not use to maintain current endpoint state."

        },

        "capabilities":[

            {

                "type":"AlexaInterface",

                "interface":"Alexa",

                "version":"3"

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.Cooking",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"cookingMode"

                        },

                        {

                            "name":"cookStartTime"

                        },

                        {

                            "name":"cookCompletionTime"

                        },

                        {

                            "name":"isCookCompletionTimeEstimated"

                        },

                        {

                            "name":"foodItem"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportedCookingModes":[

                        "DEFROST",

                        "OFF",

                        "REHEAT"

                    ],

                    "supportsRemoteStart":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.Cooking.TimeController",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"requestedCookTime"

                        },

                        {

                            "name":"cookingPowerLevel"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportsRemoteStart":true,

                    "enumeratedPowerLevels":[

                        "LOW",

                        "MEDIUM",

                        "HIGH"

                    ],

                    "integralPowerLevels":[

 

                    ],

                    "supportedCookingModes":[

                        "TIMECOOK",

                        "DEFROST",

                        "REHEAT"

                    ]

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.Cooking.PresetController",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"popcorn"

                        },

                        {

                            "name":"chocolate chip"

                        },

                        {

                            "name":"pizza"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "presetCatalogId":"ArraHomeTest-oven-Aoven001-preset-catalog",

                    "supportedCookingModes":[

                        "DEFROST",

                        "REHEAT"

                    ],

                    "supportsRemoteStart":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.TimeHoldController",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"Hold"

                        },

                        {

                            "name":"Resume"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportedCookingModes":[

 

                    ],

                    "supportsRemoteStart":true,

                    "allowRemoteResume":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.EndpointHealth",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"connectivity"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                }

            }

        ]

    },

    {

        "endpointId":"2",

        "friendlyName":"Standmixer",

        "description":"Arra Home kitchen appliancehelp you cook faster, easier, and more enjoyable.",

        "manufacturerName":"Shenzhen Smart City Technology Co., Ltd",

        "displayCategories":[

            "MICROWAVE"

        ],

        "cookie":{

            "key1":"key/value pairs to reference this endpoint.",

            "key2":"There can be multiple entries",

            "key3":"use for reference purposes.",

            "key4":"Do not use to maintain current endpoint state."

        },

        "capabilities":[

            {

                "type":"AlexaInterface",

                "interface":"Alexa",

                "version":"3"

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.Cooking",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"cookingMode"

                        },

                        {

                            "name":"cookStartTime"

                        },

                        {

                            "name":"cookCompletionTime"

                        },

                        {

                            "name":"isCookCompletionTimeEstimated"

                        },

                        {

                            "name":"foodItem"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportedCookingModes":[

                        "OFF",

                        "TIMECOOK"

                    ],

                    "supportsRemoteStart":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.Cooking.TimeController",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"requestedCookTime"

                        },

                        {

                            "name":"cookingPowerLevel"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportedCookingModes":[

                        "TIMECOOK",

                        "PRESET"

                    ],

                    "enumeratedPowerLevels":[

                        "LOW",

                        "MEDIUM",

                        "HIGH"

                    ],

                    "integralPowerLevels":[

                        1,

                        2,

                        3,

                        4,

                        5,

                        6

                    ],

                    "supportsRemoteStart":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.TimeHoldController",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"Hold"

                        },

                        {

                            "name":"Resume"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                },

                "configuration":{

                    "supportedCookingModes":[

 

                    ],

                    "supportsRemoteStart":true

                }

            },

            {

                "type":"AlexaInterface",

                "interface":"Alexa.EndpointHealth",

                "version":"3",

                "properties":{

                    "supported":[

                        {

                            "name":"connectivity"

                        }

                    ],

                    "proactivelyReported":true,

                    "retrievable":true

                }

            }

        ]

    }

]

 

--------------------------------------------------------------

3.2 CookByPreset (Request & Response directive).

Utterance:  Alexa,cook bread in my oven

 

Request :

{

    "directive": {

        "header": {

            "namespace": "Alexa.Cooking.TimeController",

            "name": "CookByTime",

            "payloadVersion": "3",

            "messageId": "788f2217-e133-4faf-b478-d48000438650",

            "correlationToken": "AAAAAAAAAAAY+b13aGBy5Ms/hr17bq+SDAIAAAAAAACGytJ42AL+Sy2Wl4rnYIoqVlW9m+1F8NPbj8k0nKpgTUrDfJdU9IH0JkwMQrQw7Nd9aartCWpF7ha8jxmMrPxhKkn0jpxRZv0po6Ny6jkDjgyddXSHOy3lhRok50pZh1rPnBzlnB98qzO+zLaWLKwJ+yzLGy6oGw2H6XYDwia6sI7MLlFkH8Wvx/hTJZmRPMoII0nzpjAYLXJApYJRxUv+kItTdVPTwwbzWCCH2aKBEqegkEg8r8vWdfXeWKnrGiNC/w9LQbBO2M6gxfsPdqggpwtpqWt2XjReJPkxRllhoEEIEyT2T5v7kgdN8QM91SEEJXspRKBkDGObj8HO1BKD9fPGUfvIQ+wBj26d2ubVkOe31czF4cMqMoZ1BrwWiJRAod2NVsQ+0yFixVu4ZaVgaVUmbZiVeroNBeiZBEZxXOp9HHVRGGhLTnxZi4s6ezRdNQ6OsBbdZ84ogukQ3NoW7WBrW2t+DaWZusuUp+zi5gfsYq90AWrrd1GCjUgdrmgjCG1B3NhanWdjHlH7O+x+0iAjTQvkG7TdPYbA3F0Vf6Ng65MLgDrX/Gwlw+gYoXUoMLYPYrZ7t3BcGhN44KXps00pkEMF+Ek1K9M8x8FC8Lmx3i1UzHR75V0p9ohT8C6fDiWn2EBFKbpmqs18Wr/SNp3b+GijpyemnKX4fV0YY5IL9AIeWLGxa+K41A=="

        },

        "endpoint": {

            "scope": {

                "type": "BearerToken",

                "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjIxNGQ2YjU3MjVlNDQ3MjhlMmI4YjA0YjkyMDA3NDRjM2IxNTk2MmNjODliYzAxZGE1MzA5NDg5YzQ3Y2IwN2MwYzY5ZjBlMGFiNmJjYzZjIn0.eyJhdWQiOiI0IiwianRpIjoiMjE0ZDZiNTcyNWU0NDcyOGUyYjhiMDRiOTIwMDc0NGMzYjE1OTYyY2M4OWJjMDFkYTUzMDk0ODljNDdjYjA3YzBjNjlmMGUwYWI2YmNjNmMiLCJpYXQiOjE1NjY5OTg2MTEsIm5iZiI6MTU2Njk5ODYxMSwiZXhwIjoxNTY4Mjk0NjExLCJzdWIiOiIzNCIsInNjb3BlcyI6W119.CejPCka-_UgdXcATG1bnU5l6EOTqN7M2ZhVDAdlkuShNPIETD8fLGbMB54Knh-rx5UD6mQimxO3jApuZS9S2IdMqNvAUvHYZLhimjg44f5pPIGSwrhWkflCHAMew5UFnwSzSprw_8p77QiwIaTi5HYP9FHSyuKkOL9lbK16TkIV902hKEK0PPPa-MwEPXIac5-KZOZf2W9CwZsDykjNIYVGYHIEchQ5y7EwSvaPz7F2JK4lN8Vgub7Nwa2XrVk_kZ8sbZYqQ7eWl9exJ4_rQht4ypZliSIVMrFJg8teyGHmjbFFzHP8sGf5PpkSzt4PNNTL4jaouoP1U8NQ3OidR1-4YIU8sNn31ScuRCHJtW6tqCw-a7D4_0iV67FhLloG2k4wgaFteLhu7Qs6f2xBWt5uyJixavDrIbRXHqG9klXBYRwSbx4L2tLm-Jnw3iaGFBkMZJ2WA2qA7QQHFwOhmcIEcRWnwurQach-DNEqeGR4cKnmLySxf3nnFnsRMRG56NJWhXAjHwf4w68CH-KiHF9mgcuB1-WVtDEcC7M0a5Mez16vPYfHSLC7jS_AAjkaiU9wFKv8vyZ_JtU8Gfp8reQE9bqD-vLdWftJzp2WDb3aagkmLKCMX5ASsL0lZl08chJ2TFwapZ9d9v_q7I6UPE3rPg3vEmMXrNntpB5kkkbA"

            },

            "endpointId": "4",

            "cookie": {

                "key1": "key/value pairs to reference this endpoint.",

                "key2": "There can be multiple entries",

                "key3": "use for reference purposes.",

                "key4": "Do not use to maintain current endpoint state."

            }

        },

        "payload": {

            "cookTime": "PT2M",

            "foodItem": {

                "foodName": "bread"

            }

        }

    }

}

 

Response

{ context:
{ properties: [ [Object], [Object], [Object], [Object], [Object] ] },
event:
{ header:
{ namespace: 'Alexa',
name: 'Response',
payloadVersion: '3',
messageId: '788f2217-e133-4faf-b478-d48000438650-R',
correlationToken: 'AAAAAAAAAAAY+b13aGBy5Ms/hr17bq+SDAIAAAAAAACGytJ42AL+Sy2Wl4rnYIoqVlW9m+1F8NPbj8k0nKpgTUrDfJdU9IH0JkwMQrQw7Nd9aartCWpF7ha8jxmMrPxhKkn0jpxRZv0po6Ny6jkDjgyddXSHOy3lhRok50pZh1rPnBzlnB98qzO+zLaWLKwJ+yzLGy6oGw2H6XYDwia6sI7MLlFkH8Wvx/hTJZmRPMoII0nzpjAYLXJApYJRxUv+kItTdVPTwwbzWCCH2aKBEqegkEg8r8vWdfXeWKnrGiNC/w9LQbBO2M6gxfsPdqggpwtpqWt2XjReJPkxRllhoEEIEyT2T5v7kgdN8QM91SEEJXspRKBkDGObj8HO1BKD9fPGUfvIQ+wBj26d2ubVkOe31czF4cMqMoZ1BrwWiJRAod2NVsQ+0yFixVu4ZaVgaVUmbZiVeroNBeiZBEZxXOp9HHVRGGhLTnxZi4s6ezRdNQ6OsBbdZ84ogukQ3NoW7WBrW2t+DaWZusuUp+zi5gfsYq90AWrrd1GCjUgdrmgjCG1B3NhanWdjHlH7O+x+0iAjTQvkG7TdPYbA3F0Vf6Ng65MLgDrX/Gwlw+gYoXUoMLYPYrZ7t3BcGhN44KXps00pkEMF+Ek1K9M8x8FC8Lmx3i1UzHR75V0p9ohT8C6fDiWn2EBFKbpmqs18Wr/SNp3b+GijpyemnKX4fV0YY5IL9AIeWLGxa+K41A==' },
endpoint: { scope: [Object], endpointId: '4', cookie: [Object] },
payload: {} } }

--------------------------------------------------------------

 

3.3 CookByTime (Request & Response directive).

Utterance: Alexa, Turn on the oven for 2 minutes.

 

    Request:

    {

    "directive": {

        "header": {

            "namespace": "Alexa.Cooking.TimeController",

            "name": "CookByTime",

            "payloadVersion": "3",

            "messageId": "e2c417b0-bdea-4215-bb85-f67cd9e92f8d",

            "correlationToken": "AAAAAAAAAAAY+b13aGBy5Ms/hr17bq+SDAIAAAAAAABroYW6fvhaSEtkQMmX2s7c5BNRe4gkwslWNKz1IDDhXbUvuroC+03gkptu9QnWYukBvxDVQp54zO4CnGjrvd9TqirARIMEf40E7UN2sNe+pzSj4/LSWqiaPaIC8Qb8HBpe/o/g+6sbNLtcFan1DkaWGV5UhFjD8LkmR6m528NUaPvx8pAM8SIl9qHKH2mELtxFIfeXesJIooR3P6cKk081mqEdm4Xn5Da0L7csAAKn5MIr1A/DPXogvU9gTITqgz21rVoKmOy++zcEb9j0d7MPevLo+rUa9eYmCaEvZUNzQdQIKqtXZiafav+nEZOV/ucv8P9hya34SJVoQMZkkveyHJFnVMi08xf+yUlpny9z4Mze1XOGkna9KWJ1eR2hdOkjBxgv7dbs46SbTXMTJDY9YaxfdyJ044LoVd0yz949YLmEwGQ9mMFxNMNppFXSQgX0K4Cg11ievxTWnR9XTHTfGJe/eS/JtQTXMLtfbfa1Oai0rGxQulqPjXIs3ubMGUqfJ+/60q+RQA1f+8j9kK+LCvsj2XLIiTmkss4G2Ikif5T3L4mfvYRh9DlWizJnz+9KvB+1USdNjPMYJ1bq4/3SENYN1meoH/1G+24z8EeJInQ8aM/1k7F1nruJr7M4+sGg/t22CNRQtW0FbG2gpq2jmd8RSgEZS6yvkMcy9xlfPV35iT/TTxCOcKT6tQ=="

        },

        "endpoint": {

            "scope": {

                "type": "BearerToken",

                "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjIxNGQ2YjU3MjVlNDQ3MjhlMmI4YjA0YjkyMDA3NDRjM2IxNTk2MmNjODliYzAxZGE1MzA5NDg5YzQ3Y2IwN2MwYzY5ZjBlMGFiNmJjYzZjIn0.eyJhdWQiOiI0IiwianRpIjoiMjE0ZDZiNTcyNWU0NDcyOGUyYjhiMDRiOTIwMDc0NGMzYjE1OTYyY2M4OWJjMDFkYTUzMDk0ODljNDdjYjA3YzBjNjlmMGUwYWI2YmNjNmMiLCJpYXQiOjE1NjY5OTg2MTEsIm5iZiI6MTU2Njk5ODYxMSwiZXhwIjoxNTY4Mjk0NjExLCJzdWIiOiIzNCIsInNjb3BlcyI6W119.CejPCka-_UgdXcATG1bnU5l6EOTqN7M2ZhVDAdlkuShNPIETD8fLGbMB54Knh-rx5UD6mQimxO3jApuZS9S2IdMqNvAUvHYZLhimjg44f5pPIGSwrhWkflCHAMew5UFnwSzSprw_8p77QiwIaTi5HYP9FHSyuKkOL9lbK16TkIV902hKEK0PPPa-MwEPXIac5-KZOZf2W9CwZsDykjNIYVGYHIEchQ5y7EwSvaPz7F2JK4lN8Vgub7Nwa2XrVk_kZ8sbZYqQ7eWl9exJ4_rQht4ypZliSIVMrFJg8teyGHmjbFFzHP8sGf5PpkSzt4PNNTL4jaouoP1U8NQ3OidR1-4YIU8sNn31ScuRCHJtW6tqCw-a7D4_0iV67FhLloG2k4wgaFteLhu7Qs6f2xBWt5uyJixavDrIbRXHqG9klXBYRwSbx4L2tLm-Jnw3iaGFBkMZJ2WA2qA7QQHFwOhmcIEcRWnwurQach-DNEqeGR4cKnmLySxf3nnFnsRMRG56NJWhXAjHwf4w68CH-KiHF9mgcuB1-WVtDEcC7M0a5Mez16vPYfHSLC7jS_AAjkaiU9wFKv8vyZ_JtU8Gfp8reQE9bqD-vLdWftJzp2WDb3aagkmLKCMX5ASsL0lZl08chJ2TFwapZ9d9v_q7I6UPE3rPg3vEmMXrNntpB5kkkbA"

            },

            "endpointId": "4",

            "cookie": {

                "key1": "key/value pairs to reference this endpoint.",

                "key2": "There can be multiple entries",

                "key3": "use for reference purposes.",

                "key4": "Do not use to maintain current endpoint state."

            }

        },

        "payload": {

            "cookTime": "PT2M"

        }

    }

}

 

Response

{ context: { properties: [ [Object], [Object], [Object], [Object] ] },
event: 
{ header: 
{ namespace: 'Alexa',
name: 'Response',
payloadVersion: '3',
messageId: 'e2c417b0-bdea-4215-bb85-f67cd9e92f8d-R',
correlationToken: 'AAAAAAAAAAAY+b13aGBy5Ms/hr17bq+SDAIAAAAAAABroYW6fvhaSEtkQMmX2s7c5BNRe4gkwslWNKz1IDDhXbUvuroC+03gkptu9QnWYukBvxDVQp54zO4CnGjrvd9TqirARIMEf40E7UN2sNe+pzSj4/LSWqiaPaIC8Qb8HBpe/o/g+6sbNLtcFan1DkaWGV5UhFjD8LkmR6m528NUaPvx8pAM8SIl9qHKH2mELtxFIfeXesJIooR3P6cKk081mqEdm4Xn5Da0L7csAAKn5MIr1A/DPXogvU9gTITqgz21rVoKmOy++zcEb9j0d7MPevLo+rUa9eYmCaEvZUNzQdQIKqtXZiafav+nEZOV/ucv8P9hya34SJVoQMZkkveyHJFnVMi08xf+yUlpny9z4Mze1XOGkna9KWJ1eR2hdOkjBxgv7dbs46SbTXMTJDY9YaxfdyJ044LoVd0yz949YLmEwGQ9mMFxNMNppFXSQgX0K4Cg11ievxTWnR9XTHTfGJe/eS/JtQTXMLtfbfa1Oai0rGxQulqPjXIs3ubMGUqfJ+/60q+RQA1f+8j9kK+LCvsj2XLIiTmkss4G2Ikif5T3L4mfvYRh9DlWizJnz+9KvB+1USdNjPMYJ1bq4/3SENYN1meoH/1G+24z8EeJInQ8aM/1k7F1nruJr7M4+sGg/t22CNRQtW0FbG2gpq2jmd8RSgEZS6yvkMcy9xlfPV35iT/TTxCOcKT6tQ==' },s
endpoint: { scope: [Object], endpointId: '4', cookie: [Object] },
payload: {} } }

 

Any suggestion will be appreciated !

 

Sincerely

 

victor