[OH3] Alexa controlled shutter stops immediately

I have a Shelly 2.5 set up as a shutter controller.

This is my Alexa metadata (which I copied from another topic):

value: RangeController.rangeValue
  supportedRange: 0-100
  actionMappings: Close=0,Open=1:100,Lower=(+10),Raise=(-10)
  unitOfMeasure: Percent
  stateMappings: Closed=0,Open=1:100

When I tell Alexa to open or close the shutter, it correctly recognizes the device and starts to move it. But as soons as the first value change comes back (say from 100 to 95), the shutter stops again. If I control it directly from the OH WebUI, it keeps running.

If I tell Alexa a percentage, it is hit or miss, setting it to 50% works, setting it to 0% or 100% does not. If it works, the percentage is reversed, e.g. 20% sets it to 80% on the Shelly, but that is expected.

What am I doing wrong here? I would like to be able to tell Alexa to close the shutter and actually have it go all the way to 0.

Your actionMappings parameter is incorrect. You are defining a range for the Open action instead of a specific percentage value.

1 Like