Hello everyone, I’m currently working on integrating my Shelly 2.5 roller shutter into my OpenHAB setup using MQTT binding. I’ve managed to get the device connected, but I’m facing an issue with the button control. Currently, the button sends values from 100 to 0, but I need it to send ‘open’ and ‘close’ commands instead.
Here’s what my configuration looks like:
plaintext
Thing kitchen_roller_shutter “Kitchen Roller Shutter” @ “Kitchen” {
Channels:
Type rollershutter : power “Power” [ stateTopic=“shellies/shellyswitch25-004326/roller/0”, commandTopic=“shellies/shellyswitch25-004326/roller/0/command” ]
}
And in my items file:
plaintext
Switch Kitchen_Roller_Shutter “Kitchen Roller Shutter” [ “Switchable” ] { channel=“mqtt:topic:openhab:kitchen_roller_shutter:power” }
Currently, when I send a command, it results in shellies/shellyswitch25-0003FD/roller/0 -> 100, but I need it to send shellies/shellyswitch25-0003FD/roller/0 -> close.
Has anyone successfully configured a similar setup? Any tips or suggestions would be greatly appreciated! I’m looking forward to hearing from the community. ![]()