Embedding speech recognition to control lights