My current under-powered doorbell transformer is in a very awkward location (old home, etc.) and in a location where several old wires are cable-nutted together and I would rather not replace it there. I can disconnect and patch through the existing LV wiring easy enough though and I have a much more accessible location to install an updated one. However-
The location is in a coat closet, with an existing (currently capped) 120vAC line and close proximity to the doorbell wiring. But it is waist-high and would be covered by coats all the time. Would that be a problem if I surface-mounted the transformer?
What I’d like to do is mount the transformer in the wall cavity. I know code requires this to be accessible so I can’t drywall over it, but can I have a transformer like that attached to a gang box on its side, with all of the wiring behind a cover plate? Or cover plates?
As seen here the 120v is behind the existing wall plate in a single box currently mounted on a stud. (Green). The doorbell wire runs vertically in the same wall cavity (red area) and has enough slack to reach the green area easily.
So- do I just expose the transformer at waist height and surrounded by coats, or can I put the whole mess in the wall and cover it appropriately (vented panel?). I’m in Virginia and would like to do this to code. Thanks!