Hi, I’m quite new to openHAB, so please be patient.
I managed to get my Rollotron Rollershutter be controlled via a Broadlink RM3 through the Broadlink binding (https://github.com/themillhousegroup/openhab2-addons/tree/master/addons/binding/org.openhab.binding.broadlink)
The RM3 IR Commands are set in “transform/broadlink.map”
UP = 26004c007b127b11137a127a137a127a1379137a1379137a127a14797b117b127b127b11137a120003c37a137a13117b117b127a127b117b127b117b127a127b127b7a127a137a137a12127b11000d05000000000000000000000000
DOWN = 26009800127a137a7b127a12137a127a137a127a127a137a127a137a127a127b7b117b127b117b00035b127a14797c107c1114781578147815781478157814781479147814787d107d107d0f7d000358157814787c117c101479127a137a127a137a127a127b127a127a137a7b127a127b127b00035a137a127a7c117b11137a127a137a127a127b127a127a1378147a137a7b117b127b127b000d05
STOP = 26004c00147815787d0f7d107c117d0f157814787c117c111379147815781478157813791479140003c1127a137a7b117b127b127c101378147a7b127c10147914781479137915781379147913000d05000000000000000000000000
The item is set up as a String:
String BEDROOM_SHUTTER "Rollo Zimmer" <blinds> (gBedroom) { channel="broadlink:rm3:088a9bc9:command" }
And the Sitemap looks like this:
sitemap bedroom label="Schlafzimmer"
{
Switch item=BEDROOM_SHUTTER label="Rollo" mappings=[UP="UP", DOWN="DOWN", STOP="STOP"]
}
This works as it should. The only issue is, that I have to use String item type.
If I change the item to the type “Rollershutter”, the command does not work anymore. I do not see any log output, and the rollershutter does not move.
Rollershutter BEDROOM_SHUTTER "Rollo Zimmer" <blinds> (gBedroom) { channel="broadlink:rm3:088a9bc9:command" }
I guess the problem is, that the rm3 channel expects a string command, but the Rollershutter item type does not use the strings in the transform.
How can I change my config, to use the Rollershutter item type togther with the string command channel?
Thanks!