Ultra-compact luminaire mounted sensor with cable for regulating ambient light and detection of movement.