An implementation of the LIFX LAN protocol in C#
Please note: This library is mostly untested as I do not have access to all of the LIFX products available.
For an extended example, see the "Example" project
LifxNetwork lifx = new LifxNetwork();
lifx.DeviceDiscovered += async (object sender, LifxDeviceDiscoveredEventArgs e) => {
Console.WriteLine($"Found device [Type: {e.Device.Name}] @ [EndPoint: {e.Device.EndPoint}]");
await e.Device.PowerOn();
};
lifx.StartDiscovery();