Ok so the logic is good but it looks like the shunt won’t work right. If I turn a light on manually the relay will close and shunt the detector contacts but if the PIR is in alarm at the time this will be seen as a transition to high which will start the timer and the light will time out and shut off.
What I need to do is have the relay interrupt the contact line feeding the optical input instead of shunting it. This will ensure the input stays low and the light stays on.
Can the EZIO2X4 relays be programmed to turn OFF when they get an Insteon ON command? Or do I need to use an EZIO8SA so that I have relays with NC contacts to do this?
I would prefer to use the EZIO2X4 because it has an onboard 5VDC source to use with the analog inputs.