Thanks for your help. I like this simple circuit, it will fit easily in the box. but I do have one question, it appears that the circuit is doing a half wave rectification. but you have stated that this circuit works well on a 24 (dc), not (ac) supply. I don't know whats inside the box, but I do...