Explore Plans
Mobile menu Close menu
SwitchBotSwitchBot

Contact and Motion Detection

When Contact Sensor detected door/window opened or closed or left open, the SwitchBot contact sensor will try to trigger the service.

Developer info

API endpoint slug
switchbot.contact_trigger

Trigger fields

Choose a device Dropdown list

Label
Select a device
Helper text
Select a device
Slug
choose_a_device
Required
true
Can have default value
false

Open state Dropdown list

Label
Contact and Motion Detection
Slug
open_state
Required
true
Can have default value
true

Nobody min Text input > Other

Label
Set the time of no motion detected
Helper text
The time can be only set from 1 to 30 minutes.
Slug
nobody_min
Required
true
Can have default value
true

Brightness Dropdown list

Label
Ambient Brightness
Slug
brightness
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

Slug
created_at
Filter code
Switchbot.contactTrigger.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

ContentContent

Slug
Content
Filter code
Switchbot.contactTrigger.Content
Type
String
Example
sensorTest open