Table of Contents

Method StartListening

Namespace
Yeelight
Assembly
YeelightClient.dll

StartListening()

Listens to the announcements that the lights send by themselves, which they do when something changed and now and then. This finds lights without asking, but it can take a while: StartDiscovery(TimeSpan?) is quicker. It joins the multicast group of the lights on every network of this computer, and holds UDP port 1982 (shared with other programs that listen to it). Calling it again starts the listening anew.

public void StartListening()

Exceptions

ObjectDisposedException

The client is disposed.