(Solved) ir remote relay control

you sir, are a genius. that on2 on3 thing worked...thank you much

Wasn't that what I said in Reply #5?