How this automation works
Automate your home by locking doors and turning off lights or plugs when you press a specific button on your SwitchBot Hub 2. This Applet triggers when a chosen hub button is pressed and sends signals to SmartThings, TRIGGERcmd, eWeLink, Smart Life, and Philips Hue devices to power down or activate a scene. It’s ideal for easily securing and setting your home at bedtime or when leaving.
Trigger ingredients
Action fields
Action fields
Action fields
Action fields
Action fields
Action fields
Services used in this Applet
You might also like...
-
Automatically turn your lights on at sunset
133K
-
-
Toggle Philips Hue lights with one tap
Philips Hue
110K
-
-
Turn on Philips Hue lights when you arrive home
Philips Hue
55.9K
-
Related services
Create your own workflow
Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.
236 triggers, queries, and actions
1-Channel Plug turned on or off
1-Channel Switch turned on or off
2-Channel Plug turned on or off
2-Channel Switch turned on or off
3-Channel Plug turned on or off
3-Channel Switch turned on or off
4-Channel Plug turned on or off
4-Channel Switch turned on or off
Any command
Any new motion
Battery low
Brightness drops below
Brightness is above
Brightness is below
Brightness rises above
Button Pressed
Camera detects motion
Camera detects sound
Carbon dioxide changes
Closed
Color temperature(CT) of light appearances warm or cool
Contact and Motion Detection
Device or group is turned off
Device or group is turned on
Device/Group is turned on or off
Door sensor is closed
Door sensor is open
Door sensor is open or closed
Electric current goes above or below
Electric curtain is open or closed
Enabled/disabled Child Lock of Thermostat
FanLight turned on or off
Hub 2's touch buttons pressed
Humidity drops below
Humidity goes above or below
Humidity rises above
Input incorrect password repetitiously
Leak detected
Leak detected
Light brightness goes above or below
Light turned on or off
Light turns to a specified colour
Lock status changed
Locked
Low Water Level of Diffuser
Moisture detected
Motion detected or no motion detected
Opened
Person is detected
Power changes
Presence detected
Presence no longer detected
RF Bridge Alarm activated
Robot status changed
Scene Controller pressed
Shake detected
Smart Dimmer turned on or off
Sound and light detected
Specific command
Switched off
Switched on
Temperature drops below
Temperature goes above or below
Temperature or humidity changes
Temperature rises above
Thermostat Mode changes
Thermostat turned on or off
Unlock the lock
Unlocked
Various AQIs goes above or below
Voltage goes above or below
Water Detector State
When Camera detects a motion event
Zigbee door sensor is open or closed
Zigbee Motion Sensor
Zigbee Wireless Switch Pressed
ハブ2のタッチボタンを押す
ロック状態変更
ロボット状態変更
動体が検出された、または検出されない
水漏れセンサーの状態
温度・湿度の変化
開閉と動体を検知する
電源の変化
Activate Scene
Activate siren/strobe
Back to base station
Blink lights
Bot press
Bot turn off
Bot turn on
Bulb Brightness
Bulb Color
Bulb Color Temperature
Bulb Presets
Camera Action
Camera makes alarm
Ceiling Light Brightness
Ceiling Light Color Temperature
Change color
Change color from image
Change Thermostat Mode
Change to random color
Change water output for mopping
Control Air Purifier
Control Curtain
Control Evaporative Humidifier
Control Fan
Control FanLight
Control home appliances
Control Humidifier
Control RollerShade
Control TV
Deactivate siren/strobe
Delay On/Off
Dim lights
Enable/disable the Child Lock of Thermostat
Fan 2 Blowing Mode
Fan 2 Nightlight
Fan 2 常夜灯設定
Fan 2 送風モード
fan 2 Fan Speed
Fan 2 Horizontal Oscillation
Fan 2 Vertical Oscillation
Fan 2 上下の首振り
Fan 2 左右の首振り
fan 2 風量
Fanlight on-off and speed setting
LED Strip Light Color
LED Strip Light On/Off
Lock
Make device sound an alarm or beep
Open or close electric curtain
Open/close Blind Tilt
Pause vacuuming (Pause recharging)
Power On/Off
Press Remote Button on RF Bridge
Scene
Set a scene in a room
Set AC temperature
Set brightness for light
Set brightness for Smart Dimmer
Set color for light
Set color temperature for light
Set light brightness
Set light color
Set percentage of electric curtain
Set temperature
Set the security mode
Start Cool Mode
Start cruise whole house
Start Heat Mode
Start purity in situ
Start purity whole house
Start recharging
Start vacuuming
Switch Mode
Switch off
Switch on
Toggle Ceiling Light On/Off
Toggle lights on/off
Toggle On/Off
Trigger Command
Turn 1-Channel Plug on or off
Turn 1-Channel Switch on or off
Turn 2-Channel Plug on or off
Turn 2-Channel Switch on or off
Turn 3-Channel Plug on or off
Turn 3-Channel Switch on or off
Turn 4-Channel Plug on or off
Turn 4-Channel Switch on or off
Turn A/C off
Turn A/C on
Turn Bulb On/Off
Turn Ceiling Light On/Off
Turn off
Turn off appliance with Hub Plus IR remote
Turn off lights
Turn off oscillation function of fan
Turn on
Turn on appliance with Hub Plus IR remote
Turn on color loop
Turn on lights
Turn on or off device/group
Turn on or off light
Turn on or off Thermostat
Turn on or turn off diffuser
Turn on oscillation function of fan
Turn Plug off
Turn Plug on
Turn Smart Dimmer on or off
Unlock
カーテンをコントロール
シーリングライトの明るさ
シーリングライトの色温度
シーリングライトをオン/オフ
シーン
テープライトのカラー
テープライトをオン/オフにする
トグルシーリングライト(オン/オフ)
トグル(オン/オフ)
ハウスツアーを開始する
ブラインドポールの開閉を設定
モード切替
再充電する
加湿器をコントロール
原位置除染を開始する
基地局への復帰を開始する
家全体の浄化を始める
扇風機をコントロール
気化式加湿器をコントロール
水拭きの水量を変更
清掃/再充電を一時停止
清掃する
遅延実行(オン/オフ)
電源オン/オフ
電球のカラー
電球のプリセット
電球の明るさ
電球の色温度
電球をオン/オフにする
1-Channel Plug turned on or off
1-Channel Switch turned on or off
2-Channel Plug turned on or off
2-Channel Switch turned on or off
3-Channel Plug turned on or off
3-Channel Switch turned on or off
4-Channel Plug turned on or off
4-Channel Switch turned on or off
Activate Scene
Activate siren/strobe
Any command
Any new motion
Back to base station
Battery low
Blink lights
Bot press
Bot turn off
Bot turn on
Brightness drops below
Brightness is above
Brightness is below
Brightness rises above
Bulb Brightness
Bulb Color
Bulb Color Temperature
Bulb Presets
Button Pressed
Camera Action
Camera detects motion
Camera detects sound
Camera makes alarm
Carbon dioxide changes
Ceiling Light Brightness
Ceiling Light Color Temperature
Change color
Change color from image
Change Thermostat Mode
Change to random color
Change water output for mopping
Closed
Color temperature(CT) of light appearances warm or cool
Contact and Motion Detection
Control Air Purifier
Control Curtain
Control Evaporative Humidifier
Control Fan
Control FanLight
Control home appliances
Control Humidifier
Control RollerShade
Control TV
Deactivate siren/strobe
Delay On/Off
Device or group is turned off
Device or group is turned on
Device/Group is turned on or off
Dim lights
Door sensor is closed
Door sensor is open
Door sensor is open or closed
Electric current goes above or below
Electric curtain is open or closed
Enable/disable the Child Lock of Thermostat
Enabled/disabled Child Lock of Thermostat
Fan 2 Blowing Mode
Fan 2 Nightlight
Fan 2 常夜灯設定
Fan 2 送風モード
fan 2 Fan Speed
Fan 2 Horizontal Oscillation
Fan 2 Vertical Oscillation
Fan 2 上下の首振り
Fan 2 左右の首振り
fan 2 風量
Fanlight on-off and speed setting
FanLight turned on or off
Hub 2's touch buttons pressed
Humidity drops below
Humidity goes above or below
Humidity rises above
Input incorrect password repetitiously
Leak detected
Leak detected
LED Strip Light Color
LED Strip Light On/Off
Light brightness goes above or below
Light turned on or off
Light turns to a specified colour
Lock
Lock status changed
Locked
Low Water Level of Diffuser
Make device sound an alarm or beep
Moisture detected
Motion detected or no motion detected
Open or close electric curtain
Open/close Blind Tilt
Opened
Pause vacuuming (Pause recharging)
Person is detected
Power changes
Power On/Off
Presence detected
Presence no longer detected
Press Remote Button on RF Bridge
RF Bridge Alarm activated
Robot status changed
Scene
Scene Controller pressed
Set a scene in a room
Set AC temperature
Set brightness for light
Set brightness for Smart Dimmer
Set color for light
Set color temperature for light
Set light brightness
Set light color
Set percentage of electric curtain
Set temperature
Set the security mode
Shake detected
Smart Dimmer turned on or off
Sound and light detected
Specific command
Start Cool Mode
Start cruise whole house
Start Heat Mode
Start purity in situ
Start purity whole house
Start recharging
Start vacuuming
Switch Mode
Switch off
Switch on
Switched off
Switched on
Temperature drops below
Temperature goes above or below
Temperature or humidity changes
Temperature rises above
Thermostat Mode changes
Thermostat turned on or off
Toggle Ceiling Light On/Off
Toggle lights on/off
Toggle On/Off
Trigger Command
Turn 1-Channel Plug on or off
Turn 1-Channel Switch on or off
Turn 2-Channel Plug on or off
Turn 2-Channel Switch on or off
Turn 3-Channel Plug on or off
Turn 3-Channel Switch on or off
Turn 4-Channel Plug on or off
Turn 4-Channel Switch on or off
Turn A/C off
Turn A/C on
Turn Bulb On/Off
Turn Ceiling Light On/Off
Turn off
Turn off appliance with Hub Plus IR remote
Turn off lights
Turn off oscillation function of fan
Turn on
Turn on appliance with Hub Plus IR remote
Turn on color loop
Turn on lights
Turn on or off device/group
Turn on or off light
Turn on or off Thermostat
Turn on or turn off diffuser
Turn on oscillation function of fan
Turn Plug off
Turn Plug on
Turn Smart Dimmer on or off
Unlock
Unlock the lock
Unlocked
Various AQIs goes above or below
Voltage goes above or below
Water Detector State
When Camera detects a motion event
Zigbee door sensor is open or closed
Zigbee Motion Sensor
Zigbee Wireless Switch Pressed
カーテンをコントロール
シーリングライトの明るさ
シーリングライトの色温度
シーリングライトをオン/オフ
シーン
テープライトのカラー
テープライトをオン/オフにする
トグルシーリングライト(オン/オフ)
トグル(オン/オフ)
ハウスツアーを開始する
ハブ2のタッチボタンを押す
ブラインドポールの開閉を設定
モード切替
ロック状態変更
ロボット状態変更
再充電する
加湿器をコントロール
動体が検出された、または検出されない
原位置除染を開始する
基地局への復帰を開始する
家全体の浄化を始める
扇風機をコントロール
気化式加湿器をコントロール
水拭きの水量を変更
水漏れセンサーの状態
清掃/再充電を一時停止
清掃する
温度・湿度の変化
遅延実行(オン/オフ)
開閉と動体を検知する
電源の変化
電源オン/オフ
電球のカラー
電球のプリセット
電球の明るさ
電球の色温度
電球をオン/オフにする
Build an automation in seconds!
You can add delays, queries, and more actions in the next step!
More on these services
About TRIGGERcmd
Run commands on your computers remotely
- Go to triggercmd.com and create an account
- Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
- Setup commands you want to run on the computer
Trigger your commands via IFTTT
Run commands on your computers remotely
- Go to triggercmd.com and create an account
- Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
- Setup commands you want to run on the computer
Trigger your commands via IFTTT
About SmartThings
SmartThings unlocks a new world of possibilities by letting you use your smartphone to control locks, lights, electronics, and the everyday things around you—wherever you are.
SmartThings unlocks a new world of possibilities by letting you use your smartphone to control locks, lights, electronics, and the everyday things around you—wherever you are.
About Smart Life
Smart Life provides extraordinary experience with your smart home appliances, including smart plugs, smart lights, air conditioners, humidifiers... As long as your device works with Smart Life, you'll be able to build automation tasks through IFTTT like turning on the living room light when you're back home.
Smart Life provides extraordinary experience with your smart home appliances, including smart plugs, smart lights, air conditioners, humidifiers... As long as your device works with Smart Life, you'll be able to build automation tasks through IFTTT like turning on the living room light when you're back home.
About SwitchBot
SwitchBot is your simple switch to a smart home. Thousands of IFTTT users are enjoying our button presser that mechanically turns any rocker switch and button on and off. Now we have Hub, Thermometer and Hygrometer, Smart Fan and more. Learn more by pressing the Buy link above.
SwitchBot is your simple switch to a smart home. Thousands of IFTTT users are enjoying our button presser that mechanically turns any rocker switch and button on and off. Now we have Hub, Thermometer and Hygrometer, Smart Fan and more. Learn more by pressing the Buy link above.
About Philips Hue
Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.
Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.
About eWeLink Smart Home
eWeLink is a smart home center that lets you control and manage your favorite smart devices from different brands in a single app.
eWeLink is a smart home center that lets you control and manage your favorite smart devices from different brands in a single app.