Yeelight allows you to control the settings of compatible devices for smart lighting applications.
Status: Preview |
Tier: Premium |
Version: 1.0.0 |
Name |
Summary |
Discover |
|
Switch |
|
Color |
|
Brightness |
|
Temperature |
|
Query |
Name |
Summary |
Name |
Summary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Discover
Description: Discover
Syntax:
Yeelight.Discover ()
Returns:
Type:array of (DiscoverResponseItem)
Summary: Switch
Description: Switch
Syntax:
Yeelight.Switch (SwitchParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
body |
|
|
True |
Returns:
Type:array of (SwitchResponseItem)
Summary: Color
Description: Color
Syntax:
Yeelight.Color ([Optional]ColorParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
body |
|
|
False |
Returns:
Type:array of (ColorResponseItem)
Summary: Brightness
Description: Brightness
Syntax:
Yeelight.Brightness ([Optional]BrightnessParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
body |
|
|
False |
Returns:
Type:array of (BrightnessResponseItem)
Summary: Temperature
Description: Temperature
Syntax:
Yeelight.Temperature ([Optional]TemperatureParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
body |
|
|
False |
Returns:
Type:array of (TemperatureResponseItem)
Summary: Query
Description: Query
Syntax:
Yeelight.Query ([Optional]QueryParameterBody body)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
body |
|
|
False |
Returns:
Type:QueryResponse
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
brightness |
integer(int32)
|
brightness |
region |
string
|
region |
type |
string
|
type |
Summary:
Description:
Properties:
Name |
Type |
Summary |
ids |
array of (string)
|
ids |
status |
string
|
status |
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
spectrumRGB |
integer(int32)
|
spectrumRGB |
region |
string
|
region |
type |
string
|
type |
Summary:
Description:
Properties:
Name |
Type |
Summary |
ids |
array of (string)
|
ids |
status |
string
|
status |
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
name |
string
|
name |
region |
string
|
region |
type |
string
|
type |
online |
boolean
|
online |
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
region |
string
|
region |
type |
string
|
type |
Summary:
Description:
Properties:
Name |
Type |
Summary |
M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaWdodC1sYW1wMRUUGAg0NTAxOTQ4MhWsAgA |
M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaWdodC1sYW1wMRUUGAg0NTAxOTQ4MhWsAgA
|
M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaWdodC1sYW1wMRUUGAg0NTAxOTQ4MhWsAgA |
Summary:
Description: M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaWdodC1sYW1wMRUUGAg0NTAxOTQ4MhWsAgA
Properties:
Name |
Type |
Summary |
online |
boolean
|
online |
on |
boolean
|
on |
brightness |
integer(int32)
|
brightness |
color-temperature |
integer(int32)
|
color-temperature |
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
on |
boolean
|
on |
region |
string
|
region |
type |
string
|
type |
Summary:
Description:
Properties:
Name |
Type |
Summary |
ids |
array of (string)
|
ids |
status |
string
|
status |
Summary:
Description:
Properties:
Name |
Type |
Summary |
did |
string
|
did |
temperature |
integer(int32)
|
temperature |
region |
string
|
region |
type |
string
|
type |
Summary:
Description:
Properties:
Name |
Type |
Summary |
ids |
array of (string)
|
ids |
status |
string
|
status |