Class YeelightLimits
- Namespace
- Yeelight
- Assembly
- YeelightClient.dll
The limits that the Yeelight protocol puts on the values that a light accepts, and on the way to it.
public static class YeelightLimits
- Inheritance
-
YeelightLimits
- Inherited Members
Remarks
These are the limits of the protocol (the Yeelight WiFi Light Inter-Operation Specification). A light can accept less: the range of colour temperatures, for one, depends on the model.
Fields
- CommandsPerMinute
The number of commands a minute that a light accepts on one connection (144 a minute on all connections together).
- ConnectionsPerLight
The number of simultaneous control connections that a light accepts: it rejects a fifth.
- DiscoveryPort
The UDP port that lights are searched on, and that they announce themselves to.
- MaxAdjustPercentage
The highest brightness (and colour temperature) adjustment of one command, as a percentage (the lowest is minus this).
- MaxBrightness
The highest brightness (a percentage).
- MaxColorTemperature
The highest colour temperature, in kelvin.
- MaxHue
The highest hue (the lowest is 0).
- MaxRgb
The highest value of a colour as a number: 0xFFFFFF, red times 65536 plus green times 256 plus blue (the lowest is 0).
- MaxSaturation
The highest saturation (the lowest is 0).
- MinBrightness
The lowest brightness (a percentage).
- MinColorTemperature
The lowest colour temperature, in kelvin.
- MinFlowStep
The shortest step of a ColorFlow.
- MinTransition
The shortest transition that a light accepts. A shorter one is refused before it is sent; zero is no transition at all.