Ceiling fan j-box fill/wire arrangement
More a question and questions of what is best (or “Fine”) versus what passes code-
I always try to tuck the wirenuts up into the j-box when installing a fixture. But when installing a ceiling fan today onto a pancake box, there is no way to do so, since even if the box wasn’t nearly completely obstructed by the mounting plate for the fan, the wirenuts are larger than the box depth. Additionally, I had to route the supply wires behind and around a remote transmitter that mounted to the center of the plate. So now, I have the 6 junctions (ground (1), supply to transmitter(2), and transmitter to light/fan (3)) floating in the canopy.
I don’t necessarily think there is anything wrong with that, as far as my reading of code and various other sources. However, I after replacing a few receptacles in the house where the electrician did not pay attention to the wiring when pushing the outlets into the j-box and a few years later side terminals shorted to ground, I have gotten very wary (paranoid?!) about wire arrangement in the box. With the fan, I also worry about vibration. With the remote and 6 connectors, the canopy is crowded, and of course the final configuation is invisible, assuming some movement when you make the final attachment of the fixture.
Is there a better or “Fine” way?