Explore Plans
Mobile menu Close menu
eWeLink Smart HomeeWeLink Smart Home

FanLight turned on or off

This trigger fires when the fan or the light of your FanLight is turned on or off

Developer info

API endpoint slug
ewelink.fanlight_trigger

Trigger fields

Fanlight query Dropdown list

Label
Which device?
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

Onoff act Dropdown list

Label
Turned on or off?
Slug
onoff_act
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Ewelink.fanlightTrigger.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Device nameName of eWeLink device.

Slug
devicename_is
Filter code
Ewelink.fanlightTrigger.DeviceName
Type
String
Example
E.g. eWeLinkSmartHomeDevice-01

Fan or lightFan or light.

Slug
fanlight_is
Filter code
Ewelink.fanlightTrigger.FanOrLight
Type
String
Example
E.g. fan

Onor offOperation of eWeLink device.

Slug
onoffact_is
Filter code
Ewelink.fanlightTrigger.OnorOff
Type
String
Example
E.g. on

Track URLTrack url of eWeLink device.

Slug
trackurl_is
Filter code
Ewelink.fanlightTrigger.TrackUrl
Type
String
Example
E.g. http://www.ewelink.cc/en