question

sd321 avatar image
sd321 asked

ModeController utterances not working

I created a discovery response that contains both a power controller and the washer example from the mode controller (https://developer.amazon.com/docs/device-apis/alexa-modecontroller.html). Using the test console, I am able to successfully issue power controller utterances (ie, turn on washer). However, utterances for the mode controller do not work (ie, "set the wash setting on the washer to normal" results in "I don’t know how to set Washer to that Setting."). My skill is created for en-US and I am running the test console under en-US.

Discovery response is:

{
    "header": {
    "namespace": "Alexa.Discovery",
    "name": "Discover.Response",
    "payloadVersion": "3",
    "messageId": "44ff1b9c-a37a-41bb-ba60-9f657082734d"
    },
    "payload": {
    "endpoints": [
        {
            "endpointId": "MyTestDevice",
            "friendlyName": "Washer",
            "manufacturerName": "Washer Maker Plus",
            "description": "Smart Washer by Washer Maker Plus",
            "displayCategories": [
                "OTHER"
            ],
            "capabilities": [
                {
                    "type": "AlexaInterface",
                    "interface": "Alexa",
                    "version": "3"
                },
                {
                    "interface": "Alexa.PowerController",
                    "version": "3",
                    "type": "AlexaInterface",
                    "properties": {
                        "supported": [
                            {
                                "name": "powerState"
                            }
                        ],
                        "retrievable": false
                    }
                },
                {
                    "type": "AlexaInterface",
                    "interface": "Alexa.ModeController",
                    "version": "3",
                    "properties": {
                        "supported": [
                            {
                                "name": "mode"
                            }
                        ],
                        "retrievable": false,
                        "proactivelyReported": false
                    },
                    "instance": "Washer.WashCycle",
                    "capabilityResources": {
                        "friendlyNames": [
                            {
                                "@type": "text",
                                "value": {
                                    "text": "Wash Cycle",
                                    "locale": "en-US"
                                }
                            },
                            {
                                "@type": "text",
                                "value": {
                                    "text": "Wash Setting",
                                    "locale": "en-US"
                                }
                            }
                        ]
                    },
                    "configuration": {
                        "ordered": false,
                        "supportedModes": [
                            {
                                "value": "WashCycle.Normal",
                                "modeResources": {
                                    "friendlyNames": [
                                        {
                                            "@type": "text",
                                            "value": {
                                                "text": "Normal",
                                                "locale": "en-US"
                                            }
                                        }
                                    ]
                                }
                            },
                            {
                                "value": "WashCycle.Delicates",
                                "modeResources": {
                                    "friendlyNames": [
                                        {
                                            "@type": "text",
                                            "value": {
                                                "text": "Delicates",
                                                "locale": "en-US"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    ]
    }
}


Thoughts?

alexa smart homeutterances
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Gaetano@Amazon avatar image
Gaetano@Amazon answered

Hi,

thanks for your post.

In order to troubleshoot your problem we would need the Activity Key of the "set the wash setting on the washer to normal" utterance.

Please file a contact us here with the required information. I will also post the solution here.

Kind regards,

Gaetano

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.