Rollershutter cell - different commands possible

I use OH 4.3 and wanted to controll my rollershutters with the oh-rollershutter-cell.
I need it to send a command to an item “MoveRollers”, where 0 = stop, 1= up and 2 = down. How would I configure the oh-rollershutter-cell such that it sends the appropriate number to my command item when I press the up / down / stop button ?
I found that there is only a single setting to send a command when the widget is clicked but I could not figure how to set the commands for the buttons individually.

I suspect its something like:
actionCommand: stop=0, up=1, down=2
actionItem: MoveRollers

You cannot. The rollershutter widget is hard coded to send the standard UP, DOWN, and STOP commands.

You have a few options. The three most obvious would be to

  1. build your own version of the oh-rollershutter-cell starting from an oh-cell and other oh-buttons
  2. use a proxy Item and a rule to convert the standard commands to your non-standard versions (widgets sends commands to proxy Item, rule triggers when proxy Item receives a command and sends new command to real Item)
  3. add command transformation script to the Link between the Item and the Thing Channel.

Each of these requires different experience, so I can’t say which wold be the easiest for you.

Thanks a lot for the swift reply. My command item triggers a rule which then moves the shutters one-by-one in 1s intervals. I can just modify that rule to react to the commands sent. I was just not aware what exactly it was it sends.