The invention relates to a device comprising: a light source mounted in a housing, the housing comprising a transparent window opposite the light source an optical fiber fitted with a connector suitable for detachably engaging with the housing to retain an input surface of the optical fiber opposite the light source via the window and an interface element made of transparent elastomeric material suitable, in the connected position, for being retained so as to be compressed between the window and the input surface of the optical fiber.