question

Vishal avatar image
Vishal asked

How can i add the custom modes in alexa smart home skill ?

i want to add the custom property field value for fan .
i.e : "Alexa , set fan speed to 3"
How can i achieve that ?

alexa smart home
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

roy-1 avatar image
roy-1 answered

Hello,

Thanks for posting. As of today, we only have the documented APIs available. However, you could use a PercentageController Interface to set or receive values of 0-100, and then make the appropriate conversions to fan speed levels. Please note that requests to set this to minimum will result in a value of 10, and Increase and Decrease requests will result in adjusting Percentage directives of +25/-25.

More info on the Alexa.PercentageController Interface can be found here:

https://developer.amazon.com/docs/device-apis/alexa-percentagecontroller.html

10 |5000

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