A light fixture comprising: a sensor unit and a light intensity controller; wherein the sensor unit comprises; a sensor (241, 242, 243, 244, 245), the sensor operative to generate a sense signal based on at least one of sensed motion or light; communication circuitry, the communication circuitry operative to maintain a link with a network; a controller, the controller operative to: manage communication with the network; manage reception of beacons through the wireless communication circuitry, wherein the beacons are received from an object, and the beacons include information associated with the object; generate dimming control based on at least one of the sensed signal and communication from the network; and wherein the light intensity controller is configured to receive the dimming control and operative to adjust an emitted light intensity of a luminaire of the light fixture, wherein the information associated with the object includes at least a transmission power of the beacons, wherein the light fixture is operative to determine a received signal strength indicator, RSSI, of the received beacons, and wherein the controller is operative to estimate a distance between the light fixture and the object based on the RSSI of the received beacons and the transmission power of the beacons, and wherein the RSSI of the received beacon at a location of the object is compared to an RSSI fingerprint, wherein the RSSI fingerprint comprises stored values of the signal strength at sampling locations which are compared to the RSSI of the received beacons at the location of the object in order to find the best matching location. the sensor unit comprises; a sensor (241, 242, 243, 244, 245), the sensor operative to generate a sense signal based on at least one of sensed motion or light; communication circuitry, the communication circuitry operative to maintain a link with a network; a controller, the controller operative to: manage communication with the network; manage reception of beacons through the wireless communication circuitry, wherein the beacons are received from an object, and the beacons include information associated with the object; generate dimming control based on at least one of the sensed signal and communication from the network; and wherein a sensor (241, 242, 243, 244, 245), the sensor operative to generate a sense signal based on at least one of sensed motion or light; communication circuitry, the communication circuitry operative to maintain a link with a network; a controller, the controller operative to: manage communication with the network; manage reception of beacons through the wireless communication circuitry, wherein the beacons are received from an object, and the beacons include information associated with the object; generate dimming control based on at least one of the manage communication with the network; manage reception of beacons through the wireless communication circuitry, wherein the beacons are received from an object, and the beacons include information associated with the object; generate dimming control based on at least one of the sensed signal and communication from the network; and wherein the light intensity controller is configured to receive the dimming control and operative to adjust an emitted light intensity of a luminaire of the light fixture, wherein the information associated with the object includes at least a transmission power of the beacons, wherein the light fixture is operative to determine a received signal strength indicator, RSSI, of the received beacons, and wherein the controller is operative to estimate a distance between the light fixture and the object based on the RSSI of the received beacons and the transmission power of the beacons, and wherein the RSSI of the received beacon at a location of the object is compared to an RSSI fingerprint, wherein the RSSI fingerprint comprises stored values of the signal strength at sampling locations which are compared to the RSSI of the received beacons at the location of the object in order to find the best matching location.