Validating the application of occupancy sensor networks for lighting control