question

frittenbude avatar image
frittenbude asked

Smart Home Device: Thermostat with PowerLevels

Alexa provides a nice interface for thermostats working with a target temperature and optionally with upper and lower temperature boundaries. In my paticular case the thermostat is not controlled through specific temperature values but by power-levels. So there are 10 possible power-levels the thermostat can be set to (0-10). Furthermore the device should be queried for the current room temperature. My attempt was to provide a endpoint which implements the PercentageController-Interface to represent the 10 power-levels and the TemperatureSensor-Interface to display the current temperature. Voice interaction with this endpoint worked perfectly fine, but then I checked the graphic representation in the Alexa-App and saw, that the current Temperature was not displayed there. So am I correct in the assumption that the value of the "displayCategories" field completely decides how the UI will look like in the Alexa-App and you have no chance of adding anything to it? And why is displayCategories an array?

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

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hi @frittenbude and thank you for your message.

Your assumption is correct: the displayCategories field is responsible for deciding how the UI looks like in the Alexa App.

Regarding displayCategories being an array, it is due to the fact that it is an Enumeration.

Regards,
Barry

10 |5000

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