A lighting system can include a light fixture located in a hazardous environment, wherein the light fixture comprises a controller. The light fixture can also include a sensor module communicably coupled to the controller of the light fixture, wherein the sensor module comprises a sensor module housing and a sensor disposed within the sensor module housing, wherein the sensor module housing comprises a first coupling feature that couples to a hazardous location enclosure. The hazardous location enclosure and the sensor module, when coupled to each other, can comply with applicable standards for the hazardous environment.