Explore Plans
Mobile menu Close menu
eWeLink Smart HomeeWeLink Smart Home

Control FanLight

This action will turn on or turn off the fan or the light of your fanlight.

Developer info

API endpoint slug
ewelink.fanlight_action
Filter code method
Ewelink.fanlightAction.skip(string?: reason)
Runtime method
runAction("ewelink.fanlight_action", {})

Action fields

Fanlight query Dropdown list

Label
Which FanLight?
Slug
fanlight_query
Required
true
Can have default value
false

Fan or light Dropdown list

Label
Fan or light?
Slug
fan_or_light
Required
true
Can have default value
true
Filter code method
Ewelink.fanlightAction.setFanOrLight(string: fanOrLight)

Onoff act Dropdown list

Label
Turned on or off?
Slug
onoff_act
Required
true
Can have default value
true
Filter code method
Ewelink.fanlightAction.setOnoffAct(string: onoffAct)