A smart module can include a housing sized for insertion through an opening of a lighting fixture that is exposed by removal of a door of the light fixture. The smart module can also include a smart meter in the housing. The smart meter can be electrically coupled to an input wire and an output wire. The smart module can further include a light sensor external to the housing that is electrically coupled to the smart meter that changes from a closed state to and open state based on detected light. The light sensor can include a threaded portion extending from a base that receives a locking nut. The locking nut and the base portion are sized for affixing the light sensor in an aperture of the door.