Close Virtual Contact Sensor 2
Other popular Hubitat workflows and automations
-
-
Set Fanimation device when your Habitat device turn on
-
If Roomba Gets Stuck Turn Off a Hubitat Device
-
Change Hubitat's mode from your mobile device
-
Turn off a Hubitat device when Scout Alarm is dismissed
-
If Number 96 turns on, then Switch on Number 97
-
Tap to dim a Hubitat device
-
If Roomba's Bin Is Full Turn Off a Hubitat Device
-
Set Fanimation device when your Habitat device turn off
Build your own Hubitat and Smart Life automations
Triggers (If this)
-
Device or group is turned on
This trigger fires when the specified device/group is turned on.
-
Device closes
This trigger fires when your Hubitat device closes.
-
Device or group is turned off
This trigger fires when the specified device/group is turned off.
-
Device opens
This trigger fires when your Hubitat device opens.
-
Unlock the lock
This trigger fires when user unlocking the lock, his password or fingerprint identification or card is confirmed.
-
Device turns off
This trigger fires when your Hubitat device turns off.
-
Camera detects motion
This trigger fires when the specified camera detects motion. To use this trigger, camera’s motion detection should be turned on.
-
Device turns on
This trigger fires when your Hubitat device turns on.
-
Camera detects sound
This trigger fires when the specified camera detects sound. To use this trigger, camera’s sound detection should be turned on.
-
Mode changes
This trigger fires when the Hubitat mode changes.
-
Input incorrect password repetitiously
This trigger fires when someone input incorrect password repetitiously.
-
Motion is detected
This trigger fires when new motion is detected.
-
Battery low
This trigger fires when residual electricity in the lock under threshold.
-
Motion is no longer detected
This trigger fires when motion is no longer detected.
-
Door sensor is open
This trigger fires when the door sensor is open.
-
Presence is detected
This trigger fires every time your Hubitat device's presence is detected.
-
Door sensor is closed
This trigger fires when the door sensor is closed.
-
Presence is no longer detected
This trigger fires every time your Hubitat device's presence is no longer detected.
-
Person is detected
This trigger fires when PIR detects person.
-
Temperature drops below
This trigger fires every time the temperature drops below the specified threshold.
-
Leak detected
This trigger fires when water leak detected.
-
Temperature rises above
This trigger fires every time the temperature rises above the specified threshold.
-
Sound and light detected
This trigger fires when water sound and light detected.
-
Water is detected
This trigger fires every time your Hubitat device detects water.
-
Shake detected
This trigger fires when sensor shake detected
-
Water is no longer detected
This trigger fires every time your Hubitat device no longer detects water.

Device or group is turned on
This trigger fires when the specified device/group is turned on.

Device closes
This trigger fires when your Hubitat device closes.

Device or group is turned off
This trigger fires when the specified device/group is turned off.

Device opens
This trigger fires when your Hubitat device opens.

Unlock the lock
This trigger fires when user unlocking the lock, his password or fingerprint identification or card is confirmed.

Device turns off
This trigger fires when your Hubitat device turns off.

Camera detects motion
This trigger fires when the specified camera detects motion. To use this trigger, camera’s motion detection should be turned on.

Device turns on
This trigger fires when your Hubitat device turns on.

Camera detects sound
This trigger fires when the specified camera detects sound. To use this trigger, camera’s sound detection should be turned on.

Mode changes
This trigger fires when the Hubitat mode changes.

Input incorrect password repetitiously
This trigger fires when someone input incorrect password repetitiously.

Motion is detected
This trigger fires when new motion is detected.

Battery low
This trigger fires when residual electricity in the lock under threshold.

Motion is no longer detected
This trigger fires when motion is no longer detected.

Door sensor is open
This trigger fires when the door sensor is open.

Presence is detected
This trigger fires every time your Hubitat device's presence is detected.

Door sensor is closed
This trigger fires when the door sensor is closed.

Presence is no longer detected
This trigger fires every time your Hubitat device's presence is no longer detected.

Person is detected
This trigger fires when PIR detects person.

Temperature drops below
This trigger fires every time the temperature drops below the specified threshold.

Leak detected
This trigger fires when water leak detected.

Temperature rises above
This trigger fires every time the temperature rises above the specified threshold.

Sound and light detected
This trigger fires when water sound and light detected.

Water is detected
This trigger fires every time your Hubitat device detects water.

Shake detected
This trigger fires when sensor shake detected

