alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
680 stars 336 forks source link

Channel controller does not work #125

Closed elfdie00475 closed 10 months ago

elfdie00475 commented 5 years ago

Hi,

I try to create the home skill on my TV device. I follow the discovery response example to set the capabilities of my device, and I test the skill with command "Alexa, change channel to 200 on device". Then, Alexa response me "Sorry, I don't know that". I see the cloud log, it doesn't record any log.

Have any one can help me to solve this problem?

Here is my capabilities: catpabilities.txt

Thanks~~

aszk commented 10 months ago

It seems that your discovery doesn't have required fields. Please check https://developer.amazon.com/en-US/docs/alexa/device-apis/alexa-channelcontroller.html#discover-response-example for a sample. You need to specify "endpointId", and "endpoint" should be "endpoints". I also noticed there are couple of unnecessary fields such as "userId", "thingName".