Hello. I have currently installed the myopenHAB.org cloud service to use Amazon Alexa to give commands. This works great for switching lights, but for some blinds I would like to expose a different functionality, like the one I have exposed through a sitemap.
Let me show you a simplified version of what I got so far:
// default.items
Switch Light1 "the Light" <switch> {channel="zwave:...", alexa="PowerController.powerState"}
Rollershutter Blinds "the Blinds" <rollershutter> { channel="zwave:...", alexa="PercentageController.percentage"}
Dimmer Slats_Tilt "the Tilt" <slats> {channel="zwave: ...", alexa="PercentageController.percentage"}
// default.sitemap
sitemap default label="home" {
Switch item=Light1
Default item=Blinds
Switch item=Slats_Tilt mappings=[50="open", 35="light", 0="closed"]
}
The last sitemap entry exposes the slats as a three-way switch for three predefined tilts. I would like to expose these friendly names via Alexa.
What currently works are commands like these:
âAlexa, turn th light on/off!â
âAlexa, set the Blinds to 50 percent!â
âAlexa, set the Tilt to to 35 percent!â
However, I want to work with the mapped names and be able to request things like:
âAlexa, set the tilt to light!â
Has anyone achieved this, or some advice how to make this possible?