Table of Contents

Namespace Yeelight

Classes

ColorFlow

A colour flow: a series of changes of colour, colour temperature and brightness (and pauses) that a light runs by itself.

ColorFlowStep

One step of a ColorFlow: a change of colour or colour temperature, or a pause, and how long it takes.

DeviceDiscoveredEventArgs

The arguments of DeviceDiscovered.

DeviceStateChangedEventArgs

The arguments of DeviceStateChanged.

YeelightBackgroundLight

The background light of a device that has one (some ceiling lights): its state, and the same commands as the main light.

YeelightClient

Finds Yeelight devices on the local network, keeps the list of them, and keeps a connection to each.

YeelightClientOptions

The settings of a YeelightClient.

YeelightDevice

A Yeelight device on the network: who it is, what its main light is doing, and the commands that control it.

YeelightError

The error that a command ended with: what a light answered in the error member of its answer, or why the answer never came.

YeelightException

Thrown when a command does not succeed: the light refused it, or it did not get to the light, or its answer did not come back.

YeelightLight

A light of a Yeelight device: what it is doing, and the commands that change it.

YeelightLimits

The limits that the Yeelight protocol puts on the values that a light accepts, and on the way to it.

YeelightMusicSession

A device in music mode: a connection over which the device takes commands without a limit on their number, and without answering them.

YeelightResult

The answer to a command, as the light gave it (or the failure that took its place).

YeelightScene

A scene: a state that a light is set to directly, turning it on first when it is off.

Enums

ActiveMode

The mode that a ceiling light is in.

AdjustAction

The direction in which AdjustAsync(AdjustAction, AdjustProperty, CancellationToken) changes a property.

AdjustProperty

The property that AdjustAsync(AdjustAction, AdjustProperty, CancellationToken) changes.

ColorFlowAction

What a light does when a ColorFlow has ended.

ColorFlowMode

What a step of a ColorFlow does.

ColorMode

How a light makes its light: the mode decides which of the colour properties of the light are valid.

PowerOnMode

The mode that a light is switched on in.

YeelightFailureKind

Why a command did not succeed.