TCP Binding

I was using a work around:

myitems.items:
Group All
Group Light (All)
`/* dummy */` `String cmdKNXER "knxer_cmd" (All) {tcp=">[10.0.0.224:1234:JS(sendValue.js)]"}`
/* Lights */
Switch Light_win "Light_win" (Light)

myrules.rules:
import org.openhab.core.library.types.*
import org.openhab.core.persistence.*
import org.openhab.model.script.actions.*

rule "Initialize knxer"
    when 
        System started
    then
        sendCommand(cmdKNXER,"<knx>CMD=IAS;IA=7.7.7</knx>")
end

rule "Light 1 Control"
    when
        Item Light_win received command
    then
        switch(receivedCommand)
        {
            case ON:
                sendCommand( cmdKNXER, "<knx>CMD=WR;GA=4/0/10;VAL=01;DLEN=0</knx>" )
            case OFF:
                sendCommand( cmdKNXER, "<knx>CMD=WR;GA=4/0/10;VAL=00;DLEN=0</knx>" )            
        }
end

NOTE: I have a personalized connection to KNX, whick I call KNXer. I use raspberrypi2 or beagle bone black with KNX stack written by me, together with a socket connection and a tcp protocol defined by me; that being the reason why I’m playing with TCP binding.