Can I mount my low voltage transformer inside?

No. Generally speaking, low voltage transformers are listed and labeled for “Outdoor Use Only.” If your installation requires an indoor transformer, consult your local electrical codes … you may be able to purchase a low voltage power supply locally for that use. Remember that if you are using a photocell, you may have to make other provisions for controlling the outdoor lighting.

How do I mount a low voltage transformer?
Light Calculations