Hi again Um...Me123
Of course you can, but it is not 24 Volts there, its moore, like Audioguru said :)
I belive i can help you, but then you have to make two schematics, one of the transmitter and one of the receiver!
I promised you a pic of whats wrong and right about mains switches earlier...