question

newuser-18175917-1538-41b6-b4cd-243315834a19 avatar image

Alexa PowerLevel interface help

Inorder to discover AC, here is my response sent to skill :

{

"event":{
"header":{
"namespace":"Alexa.Discovery",
"name":"Discover.Response",
"payloadVersion":"3",
"messageId":"ef142f49-3ff9-43a5-9eb3-ba2c249c8355"
},
"payload":{
"endpoints":[
{
"endpointId":"60",
"manufacturerName":"Sample Manufacturer",
"friendlyName":"AC",
"description":"AC in ROOM",
"displayCategories":[
"THERMOSTAT"
],
"cookie":{
"type":"ac"
},
"capabilities":[
{
"type":"AlexaInterface",
"interface":"Alexa.ThermostatController",
"version":"3",
"properties":{
"supported":[
{
"name":"targetSetpoint"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.TemperatureSensor",
"version":"3",
"properties":{
"supported":[
{
"name":"temperature"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.PowerController",
"version":"3",
"properties":{
"supported":[
{
"name":"powerState"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa.EndpointHealth",
"version":"3",
"properties":{
"supported":[
{
"name":"connectivity"
}
],
"proactivelyReported":False,
"retrievable":False
}
},
{
"type":"AlexaInterface",
"interface":"Alexa",
"version":"3"
}
]
}
}
}
}

The above configuration works perfectly fine.

Now i want to attach PowerLevel interface with it having EnumeratedPowerLevel value of LOW, MEDIUM and HIGH.

Such that users will be able to say "Alexa set AC to medium/high/low". Can anyone assist me as i found the documentation a bit confusing and less elaborate.

alexa skills kitalexa smart home
2 comments
10 |5000

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

hi can anyone help on this?

0 Likes 0 ·

I mean how do i attach low/medium/high setting to end endpoint using Alexa.PowerLevel interface

0 Likes 0 ·

1 Answer

roy-1 avatar image
roy-1 answered

Hello,

Thanks for posting. Are low, medium, and high different modes that your AC endpoint support? The thermostat controller supports modes, but only HEAT, COOL, AUTO, ECO, and OFF. For low, medium, and high, I'd recommend taking a look at the recently launched Range Controller:

Alexa.RangeController Interface

10 |5000

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