Smart Lighting for Factories