Sorry for my frustration.
Started with OpenHab that seems the best software for me to control my house, but I cannot understand wha is wrong with my simple code using UDP bindings.
Attached is my small test code.
When I turn the switch on, it send an ON by UDP, instead of a start string (also with a lot of exceptions on the debug), and does nothing when I turn the switch to off.
Can you help me? Im out of ideas
Edit: according to the wiki you are missing a parenthesis:
tcp=">[ON:192.168.0.1:3000:‘MAP(my.device.map)’)], >[OFF:192.168.0.1:3000:‘MAP(my.device.map)’]"
There was a bug in openHAB 1.8.0 (latest release) related to this binding, that will be fixed in 1.8.1. It may be that this hot fix JAR will solve the problem.
Problem fixed.
I had already downloaded the fix but left in the addons directory the old tcp/udp binding file.
Now I deleted it and commands started to work.
Thanks to all.