Turn on or off a light at sunset
Start today
Other popular eWeLink Smart Home workflows and automations
- When I Leave Home
- Ring and sonoff switch
- Scène
- Turn on/off 1-channel switch/plug when temperature changes
- Wyze and eWeLink Trigger - Motion
- Sonoff Dual sunset based control
- Attiva il Sonoff Basic quando la telecamera Ezviz rileva un movimento
- Sonoff CH4/CH4 Pro control at sunrise
Useful eWeLink Smart Home and Smart Life integrations
Triggers (If this)
- 4-Channel Plug turned on or offThis trigger fires when your eWeLink Support 4-Channel Plug is turned on or off.
- Device or group is turned onThis trigger fires when the specified device/group is turned on.
- 3-Channel Plug turned on or offThis trigger fires when your eWeLink Support 3-Channel Plug is turned on or off.
- Device or group is turned offThis trigger fires when the specified device/group is turned off.
- 2-Channel Plug turned on or offThis trigger fires when your eWeLink 2-Channel Plug is turned on or off.
- Unlock the lockThis trigger fires when user unlocking the lock, his password or fingerprint identification or card is confirmed.
- 1-Channel Plug turned on or offThis trigger fires when your eWeLink Support 1-Channel Plug is turned on or off.
- Camera detects motionThis trigger fires when the specified camera detects motion. To use this trigger, camera’s motion detection should be turned on.
- 4-Channel Switch turned on or offThis trigger fires when your eWeLink Support 4-Channel Switch is turned on or off.
- Camera detects soundThis trigger fires when the specified camera detects sound. To use this trigger, camera’s sound detection should be turned on.
- 3-Channel Switch turned on or offThis trigger fires when your eWeLink 3-Channel Switch is turned on or off.
- Input incorrect password repetitiouslyThis trigger fires when someone input incorrect password repetitiously.
- 2-Channel Switch turned on or offThis trigger fires when your eWeLink Support 2-Channel Switch is turned on or off.
- Battery lowThis trigger fires when residual electricity in the lock under threshold.
- 1-Channel Switch turned on or offThis trigger fires when your eWeLink Support 1-Channel Switch is turned on or off.
- Door sensor is openThis trigger fires when the door sensor is open.
- Smart Dimmer turned on or offThis trigger fires when your eWeLink Support Smart Dimmer is turned on or off.
- Door sensor is closedThis trigger fires when the door sensor is closed.
- Brightness is aboveThis trigger fires when the brightness of selected dimmer is above threshold.
- Person is detectedThis trigger fires when PIR detects person.
- Brightness is belowThis trigger fires when the brightness of selected dimmer is below threshold.
- Leak detectedThis trigger fires when water leak detected.
- Door sensor is open or closedThis trigger fires when the state of selected door sensor is open or closed.
- Sound and light detectedThis trigger fires when water sound and light detected.
- Temperature goes above or belowThis trigger fires when the temperature of selected device goes above or below threshold.
- Shake detectedThis trigger fires when sensor shake detected
- Humidity goes above or belowThis trigger fires when the humidity of selected device goes above or below threshold.
- Voltage goes above or belowThis trigger fires when the voltage of selected device is above or below threshold.
- Electric current goes above or belowThis trigger fires when the electric current of the selected device goes above or below threshold.
- Light turned on or offThis trigger fires when your light is turned on or off.
- Light brightness goes above or belowThis trigger fires when your light brightness goes above or below.
- FanLight turned on or offThis trigger fires when the fan or the light of your FanLight is turned on or off
- RF Bridge Alarm activatedThis trigger fires when an alarm of your RF Bridge is activated.
- When Camera detects a motion eventThis Trigger fires every time the camera detects a motion event.
- Low Water Level of DiffuserThis trigger fires when the water level of a diffuser is low.
- Zigbee Motion SensorThis trigger fires when motion is detected or no motion is detected from Zigbee motion sensor.
- Leak detectedThis trigger fires when leak is detected from water leak sensor.
- Zigbee door sensor is open or closedThis trigger fires when the status of a Zigbee door sensor is open or closed.
- Zigbee Wireless Switch PressedThis trigger fires when Zigbee Wireless Switch is pressed, double pressed, or long pressed.
- Electric curtain is open or closedThis trigger fires when the selected electric curtain is open or closed.
- Enabled/disabled Child Lock of ThermostatThis trigger fires when the child lock status changes (enabled/disabled).
- Thermostat Mode changesThis trigger fires when the thermostat mode changes.
- Thermostat turned on or offThis trigger fires when the thermostat turns on or off
- Color temperature(CT) of light appearances warm or coolThis trigger fires when your light’s color temperature of light apperances warm or cool white.
- Light turns to a specified colourThis trigger fires when your lights to a specified colour .
- Scene Controller pressedThis Trigger fires every time your eWeLink Scene Controller is pressed.
- Button PressedThis Trigger fires every time your eWeLink Button is pressed.
- Device/Group is turned on or offThis Trigger fires when the device/group is turn on or off
Queries (With)
- History of Leak detectedThis query returns a list of times when the sensor detected a water leak.
- Current power stateThis query returns the on/off state of the device you choose.
- History of when Door sensor was closedThis query returns a list of times when the door sensor was closed.
- History of when Door sensor was openThis query returns a list of times when the door sensor was open.
- History of when a Person was detectedThis query returns a list of when PIR detected person.
- History of Device turned offThis query returns a list of times when the specified device/group was turned off.
- History of Device was turned onThis query returns a list of when the specified device/group was turned on.
- History of repetitious incorrect password alertsThis query returns a list of times when someone input an incorrect password repetitiously.
- History of motion detections by CameraThis query returns a list of when a Camera detected motion. To use this query, Camera motion detected should be turned on.
- History of Camera detected soundThis query returns a list of times when the specified camera detected sound. To use this query, camera’s sound detection must have been turned on.
- History of Shake detectedThis query returns a list of when sensor detected a shake
- History of when lock unlockedThis query returns a list of when a user unloocked the lock and his password, fingerprint identification, or card was confirmed.
- History of Sound or Light DetectedThis query returns a list of when water sound or light were detected.
- History of low Battery alertsThis query returns a list of when residual electricity in the lock dropped below the threshold. Note: this query will only return future events after this Applet is created.
Actions (Then that)
- Turn 4-Channel Plug on or offThis action will turn your eWeLink Support 4-Channel Plug on or off.
- Turn onThis action will turn on the device/group of your choosing.
- Turn 3-Channel Plug on or offThis action will turn your eWeLink Support 3-Channel Plug on or off.
- Turn offThis action will turn off the device/group of your choosing.
- Turn 2-Channel Plug on or offThis action will turn your eWeLink 2-Channel Plug on or off.
- Activate SceneThis action will activate the specified scene.
- Turn 1-Channel Plug on or offThis action will turn your eWeLink Support 1-Channel Plug on or off.
- Set light brightnessThis action will set your light to a specified brightness.
- Turn 4-Channel Switch on or offThis action will turn your eWeLink 4-Channel Switch on or off.
- Set light colorThis action will set the light to specified color.
- Turn 3-Channel Switch on or offThis action will turn your eWeLink Support 3-Channel Switch on or off.
- Start Cool ModeThis action will set your AC to Cool Mode.
- Turn 2-Channel Switch on or offThis action will turn your eWeLink Support 2-Channel Switch on or off.
- Start Heat ModeThis action will set your AC to Heat Mode.
- Turn 1-Channel Switch on or offThis action will turn your eWeLink Support 1-Channel Switch on or off.
- Set AC temperatureThis action will set your AC to a specified temperature by remote controller.
- Turn Smart Dimmer on or offThis action will turn your eWeLink Support smart dimmer on or off.
- Turn on oscillation function of fanThis action will turn on the oscillation function of your fan by IR remote controller.
- Set brightness for Smart DimmerThis action will set brightness for selected eWeLink Support smart dimmer .
- Turn off oscillation function of fanThis action will turn off the oscillation function of your fan by IR remote controller.
- Set color for lightThis action will set a color for selected light.
- Set color temperature for lightThis action will set a color temperature for selected light.
- Set brightness for lightThis action will set the brightness for selected light .
- Turn on or off lightThis action will turn your light on or off.
- Press Remote Button on RF BridgeThis action will press selected remote button on your RF Bridge.
- Control FanLightThis action will turn on or turn off the fan or the light of your fanlight.
- Open or close electric curtainThis action will open or close your electric curtain.
- Turn on or turn off diffuserThis action will turn your diffuser on or off.
- Set percentage of electric curtainThis action will open selected curtain to the percentage you set.
- Enable/disable the Child Lock of ThermostatThis action will enable or disable the child lock.
- Change Thermostat ModeThis action will change the thermostat mode (Manual/Program).
- Turn on or off ThermostatThis action will turn your eWeLink Thermostat on or off.
- Fanlight on-off and speed settingThis action will set the light on/off or the fan speed of fanlight.
- Camera makes alarmThis Action will makes the camera sound an alarm.
- Set temperatureThis action will set to a target temperature
- Turn on or off device/groupThis action will turn your device/group turn on or off
IFTTT helps all your apps and devices work better together