My son's doorbell isn't working, I'm not getting any voltage, and I traced the wiring to the transformer located in the basement behind a finished ceiling used for a light fixture. I would like to relocate the new transformer in a nearby unfinished part of the basement. (How did they attach the transformer to the back or side of that blue plastic outlet box?)
I found a couple of 1-gang outlets but they are in blue plastic boxes.
My new transformer is the type with a screw on connector for attaching to one of the holes in a junction box but I don't see any way of doing that to this type of box. Is there a trick to this? Or do I need to install a different box next to it and run power there?