A portable communication device includes an apparatus for environmental sensing. The apparatus includes a housing, one or more environmental sensors and an optical source. The housing includes one or more ports for allowing air flow between the surrounding environment and a cavity of the housing. The environmental sensors are coupled to the housing and can sense an environmental agent included in the air flow. The optical source can illuminate the cavity of the housing to decompose unwanted organic compounds inside the port.