Transformer originally installed by builder 20 years ago behind the chime box. I'm installing a 16v 30va transformer for a Eufy video doorbell. Can I just replace the transformer as is or do I need a different installation? This is a tap in between a ceiling light and a light switch. Not much wire to work with. Thanks for any help.
The transformer is in a box so it’s not horrible but normally a doorbell transformer is mounted outside the box , the 120v connections made inside and the low voltage connections made outside the box. In this case both high and low voltage are in the same compartment , that would not fly in my jurisdiction with out a non conductive shield (plastic insulator dividing the hv / lv. Unless the MFG instructions directed it done that way.