Hi,
I have written some code that alexa is calling to discover two devices, a motion sensor and a contact sensor. When i try and use these sensors as the start of a routine i get an error saying "This device is not currently supported"
Does my skill need to be published for this to work?
my endpoints json is currently hard coded
{
"endpointId": "appliance-001zsdsdfsdfsdf",
"manufacturerName": "Sample Manufacturer",
"description": "Contact Sensor Test",
"friendlyName": "Contact Sensor Test",
"displayCategories": [
"CONTACT_SENSOR"
],
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa.ContactSensor",
"version": "3",
"properties": {
"supported": [
{
"name": "detectionState"
}
],
"proactivelyReported": true,
"retrievable": true
}
},
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
}
]
},
{
"endpointId": "appliance-001zsdsdfsdfsdffgsdgd345345345",
"manufacturerName": "Sample Manufacturer",
"description": "Motion Sensor Test",
"friendlyName": "Motion Sensor Test",
"displayCategories": [
"MOTION_SENSOR"
],
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa.MotionSensor",
"version": "3",
"properties": {
"supported": [
{
"name": "detectionState"
}
],
"proactivelyReported": true,
"retrievable": true
}
},
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
}
]
}