An adaptor (10) comprising a sensor (18), a gimbal housing (12) having a male connector (14) at one end and a female connector (16) at another end, wherein the male connector (14) is configured to connect with an electrical socket and the female connector (16) is configured to connect with an electrical device, and a circuit for selectively controlling the electrical device in response to the sensor (18). The gimbal housing (12) is adapted to rotate around the male connector (14) about a first axis and support the sensor (18) for independent rotation about a second axis perpendicular to the first axis so that the sensor (18) can be moved to a selectable sensing orientation.
展开▼