Homeadaptive lighting