A gas detector system for a refrigerated interior volume of a transportation refrigeration unit, TRU, the gas detector system comprising: a heated non-dispersive infrared, NDIR, gas detector for flammable low global warming potential, GWP, refrigerants that defines an enclosure , the enclosure defines a chamber therein, a cover including a chamber opening , and an infrared (IR) sensing element within the chamber; a heater adjacent to or within the enclosure , the heater configured to reduce moisture within the chamber and/or prevent moisture from accumulating within the chamber during a refrigeration cycle; a controller configured to control the heater , a gas detector element ; gas detector electronics configured to control operations of the gas detector element and to communicate with the controller and a printed circuit board on which the gas detector element and the gas detector electronics are disposed, wherein the gas detector system is configured to detect a selected concentration of refrigerant and thus to detect a refrigerant leak within the refrigerated interior volume of the TRU, wherein the gas detector system comprises an enclosure temperature sensor disposed inside or proximate to the enclosure , an ambient temperature sensor disposed outside of the refrigerated interior volume , wherein the controller is configured to compare temperature readings from the enclosure temperature sensor and the ambient temperature sensor and utilize the comparison of the readings to control the heater , wherein during the refrigeration cycle: when a temperature inside or proximate to the enclosure is less than ambient temperature, the heater is activated; and when the temperature inside or proximate to the enclosure is greater than ambient temperature, the heater is deactivated. a heated non-dispersive infrared, NDIR, gas detector for flammable low global warming potential, GWP, refrigerants that defines an enclosure , the enclosure defines a chamber therein, a cover including a chamber opening , and an infrared (IR) sensing element within the chamber; a heater adjacent to or within the enclosure , the heater configured to reduce moisture within the chamber and/or prevent moisture from accumulating within the chamber during a refrigeration cycle; a controller configured to control the heater , a gas detector element ; gas detector electronics configured to control operations of the gas detector element and to communicate with the controller and a printed circuit board on which the gas detector element and the gas detector electronics are disposed, wherein the gas detector system is configured to detect a selected concentration of refrigerant and thus to detect a refrigerant leak within the refrigerated interior volume of the TRU, wherein the gas detector system comprises an enclosure temperature sensor disposed inside or proximate to the enclosure , an ambient temperature sensor disposed outside of the refrigerated interior volume , wherein the controller is configured to compare temperature readings from the enclosure temperature sensor and the ambient temperature sensor and utilize the comparison of the readings to control the heater , wherein during the refrigeration cycle: when a temperature inside or proximate to the enclosure is less than ambient temperature, the heater is activated; and when the temperature inside or proximate to the enclosure is greater than ambient temperature, the heater is deactivated. when a temperature inside or proximate to the enclosure is less than ambient temperature, the heater is activated; and when the temperature inside or proximate to the enclosure is greater than ambient temperature, the heater is deactivated. <EOS>