Hi Etrust, sorry for the long delay.
Did your iTach Flex comes with a IR-blaster or IR-emitter?
An emitter is the small IR-Led which you can fix direct on a device (short distance). A blaster is for long distance, which you can place anywhere in the room, it only needs to have visual contact to the controlling devices.
If you have no blaster, take a look in the iTach settings (type in your browser the iTach IP) and get sure that you have not enabled the blaster (see attached picture).
Get save that you use the correct IR-port in your code if you use a tri-port cable. You can change the iTach send code as following:
The code which is send starts with sendir,1:3,1,... the digit 3 means IR port 3. You can use instead 3 the digit 1 or 2, like sendir,1:1,1,... for IR port 1 or sendir,1:2,1,... for IR port 2 it depends on which part of cable you have connect to the iTach (tri-port cable or single/double emitter).
If you need more informations, let me know.