Yesterday the Mars Rover found a rock.
What's the above comment have to do with this thread? Nothing at all.
Emergency disconnect? Just as relevant to this thread as the Mars Rover. The OP clearly states this is a house. Period. End Stop. We have no interest in discussing the emergency disco.
Nope. What we want to discuss is how the maintenance guy can work on the thing, and still meet code.
Code language does not seem to address the equipment compartment of the tub itself. No, you measure from the tub to the switch, etc. I can't see how having the disco inside the equipment compartment creates any hazard that's not already posed by the pumps, etc. in that compartment. I'm really beginning to like that approach: put the disc 'under the hatch.'
Heck, if you measure around the open hatch, you might get the magic '5 ft.' distance.
Disco has to be visible from the equipment being serviced - not to a bather in the tub.
Disco has to be accessible - not 'readily' accessible ... so it's OK if you need to remove a panel.