Open Virtual Contact Sensor 2
Other popular Hubitat workflows and automations
-
-
Arm Blink when Hubitat's mode changes
-
Set Fanimation device when your Habitat device turn off
-
Enable Energy Saver Mode on Smart Appliances
-
Tap to turn on a Hubitat device
-
If Roomba Gets Stuck Turn Off a Hubitat Device
-
Automatically turn off a Hubitat device when a specific user leaves a room and was last
-
Turn off a Hubitat device when Scout Alarm is dismissed
-
Lock a Hubitat device when Flic is clicked
Build your own Hubitat and TP-Link Kasa automations
Triggers (If this)
-
Device closes
This trigger fires when your Hubitat device closes.
-
Device opens
This trigger fires when your Hubitat device opens.
-
Device turns off
This trigger fires when your Hubitat device turns off.
-
Device turns on
This trigger fires when your Hubitat device turns on.
-
Mode changes
This trigger fires when the Hubitat mode changes.
-
Motion is detected
This trigger fires when new motion is detected.
-
Motion is no longer detected
This trigger fires when motion is no longer detected.
-
Presence is detected
This trigger fires every time your Hubitat device's presence is detected.
-
Presence is no longer detected
This trigger fires every time your Hubitat device's presence is no longer detected.
-
Temperature drops below
This trigger fires every time the temperature drops below the specified threshold.
-
Temperature rises above
This trigger fires every time the temperature rises above the specified threshold.
-
Water is detected
This trigger fires every time your Hubitat device detects water.
-
Water is no longer detected
This trigger fires every time your Hubitat device no longer detects water.

Device closes
This trigger fires when your Hubitat device closes.

Device opens
This trigger fires when your Hubitat device opens.

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

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

Mode changes
This trigger fires when the Hubitat mode changes.

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

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

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

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

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

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

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

Water is no longer detected
This trigger fires every time your Hubitat device no longer detects water.
Queries (With)
-
Recent history of device opens
This query returns a list of recent times when your Habitat device opened.
-
History of Mode changes
This query returns a list of when the Hubitat mode has changed.
-
History of Device turned off
This query returns a list of when your Hubitat device turned off.
-
Recent history of Device turns on
This query returns a list of recent Hubitat device turns on events.
-
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.

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

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

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

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

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.
Actions (Then that)
-
Turn on
This action will turn on a device.
-
Change Mode
This action will change Hubitat's mode.
-
Set speed level
This action will set speed level of devices such as fans.
-
Close a device
This action will close a Hubitat device.
-
Turn off
This action will turn off a selected device.
-
Dim a device
This action will change a device's dimmer level.
-
Toggle
This action will toggle a device.
-
Lock a device
This action will lock a Hubitat device.
-
Activate scene
This action will activate a selected Scene from your account.
-
Open a device
This action will open a Hubitat device.
-
Change brightness
This action will change the brightness of a light bulb.
-
Turn off a device
This action will turn off your Hubitat switches, lights, sirens, strobes, etc.
-
Change color
This action will change the color of a light bulb.
-
Turn on a device
This Action will turn on a device attached to your Hubitat Elevation system.
-
Change color temperature
This action will change the color temperature of a light bulb.
-
Unlock a device
This action will unlock a Hubitat device.

Turn on
This action will turn on a device.

Change Mode
This action will change Hubitat's mode.

Set speed level
This action will set speed level of devices such as fans.

Close a device
This action will close a Hubitat device.

Turn off
This action will turn off a selected device.

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

Toggle
This action will toggle a device.

Lock a device
This action will lock a Hubitat device.

Activate scene
This action will activate a selected Scene from your account.

Open a device
This action will open a Hubitat device.

Change brightness
This action will change the brightness of a light bulb.

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

Change color
This action will change the color of a light bulb.

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

Change color temperature
This action will change the color temperature of a light bulb.

Unlock a device
This action will unlock a Hubitat device.
How to connect Hubitat and TP-Link Kasa
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 TP-Link Kasa 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