About this trigger
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This trigger fires when the fan or the light of your FanLight is turned on or off
- 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