Smart outdoor lighting