I’ve read your ir guide and figured out that new keeping connection functionality will not help to you in getting rid of delays, because you create Orvibo instance for each request.
Also, from my point of view having separate ac-turn-on.py is an extra here, since you can just execute a shell command, so I’d replace
ON:python3 /home/pi/orvibo/ac-turn-on.py
with
ON:orvibo.py -e /home/py/orvibo/ac-turn-on.ir
- Pavel