Michael said:
Do you know anything more about such relays? Like how much they cost, where
they can be found, etc.? I've never seen any.
Michael
Michael
It might be a good idea to do a bit of study on wiring regulations and
general pratice before jumping in. Relays of the sort you mention are used
in millions in industry and any electronics supplier of any worth can sell
you one. For the sort of project you are describing the normal approach is
as mentioned by others, also for service and safety it is the best. Just
make up your control electronics and house them suitably and run the low
voltage contol wiring into a seperate mains enclosure with the relay. That
enclosure should be installed according to the wiring codes that apply to
your area. The two voltage levels (control and mains) should also be
isolated according to the code.
Sure it costs more but when you alter the installation in your home or
whatever, you then are required to conform to the code and should you be
unlucky enough to have a problem your work would come under scrutiny of the
various authorities, also insurance companies are not known for their
compassion in such cases.
Don't let the advice we have given you curb your enthusiasm for an
interesting pursuit but be aware that mains supply installations do require
knowledge and experience.