Water is no longer detected
This trigger fires every time your Hubitat device no longer detects water.
Queries (With)
-
History of Leak detected
This query returns a list of times when the sensor detected a water leak.
-
Recent history of device opens
This query returns a list of recent times when your Habitat device opened.
-
History of when Door sensor was closed
This query returns a list of times when the door sensor was closed.
-
History of Mode changes
This query returns a list of when the Hubitat mode has changed.
-
History of when Door sensor was open
This query returns a list of times when the door sensor was open.
-
History of Device turned off
This query returns a list of when your Hubitat device turned off.
-
History of when a Person was detected
This query returns a list of when PIR detected person.
-
Recent history of Device turns on
This query returns a list of recent Hubitat device turns on events.
-
History of Device turned off
This query returns a list of times when the specified device/group was turned off.
-
History of temperature rises above
This query returns a list of when the temperature rises above the specified threshold. Note: this query will only return future events after this Applet is created.
-
History of Device was turned on
This query returns a list of when the specified device/group was turned on.
-
History of repetitious incorrect password alerts
This query returns a list of times when someone input an incorrect password repetitiously.
-
History of motion detections by Camera
This 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 sound
This 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 detected
This query returns a list of when sensor detected a shake
-
History of when lock unlocked
This 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 Detected
This query returns a list of when water sound or light were detected.
-
History of low Battery alerts
This 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.

History of Leak detected
This query returns a list of times when the sensor detected a water leak.

Recent history of device opens
This query returns a list of recent times when your Habitat device opened.

History of when Door sensor was closed
This query returns a list of times when the door sensor was closed.

History of Mode changes
This query returns a list of when the Hubitat mode has changed.

History of when Door sensor was open
This query returns a list of times when the door sensor was open.

History of Device turned off
This query returns a list of when your Hubitat device turned off.

History of when a Person was detected
This query returns a list of when PIR detected person.

Recent history of Device turns on
This query returns a list of recent Hubitat device turns on events.

History of Device turned off
This query returns a list of times when the specified device/group was turned off.

History of temperature rises above
This query returns a list of when the temperature rises above the specified threshold. Note: this query will only return future events after this Applet is created.

History of Device was turned on
This query returns a list of when the specified device/group was turned on.

History of repetitious incorrect password alerts
This query returns a list of times when someone input an incorrect password repetitiously.

History of motion detections by Camera
This 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 sound
This 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 detected
This query returns a list of when sensor detected a shake

History of when lock unlocked
This 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 Detected
This query returns a list of when water sound or light were detected.

History of low Battery alerts
This 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 on
This action will turn on the device/group of your choosing.
-
Change Mode
This action will change Hubitat's mode.
-
Turn off
This action will turn off the device/group of your choosing.
-
Close a device
This action will close a Hubitat device.
-
Activate Scene
This action will activate the specified scene.
-
Dim a device
This action will change a device's dimmer level.
-
Set light brightness
This action will set your light to a specified brightness.
-
Lock a device
This action will lock a Hubitat device.
-
Set light color
This action will set the light to specified color.
-
Open a device
This action will open a Hubitat device.
-
Start Cool Mode
This action will set your AC to Cool Mode.
-
Turn off a device
This action will turn off your Hubitat switches, lights, sirens, strobes, etc.
-
Start Heat Mode
This action will set your AC to Heat Mode.
-
Turn on a device
This Action will turn on a device attached to your Hubitat Elevation system.
-
Set AC temperature
This action will set your AC to a specified temperature by remote controller.
-
Unlock a device
This action will unlock a Hubitat device.
-
Turn on oscillation function of fan
This action will turn on the oscillation function of your fan by IR remote controller.
-
Turn off oscillation function of fan
This action will turn off the oscillation function of your fan by IR remote controller.

Turn on
This action will turn on the device/group of your choosing.

Change Mode
This action will change Hubitat's mode.

Turn off
This action will turn off the device/group of your choosing.

Close a device
This action will close a Hubitat device.

Activate Scene
This action will activate the specified scene.

Dim a device
This action will change a device's dimmer level.

Set light brightness
This action will set your light to a specified brightness.

Lock a device
This action will lock a Hubitat device.

Set light color
This action will set the light to specified color.

Open a device
This action will open a Hubitat device.

Start Cool Mode
This action will set your AC to Cool Mode.

Turn off a device
This action will turn off your Hubitat switches, lights, sirens, strobes, etc.

Start Heat Mode
This action will set your AC to Heat Mode.

Turn on a device
This Action will turn on a device attached to your Hubitat Elevation system.

Set AC temperature
This action will set your AC to a specified temperature by remote controller.

Unlock a device
This action will unlock a Hubitat device.

Turn on oscillation function of fan
This action will turn on the oscillation function of your fan by IR remote controller.

Turn off oscillation function of fan
This action will turn off the oscillation function of your fan by IR remote controller.
How to connect Hubitat and Smart Life
Find or create an Applet
Start by discovering an automation to connect or customizing your own. It's quick and easy.Connect IFTTT to your accounts
Securely connect your Hubitat and Smart Life accounts.Finalize and customize your Applet
Review your trigger and action settings. Your Applet is ready to go!
IFTTT helps all your apps and devices work better together