When Contact Sensor detected door/window opened or closed or left open, the SwitchBot contact sensor will try to trigger the service.
- API endpoint slug
- switchbot.contact_trigger
Trigger fields
- Label
- Select a device
- Helper text
- Select a device
- Slug
- choose_a_device
- Required
- true
- Can have default value
- false
- Label
- Contact and Motion Detection
- Slug
- open_state
- Required
- true
- Can have default value
- true
- 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
- Label
- Ambient Brightness
- Slug
- brightness
- Required
- true
- Can have default value
- true
Ingredients
- Slug
- created_at
- Filter code
- Switchbot.contactTrigger.CreatedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
- Slug
- Content
- Filter code
- Switchbot.contactTrigger.Content
- Type
- String
- Example
- sensorTest open