Connectors Reference

Yeelight

Yeelight allows you to control the settings of compatible devices for smart lighting applications.

 

Status: Preview

Tier: Premium

Version: 1.0.0

 

Actions:

Name

Summary

Discover ()

Discover

Switch (SwitchParameterBody body)

Switch

Color ([Optional]ColorParameterBody body)

Color

Brightness ([Optional]BrightnessParameterBody body)

Brightness

Temperature ([Optional]TemperatureParameterBody body)

Temperature

Query ([Optional]QueryParameterBody body)

Query

 

Triggers:

Name

Summary

 

Objects:

Name

Summary

BrightnessParameterBody

 

BrightnessResponseItem

 

ColorParameterBody

 

ColorResponseItem

 

DiscoverResponseItem

 

QueryParameterBody

 

QueryResponse

 

SwitchParameterBody

 

SwitchResponseItem

 

TemperatureParameterBody

 

TemperatureResponseItem

 

 

Actions:

Discover

Summary: Discover

Description: Discover

 

Syntax:

Yeelight.Discover ()

 

Returns:

          Type:array of (DiscoverResponseItem)

 

Switch

Summary: Switch

Description: Switch

 

Syntax:

Yeelight.Switch (SwitchParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

body

SwitchParameterBody

 

 

True

 

Returns:

          Type:array of (SwitchResponseItem)

 

Color

Summary: Color

Description: Color

 

Syntax:

Yeelight.Color ([Optional]ColorParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

body

ColorParameterBody

 

 

False

 

Returns:

          Type:array of (ColorResponseItem)

 

Brightness

Summary: Brightness

Description: Brightness

 

Syntax:

Yeelight.Brightness ([Optional]BrightnessParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

body

BrightnessParameterBody

 

 

False

 

Returns:

          Type:array of (BrightnessResponseItem)

 

Temperature

Summary: Temperature

Description: Temperature

 

Syntax:

Yeelight.Temperature ([Optional]TemperatureParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

body

TemperatureParameterBody

 

 

False

 

Returns:

          Type:array of (TemperatureResponseItem)

 

Query

Summary: Query

Description: Query

 

Syntax:

Yeelight.Query ([Optional]QueryParameterBody body)

 

Parameters:

Name

Type

Summary

Required

Related Action

body

QueryParameterBody

 

 

False

 

Returns:

          Type:QueryResponse

 


 

BrightnessParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

brightness

integer(int32)

 

brightness

region

string

 

region

type

string

 

type


 

BrightnessResponseItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

ids

array of (string)

 

ids

status

string

 

status


 

ColorParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

spectrumRGB

integer(int32)

 

spectrumRGB

region

string

 

region

type

string

 

type


 

ColorResponseItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

ids

array of (string)

 

ids

status

string

 

status


 

DiscoverResponseItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

name

string

 

name

region

string

 

region

type

string

 

type

online

boolean

 

online


 

QueryParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

region

string

 

region

type

string

 

type


 

QueryResponse

Summary:

Description:

 

          Properties:

Name

Type

Summary

M1GAxtaW9A0LXNwZWMtdjIVgoAFGA55ZWVsaWdodC1sYW1wMRUUGAg0NTAxOTQ4MhWsAgA

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

 


 

SwitchParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

on

boolean

 

on

region

string

 

region

type

string

 

type


 

SwitchResponseItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

ids

array of (string)

 

ids

status

string

 

status


 

TemperatureParameterBody

Summary:

Description:

 

          Properties:

Name

Type

Summary

did

string

 

did

temperature

integer(int32)

 

temperature

region

string

 

region

type

string

 

type


 

TemperatureResponseItem

Summary:

Description:

 

          Properties:

Name

Type

Summary

ids

array of (string)

 

ids

status

string

 

status