First of all, irsend is just a dumb program that essentially tells lircd "please send command command from the remote remote n times. So it is unlikely that the problem is that "irsend hangs".

"SET TRANSMITTERS" is sticky; it is enough to send it once per session.

You appear to be flooding lircd with commands. Lircd is buggy, and flooding it certainly can trigger its bugs (For example, at Jul 10 07:29:02 , you send four (!!) "SET TRANSMITTERS"-commands.) Please try to resolve this flooding, possibly that is enough.

Finally, please learn how to format mark-down documents...

 

Last edit: Bengt Martensson 2019-07-13