Hi @jeshab,
I’m struggling for hours … I wonder if there is not a bug with Alexa.
I exactly tried your item definition and phrases, but i got the message l'appareil salon volet ne prend pas en charge cette commande
I have deployed my own Lambda instance to debug, and it seems that the device descriptor is totally ignored by Alexa…
{
"endpointId": "AX_DW_mRDC_Salon_volettest",
"manufacturerName": "openHAB",
"friendlyName": "Salon Volet",
"description": "Rollershutter AX_DW_mRDC_Salon_volettest via openHAB",
"displayCategories": [
"EXTERIOR_BLIND"
],
"cookie": {
"propertyMap": "{\"RangeController:AX_DW_mRDC_Salon_volettest\":{\"rangeValue\":{\"parameters\":{\"supportedRange\":{\"minimumValue\":0,\"maximumValue\":100,\"precision\":10},\"actionMappings\":[{\"name\":\"Close\",\"directive\":{\"name\":\"SetRangeValue\",\"payload\":{\"rangeValue\":0}}},{\"name\":\"Open\",\"directive\":{\"name\":\"SetRangeValue\",\"payload\":{\"rangeValue\":100}}},{\"name\":\"Lower\",\"directive\":{\"name\":\"AdjustRangeValue\",\"payload\":{\"rangeValueDelta\":-10,\"rangeValueDeltaDefault\":false}}},{\"name\":\"Raise\",\"directive\":{\"name\":\"AdjustRangeValue\",\"payload\":{\"rangeValueDelta\":10,\"rangeValueDeltaDefault\":false}}}],\"unitOfMeasure\":\"Percent\",\"category\":\"EXTERIOR_BLIND\",\"stateMappings\":[{\"name\":\"Closed\",\"value\":0},{\"name\":\"Open\",\"range\":{\"minimumValue\":1,\"maximumValue\":100}}],\"friendlyNames\":[\"Salon Volet\"]},\"item\":{\"name\":\"AX_DW_mRDC_Salon_volettest\",\"type\":\"Rollershutter\"},\"schema\":{\"name\":\"rangeValue\"}}}}"
},
"capabilities": [
{
"type": "AlexaInterface",
"interface": "Alexa",
"version": "3"
},
{
"type": "AlexaInterface",
"interface": "Alexa.RangeController",
"version": "3",
"instance": "AX_DW_mRDC_Salon_volettest",
"capabilityResources": {
"friendlyNames": [
{
"@type": "text",
"value": {
"text": "Salon Volet",
"locale": "en-AU"
}
},
{
"@type": "text",
"value": {
"text": "Salon Volet",
"locale": "en-CA"
}
},
{
"@type": "text",
"value": {
"text": "Salon Volet",
"locale": "en-GB"
}
},
{
"@type": "text",
"value": {
"text": "Salon Volet",
"locale": "en-IN"
}
},
{
"@type": "text",
"value": {
"text": "Salon Volet",
"locale": "en-US"
}
}
]
},
"properties": {
"supported": [
{
"name": "rangeValue"
}
],
"proactivelyReported": false,
"retrievable": true,
"nonControllable": false
},
"configuration": {
"supportedRange": {
"minimumValue": 0,
"maximumValue": 100,
"precision": 10
},
"unitOfMeasure": "Alexa.Unit.Percent"
},
"semantics": {
"actionMappings": [
{
"@type": "ActionsToDirective",
"actions": [
"Alexa.Actions.Close"
],
"directive": {
"name": "SetRangeValue",
"payload": {
"rangeValue": 0
}
}
},
{
"@type": "ActionsToDirective",
"actions": [
"Alexa.Actions.Open"
],
"directive": {
"name": "SetRangeValue",
"payload": {
"rangeValue": 100
}
}
},
{
"@type": "ActionsToDirective",
"actions": [
"Alexa.Actions.Lower"
],
"directive": {
"name": "AdjustRangeValue",
"payload": {
"rangeValueDelta": -10,
"rangeValueDeltaDefault": false
}
}
},
{
"@type": "ActionsToDirective",
"actions": [
"Alexa.Actions.Raise"
],
"directive": {
"name": "AdjustRangeValue",
"payload": {
"rangeValueDelta": 10,
"rangeValueDeltaDefault": false
}
}
}
],
"stateMappings": [
{
"@type": "StatesToValue",
"states": [
"Alexa.States.Closed"
],
"value": 0
},
{
"@type": "StatesToRange",
"states": [
"Alexa.States.Open"
],
"range": {
"minimumValue": 1,
"maximumValue": 100
}
}
]
}
},
{
"type": "AlexaInterface",
"interface": "Alexa.EndpointHealth",
"version": "3",
"properties": {
"supported": [
{
"name": "connectivity"
}
],
"proactivelyReported": false,
"retrievable": true
}
}
]
}