Hi Attached are 2 docs.
Hope these will answer your questions
The relay doc has a circuit on page 5, with 2 sensors, one for on, one for off.
The sensor doc has a similar circuit on page 8, an IR for on and an IR for off.
Instead of 2 sensors I want 1 sensor which toggles each time it detects (the delay in IR sensor will be used) the polarity wiklk cchange
will changeover.
so IR detects and 'sets', detects again and 'resets', then detects again 'set', etc etc
Thankyou
Charles