I posted the discrete ON and OFF I'm using in the following thread. See post #24.
[Link: remotecentral.com]To make it work reliably, you must change the Z5's standby mode to "Normal". This is explained in the Z5 Service Manual. Email me for information on how to obtain the Z5 Service Manual, or try Googling.