Ok here is the Problem and I looked everywhere.
Lets start with the setup
Item File
String Tex_UDP_Receive “[%s]” (ALL) { udp="<[192.168.9.210::'REGEX((.))’]" }
String Tex_UDP_Send “[%s]” (ALL) { udp=">[192.168.9.101:25001:‘REGEX((.*))’]" }
rule
rule “Get ASTATUS1”
when
Time cron “0 0/1 * 1/1 * ? *” or
System started
then
sendCommand (Tex_UDP_Send, “RA001\r” )
end
The above rule runs but does not add the escape r to the command if i change \r to \r its send it with double escape and my device is looking for \r
Changing the udp config so that it adds it with postamble=\r also add a \r to the sommand which is send.
I can see in the Log that it changes state to RA001\r but I recieve RA001\r
Any ideas this is driving me nuts