VMB1BLS - OpenHab and Alexa Close/Open reversed

Hi

I managed to get the curtains from a VMB1BLS into OpenHab and then into Alexa… now it works… except for the fact that the words “open” and “close” are reversed … Alexa Open… closes the curtains and vice versa… any idea (without rewiring the whole thing…)?

1 Like

Adjust the Metadata in your items file for Alexa.

alexa="RangeController.rangeValue" [category="DOOR", friendlyNames="@Setting.Opening", supportedRange="0:100:10", unitOfMeasure="Percent", actionMappings="Close=0,Open=100,Lower=(-10),Raise=(+10)", stateMappings="Closed=0,Open=1:100"]

Or the other way around

alexa="RangeController.rangeValue" [category="DOOR", friendlyNames="@Setting.Opening", supportedRange="0:100:10", unitOfMeasure="Percent", actionMappings="Close=100,Open=0,Lower=(+10),Raise=(-10)", stateMappings="Closed=100,Open=0:99"]

#openhab

1 Like