1. A method of adjusting the brightness level of a lighting system based on an ambient light measurement from a lighting based sensor, comprising:measuring an ambient light level in a space illuminated by the lighting system with an embedded ambient light sensor in a luminaire;
adjusting the ambient light level measurement based on a correlation of the measurement with an ambient light profile for the space illuminated by the lighting system, wherein the ambient light profile is based at least in part on historical ambient light data measurements;
selecting a brightness level based on the adjusted ambient light level measurement; and
illuminating the space using the selected brightness level.